Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147889

Summary: x11-misc/googleearth broken digest
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ta2002 2006-09-17 00:14:47 UTC
Not something that affects many packages, but ones like googleearth (where upstream frequently releases updates with the same name) can cause a problem.

# emerge -pv googleearth

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-misc/googleearth-4_beta  2,688 kB

Total size of downloads: 2,688 kB


# emerge -v googleearth
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-misc/googleearth-4_beta to /
>>> Resuming download...
>>> Downloading 'http://dl.google.com/earth/GE4/GoogleEarthLinux.bin'
--06:09:22--  http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
           => `/usr/portage/distfiles/GoogleEarthLinux.bin'
Resolving dl.google.com... 66.249.93.91, 66.249.93.93
Connecting to dl.google.com|66.249.93.91|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 19,786,344 (19M), 2,752,691 (2.6M) remaining [application/octet-stream]
Remote file is newer, retrieving.
--06:09:22--  http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
           => `/usr/portage/distfiles/GoogleEarthLinux.bin'
Reusing existing connection to dl.google.com:80.
HTTP request sent, awaiting response... 206 Partial Content
Length: 19,786,344 (19M), 2,752,691 (2.6M) remaining [application/octet-stream]

86% [+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++              ] 17,121,884    13.11K/s    ETA 03:23

Exiting on signal 2


No need to see the rest of that (I assume it would download the last 2.6M of the latest version and portage would emerge when the digest didn't match).


I don't really know the best (or even any good) way to handle this. I can't think of any way of doing a partial check, or any way of deleting partial content without also deleting it in cases of temporary network failure (when you want wget to resume). Maybe some way exists of warning the user to delete the old file before the download starts. Obviously, no one likes changes without a version update.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 00:44:21 UTC
Retarded upstream providing non-versioned files is not a portage issue.


*** This bug has been marked as a duplicate of 139544 ***