Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 191140
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefan Schweizer <genstef@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Petteri Räty <betelgeuse@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 191140 depends on: Show dependency tree
Bug 191140 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-03 11:01 0000
4.2 is out. I tried to find a direct download link but couldn't. Any way the
file name is the same so I think we probably should fetch restrict this one and
tell people to rename the file.

------- Comment #1 From Samuli Suominen 2007-09-03 11:02:44 0000 -------
It's allready bumped, digests of current googleearth in Portage matches the 4.2
release.

------- Comment #2 From Samuli Suominen 2007-09-03 11:04:11 0000 -------

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

------- Comment #3 From Petteri Räty 2007-09-03 11:23:07 0000 -------
(In reply to comment #1)
> It's allready bumped, digests of current googleearth in Portage matches the 4.2
> release.
> 

I checked with the integrated update manager and it's not the latest version:

Currently installed version: 4.1.7076.4458
New version: 4.2.180.1134

------- Comment #4 From Stefan Schweizer 2007-09-03 11:44:43 0000 -------
well then do it better and commit what you think is needed. I have the right
version in my about screen.

------- Comment #5 From Jouni Rinne 2007-09-03 12:15:23 0000 -------
Google's habit of naming the files the same irrespective of the version makes
things difficult. I think the only way to make sure the latest version is
installed is to remove the old file from /usr/portage/distfiles before
(re)running 'emerge googleearth'. I know it's an ugly hack, but can it be done
via the ebuild? 

------- Comment #6 From Jakub Moc (RETIRED) 2007-09-03 14:03:24 0000 -------
(In reply to comment #5)
> I think the only way to make sure the latest version is
> installed is to remove the old file from /usr/portage/distfiles before
> (re)running 'emerge googleearth'. I know it's an ugly hack, but can it be done
> via the ebuild? 

No, this no way can be done via ebuild. Complain to Google.


------- Comment #7 From Martin Väth 2007-09-03 18:25:18 0000 -------
May I perhaps suggest to change the gentoo version number (at least the -r?
number) whenever the digest changes?
This way one would get informed when a new googleearth version is out.
Especially for computers which can be online only temporary, it is rather
annoying if one only sees during emerge -e world that one should have
downloaded a new version of googleearth.

You might still keep the previous ebuild in the tree for a while (even if - as
I suppose - the digest must change also for the previous version) so that
people not wanting to upgrade can then simply mask the new version and do not
need to emerge/download it unless they explicitly require it.

------- Comment #8 From Jakub Moc (RETIRED) 2007-09-04 02:29:35 0000 -------
(In reply to comment #7)

You cannot have multiple different checksums for identically named file, won't
work. So no, you cannot have multiple ebuild versions in the tree ATM either.
The only solution is to finally stick RESTRICT=fetch into the ebuild and let
people rename the file after download. 

------- Comment #9 From Phillip Berndt 2007-09-05 20:59:58 0000 -------
Ok, since this bug is reopened and noone seems to take notice of bug #189827
I'll summarize what I posted there:

1) The current version number is 4.2, not 4. Please rename the ebuild. See
#189827 for reasons
2) There IS a direct link to the current version,
http://dl.google.com/earth/client/GE4/release2/GoogleEarthLinux.bin

For your file problem: Exploit bug #174704 and append ?gentooversion=4.2 to the
URL. Google's webserver doesn't mind but you avoid the problem with distfiles/.

------- Comment #10 From Jakub Moc (RETIRED) 2007-09-12 07:26:56 0000 -------
*** Bug 192255 has been marked as a duplicate of this bug. ***

------- Comment #11 From Alex Barker 2007-09-13 00:47:12 0000 -------
cd /usr/portage/distfiles
rm GoogleEarth*
wget http://dl.google.com/earth/client/GE4/release2/GoogleEarthLinux.bin
cd /usr/portage/x11-misc/googleearth/
ebuild googleearth-4.ebuild digest

Works.

Ebuild is still borked due to wrong file download....  Hopefully mirrors will
refresh shortly?

------- Comment #12 From Jesse Adelman 2007-09-23 01:25:55 0000 -------
While version bump on the ebuild would be nice, purging
/usr/portage/distfiles/GoogleEarthLinux.bin and re-emerging does the trick for
me. :)

------- Comment #13 From Stefan Schweizer 2007-10-13 11:51:43 0000 -------
I noticed emerge now handles wrong digests intelligently with renaming and
refetching.

The emerge is no longer aborted and the user no longer annoyed, so I just went
ahead and use the full version number from now on :)

Have fun with it!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug