Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177972 - x11-misc/googleearth-4.1 version bump
Summary: x11-misc/googleearth-4.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
: GoogleEarthLinux.bin 180043 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-10 21:32 UTC by Heiko Baums
Modified: 2007-05-27 21:03 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Google Earth 4.1 ebuild (googleearth-4.1.ebuild,2.02 KB, text/plain)
2007-05-22 23:22 UTC, Michael Lelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Baums 2007-05-10 21:32:05 UTC
x11-misc/googleearth-4 can't be downloaded due to wrong filesize.

>>> Emerging (1 of 1) x11-misc/googleearth-4 to /
>>> Downloading 'http://dl.google.com/earth/GE4/GoogleEarthLinux.bin'
--23:16:40--  http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
           => `/usr/portage/distfiles/GoogleEarthLinux.bin'
Resolving dl.google.com... 209.85.135.91
Connecting to dl.google.com|209.85.135.91|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23.852.601 (23M) [application/octet-stream]

100%[====================================================================================================================>] 23.852.601   238.15K/s    ETA 00:00

23:18:20 (232.72 KB/s) - `/usr/portage/distfiles/GoogleEarthLinux.bin' saved [23852601/23852601]

('Filesize does not match recorded size', 23852601L, 21607408)
!!! Fetched file: GoogleEarthLinux.bin VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      23852601
!!! Expected: 21607408
Removing corrupt distfile...
!!! Couldn't download 'GoogleEarthLinux.bin'. Aborting.

!!! Fetch for /usr/portage/x11-misc/googleearth/googleearth-4.ebuild failed, continuing...



!!! Some fetch errors were encountered.  Please see above for details.

   x11-misc/googleearth-4
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-10 22:05:58 UTC
There's nothing like retarded upstream changing versions without changing the filename. :X
Comment 2 Heiko Baums 2007-05-10 22:14:48 UTC
I think so but someday a part of this bigger file could also be a piece of software which I don't like to have on my computer. So I think it's better to report such errors. :X
Comment 3 Heiko Baums 2007-05-11 06:40:10 UTC
I just want to add that an `ebuild googleearth-4.ebuild digest` doesn't help. I'm still getting the same error.
Comment 4 Michel van Putten 2007-05-12 21:18:15 UTC
For me: 

ebuild /usr/portage/x11-misc/googleearth/googleearth-4.ebuild digest

solves the file mismatch issue. But after that bug 177984 comes up, wich is imho due to changes in the .bin file.
Comment 5 Heiko Baums 2007-05-13 00:49:13 UTC
The problem is that this error message doesn't seem to come from portage but from wget (I'm not quite sure in this point) and this file is not saved in /usr/portage/distfiles as it is done with any other files downloaded by wget if it's invoked by emerge.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-05-21 17:27:26 UTC
*** Bug 179318 has been marked as a duplicate of this bug. ***
Comment 7 Michael Lelli 2007-05-22 23:22:00 UTC
Created attachment 120043 [details]
Google Earth 4.1 ebuild

Pretty much edited around the problems with the postinit scripts causing access violation errors. I must have spent about three hours trying to hack around them before figuring out it would be much easier to let the ebuild insert them. :(
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-23 00:12:21 UTC
wow, I wonder why I did not have this simple idea. Thank you very much, committed :)
Comment 9 Michael Lelli 2007-05-23 01:32:07 UTC
Shouldn't the ebuild to bumped to 4.1? This is a new version after all.
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-23 07:22:42 UTC
This thing cannot be bumped because the tarball always has the same name. So when you update you need to update yourself manually.

An automatic update cannot work because the old download will be too big and portage will abort or portage will try to resume on top of the old tarball and fail the md5 check. Really portage does not have support for such an update and thus it needs to be done manually.
Comment 11 FieldySnuts 2007-05-23 14:31:57 UTC
Okay, so to be clear, what a user needs to do is unmerge (emerge -C) and then emerge googleearth?
Comment 12 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-23 15:23:00 UTC
No, a user needs to remove the distfile and then remerge googleearth
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-05-27 21:03:55 UTC
*** Bug 180043 has been marked as a duplicate of this bug. ***