Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50460 - Cannot upgrade mc-4.6.0-r5 to mc-4.6.0-r7, digest dont match
Summary: Cannot upgrade mc-4.6.0-r5 to mc-4.6.0-r7, digest dont match
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
: 50478 50824 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-08 08:33 UTC by Behrang Gilanpour
Modified: 2004-05-12 04:21 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Behrang Gilanpour 2004-05-08 08:33:47 UTC
I ran emerge sync

then tried to do emerge -u mc ... and digest doesnt match

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -u mc
Actual Results:  
# emerge -up mc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] app-misc/mc-4.6.0-r7 [4.6.0-r5]

# emerge -u mc
Calculating dependencies ...done!
>>> emerge (1 of 1) app-misc/mc-4.6.0-r7 to /
>>> md5 src_uri ;-) mc-4.6.0.tar.gz

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: f5053361d1936b3e4187857daf0cc6cb
>>>  your file's digest: f76f877be6e367a2e8a207074e02fc4a
!!! File does not exist: /usr/portage/distfiles//mc-4.6.0-sambalib-
3.0.0.patch.bz2

#


Expected Results:  
That files should be there, and that the upgrade would work? :)
Comment 1 Sven Wegener gentoo-dev 2004-05-08 08:55:53 UTC
/usr/portage/app-misc/mc/files/digest-mc-4.6.0-r6
MD5 dda658d40601e29e3478ba48c3d9490e mc-4.6.0-sambalib-3.0.0.patch.bz2 399778

/usr/portage/app-misc/mc/files/digest-mc-4.6.0-r7
MD5 f5053361d1936b3e4187857daf0cc6cb mc-4.6.0-sambalib-3.0.0.patch.bz2 399920

different size and digest. the bump to -r7 was made 5 hours ago, maybe the
new version takes time to propagate to the mirrors.
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-05-08 16:43:51 UTC
*** Bug 50478 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Waschbuesch 2004-05-09 00:19:08 UTC
In those cases make sure You deleted the old patch source in /usr/portage/distfiles and retry.
Comment 4 Sven Wegener gentoo-dev 2004-05-09 00:24:06 UTC
seems the new file has been progagated to the mirrors, digest match here now
Comment 5 Behrang Gilanpour 2004-05-09 03:46:17 UTC
I just did an emerge sync, and then emerge -u mc. Problem is still there... Maybe my mirror hasnt updated it's files yet.
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2004-05-09 04:43:33 UTC
i had to edit the patch, just wait until the mirrors have it
Comment 7 Behrang Gilanpour 2004-05-11 05:23:54 UTC
It's been two days, and emerge -u mc still doesnt work.

I use mirror 130.230.54.99 for syncing...

# emerge -u mc
Calculating dependencies ...done!
>>> emerge (1 of 1) app-misc/mc-4.6.0-r7 to /
>>> md5 src_uri ;-) mc-4.6.0.tar.gz

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: f5053361d1936b3e4187857daf0cc6cb
>>>  your file's digest: f76f877be6e367a2e8a207074e02fc4a
!!! File does not exist: /usr/portage/distfiles//mc-4.6.0-sambalib-3.0.0.patch.bz2
Comment 8 Rumen Yotov 2004-05-11 11:03:21 UTC
Hi All,
I've the same problem, but i've also seen that there are two // in the path to /usr/portage/distfiles//mc-4.6.0-sambalib-3.0.0.patch.bz2
see here ---------------------^^
It's the same in my case. Think it's not normal.
Tried to tweak the ebuild but no success.
HTH.
Rumen
Comment 9 Robert Muchacki (RETIRED) gentoo-dev 2004-05-11 13:23:36 UTC
The double "//" is normal - it doesn't brake anything.

The problem is (I think) that you need to delete the related samba patch file from /usr/portage/distfiles.
Comment 10 Behrang Gilanpour 2004-05-11 13:25:59 UTC
That would probably work, but it's not a permanent solution to the problem. Its a trick-fix :/
Comment 11 Behrang Gilanpour 2004-05-12 01:58:02 UTC
Even though the file exists, portage insists on it not beeing there...

-
!!! File does not exist: /usr/portage/distfiles//mc-4.6.0-sambalib-3.0.0.patch.bz2

# ls -la /usr/portage/distfiles//mc-4.6.0-sambalib-3.0.0.patch.bz2
-rw-rw-r--    1 root     portage    399920 May  8 13:06 /usr/portage/distfiles//mc-4.6.0-sambalib-3.0.0.patch.bz2
-
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2004-05-12 04:21:31 UTC
*** Bug 50824 has been marked as a duplicate of this bug. ***
Comment 13 Heinrich Wendel (RETIRED) gentoo-dev 2004-05-12 04:21:59 UTC
sorry for that, the patches are identical, only a line break is missing, didn't think about the digest. this should be fixed now with mc-4.6.0-sambalib-3.0.0-r1.patch.bz2