Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mozilla-source.tar.bz2: message digests do not match!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jjj
n00b
n00b


Joined: 03 Dec 2002
Posts: 23

PostPosted: Thu Feb 13, 2003 9:00 am    Post subject: mozilla-source.tar.bz2: message digests do not match! Reply with quote

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
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Thu Feb 13, 2003 9:13 am    Post subject: Reply with quote

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
View user's profile Send private message
jagerman
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 104
Location: Vancouver, BC, Canada

PostPosted: Thu Feb 13, 2003 9:44 am    Post subject: Reply with quote

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
View user's profile Send private message
hhaamu
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 253
Location: Finland

PostPosted: Thu Feb 13, 2003 9:50 am    Post subject: Reply with quote

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
View user's profile Send private message
jagerman
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 104
Location: Vancouver, BC, Canada

PostPosted: Thu Feb 13, 2003 11:37 am    Post subject: Reply with quote

I seem to remember it only does a partial CVS update; not a full source tree update.
Back to top
View user's profile Send private message
green sun
Guru
Guru


Joined: 04 Nov 2002
Posts: 325
Location: Wista, MA

PostPosted: Thu Feb 13, 2003 12:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lasker
Guru
Guru


Joined: 17 Jul 2002
Posts: 445

PostPosted: Wed Mar 12, 2003 7:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum