View previous topic :: View next topic |
Author |
Message |
jjj n00b
Joined: 03 Dec 2002 Posts: 23
|
Posted: Thu Feb 13, 2003 9:00 am Post subject: mozilla-source.tar.bz2: message digests do not match! |
|
|
Hello,
When I try to 'emerge phoenix-cvs' from portage I've this error :
100%[============================>] 31,032,631 62.42K/s ETA 00:00
09:43:48 (62.42 KB/s) - « /usr/portage/distfiles/mozilla-source.tar.bz2
» saved [31032631]
!!! mozilla-source.tar.bz2: message digests do not match!
!!! mozilla-source.tar.bz2 is corrupt or incomplete.
>>> our recorded digest: a06e4626c08427211af4d5c2b2c5d92d
>>> your file's digest: fad97d009709a81cfaba9568740169eb
>>> Please delete /usr/portage/distfiles/mozilla-source.tar.bz2 and refe
tch.
thanks ! |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Thu Feb 13, 2003 9:13 am Post subject: |
|
|
Well generally this means that you did a corrupt download. Basically portages' md5sum and the packages do not match, so portage stops. Try re-fetching the package, and then if it happens again verify the md5sum manually if you are certain it is correct and place it in the correct digest file, /usr/portage/cat/pkg/files/package-name.digest |
|
Back to top |
|
|
jagerman Tux's lil' helper
Joined: 27 Jun 2002 Posts: 104 Location: Vancouver, BC, Canada
|
Posted: Thu Feb 13, 2003 9:44 am Post subject: |
|
|
The phoenix-cvs ebuild does not have an _official_ mozilla-source.tar.bz2 - the problem being that the downloadable mozilla-source.tar.bz2 file is simply a snapshot of the current mozilla code.
Delete the file from /usr/portage/distfiles, then do:
emerge -f phoenix-cvs
That will make sure you have the most recent mozilla-source.tar.bz2 file. After that has been downloaded, run these two commands:
rm -f /usr/local/portage/net-www/phoenix-cvs/files/digest-phoenix-cvs-0.5-r1
ebuild /usr/local/portage/net-www/phoenix-cvs/phoenix-cvs-0.5-r1.ebuild digest
Then 'emerge phoenix-cvs', and you should be flying. (Note, however, that on any random day, phoenix-cvs may not be compilable, stable, etc. If you want a stable version of phoenix, get the regular phoenix ebuild. That said, phoenix-cvs is working quite well for me.) |
|
Back to top |
|
|
hhaamu Apprentice
Joined: 23 Aug 2002 Posts: 253 Location: Finland
|
Posted: Thu Feb 13, 2003 9:50 am Post subject: |
|
|
Actually this is enough for the phoenix-cvs ebuild:
Code: | ebuild /usr/local/portage/net-www/phoenix-cvs/phoenix-cvs-0.5-r1.ebuild digest |
After that, it'll sync the mozilla-source tarball with the cvs source when emerging. |
|
Back to top |
|
|
jagerman Tux's lil' helper
Joined: 27 Jun 2002 Posts: 104 Location: Vancouver, BC, Canada
|
Posted: Thu Feb 13, 2003 11:37 am Post subject: |
|
|
I seem to remember it only does a partial CVS update; not a full source tree update. |
|
Back to top |
|
|
green sun Guru
Joined: 04 Nov 2002 Posts: 325 Location: Wista, MA
|
Posted: Thu Feb 13, 2003 12:40 pm Post subject: |
|
|
How to fix this (as posted above, but since Im doing it right now)
1. Clear out /usr/portage/distfiles
If you don't want to get rid of everything, delete mozilla source bz2 file.
2. Go to /usr/local/portage/net-www/phoenix-cvs (or where ever you put the phoenix-cvs ebuild) & run
Code: |
ebuild <phoenix-cvs ebuild file> digest
|
This will download the mozilla-sources.bz2 file from CVS & generate the digest/md5 checksum for you. The long part is the dl (its about 31MB right now)
3. Run emerge <phoenix-cvs ebuild file> & everything should be fine now.
Its important to note that if you don't get rid of the mozilla-sources in /usr/portage/distfiles , the ebuild - digest command will generate a digest based on that file... so you need to follow these steps every time you want to build a new phoenix. |
|
Back to top |
|
|
Lasker Guru
Joined: 17 Jul 2002 Posts: 445
|
Posted: Wed Mar 12, 2003 7:52 pm Post subject: |
|
|
Just run into the same problem.
The difference is, that (after a fresh gentoo install) I didn't try to emerge phoenix-cvs but simply the most recent mozilla (-r5).
After that I got the same error message then jjj, I even remember the same leading and ending numbers of the digest lines.
Removing the sources from distfiles and re-downloading or building the digest by hand did not help. I tried this several times. |
|
Back to top |
|
|
|