| View previous topic :: View next topic |
| Author |
Message |
lyallp Veteran


Joined: 15 Jul 2004 Posts: 1070 Location: Adelaide/Australia
|
Posted: Sat Mar 29, 2008 11:11 am Post subject: [Solved]/sun-jdk-1.5.0.15-r1.ebuild : Digest Verify failed |
|
|
| Code: | >>> Verifying ebuild Manifests...
!!! Digest verification failed:
!!! /portage/Repository/dev-java/sun-jdk/sun-jdk-1.5.0.15-r1.ebuild
!!! Reason: Failed on RMD160 verification
!!! Got: 751637964edd458f00c9c72de8f5375eabaf9004
!!! Expected: c7268656bf1adccafde5dd9c1104c5a12905b1dc
|
I figured it was just my local mirror in the middle of a sync, but no.
I removed the timestamp in portage this morning, did another sync this evening, and it's still out of whack.
Am I the only one suffering this?
Examination of the ebuild shows that it is
| Code: | # ChangeLog for dev-php5/pecl-apc
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.39 2008/03/28 19:19:42 hoffie Exp $
|
rather than something like the previous versions ebuild...
| Code: | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.5.0.15.ebuild,v 1.3 2008/03/27 19:28:21 maekke Exp $
|
So, something has gone amiss somewhere. _________________ ...Lyall
Last edited by lyallp on Tue Apr 01, 2008 1:08 pm; edited 1 time in total |
|
| Back to top |
|
 |
ToeiRei Veteran


Joined: 03 Jan 2005 Posts: 1113 Location: Austria
|
Posted: Sat Mar 29, 2008 11:30 am Post subject: |
|
|
just had the same problem here.
A temp. fix would be: ebuild /path/to/ebuild digest
Rei _________________ Blog | btrfs | Please stand by - The mailer daemon is busy burning your messages in hell... |
|
| Back to top |
|
 |
GlenCollins n00b

Joined: 11 Apr 2006 Posts: 53 Location: Australia
|
Posted: Sat Mar 29, 2008 12:22 pm Post subject: |
|
|
Am just having the same issue here. Did same as lyallp and sync'd twice today, once earlier and then more recently in an attempt to fix the issue.
Have never played with ebuild before, and would prefer to wait for fixed portage/sync (have a working system now and don't want to delve into the unknown if not needed. System working fine without world update at the moment )
Just wondering if someone is looking into this as maybe the error could filter through to all users who sync shortly.
Just tried sync with some different SYNC servers set but just ended up with errors like:
| Code: | receiving file list ... rsync: link_stat "/metadata/timestamp.chk" (in gentoo) failed: No such file or directory (2)
done |
so I don't know if this is just a timestamp issue for me only, or if it's a broader sync issue (e.g. as experienced back in 03 http://forums.gentoo.org/viewtopic-t-123909-postdays-0-postorder-asc-start-0.html)
Anyway, hope this has at least raises it with someone who knows how to resolve it. |
|
| Back to top |
|
 |
Quincy Apprentice


Joined: 02 Jun 2005 Posts: 159 Location: Germany
|
Posted: Sat Mar 29, 2008 2:21 pm Post subject: |
|
|
| I have the same problem. Synced about 12 hours ago twice and now again, but the problem still remains... |
|
| Back to top |
|
 |
mcukstorm n00b

Joined: 19 May 2005 Posts: 4
|
Posted: Sat Mar 29, 2008 2:25 pm Post subject: |
|
|
I had the same problem, i resolved it by deleting my portage directory (/usr/portage) downloading the latest snapshot from my local mirror and extracting it as per the initial install instructions ( http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5#doc_chap3 )
After that i sync'd and everything is up to date and running ok.
Hope this helps,
mcukstorm |
|
| Back to top |
|
 |
SethGecko n00b

Joined: 15 Nov 2002 Posts: 10 Location: Leipzig
|
Posted: Sat Mar 29, 2008 4:06 pm Post subject: |
|
|
| Same problem here. I'm still kinda reluctant to simply erase the entire /usr/portage directory, but not because any better way out... Would it suffice to just remove the offending ebuild and sync again? |
|
| Back to top |
|
 |
Henno n00b


Joined: 14 Nov 2002 Posts: 29 Location: Germany
|
Posted: Sat Mar 29, 2008 5:03 pm Post subject: |
|
|
Removing the ebuild and resyncing did not help me. I even deleted the whole dir and resynct - to no avail.
The next thing I'll try is re-digesting, as described near the top of this thread. |
|
| Back to top |
|
 |
sam_i_am Tux's lil' helper


Joined: 19 Sep 2003 Posts: 120
|
Posted: Sat Mar 29, 2008 5:44 pm Post subject: |
|
|
I also have the same problem. But, I'm a bit reluctant to re-digest as that kind of defeats the purpose of having digests. So, I'll just wait until there is an update in portage.
Sam |
|
| Back to top |
|
 |
Quincy Apprentice


Joined: 02 Jun 2005 Posts: 159 Location: Germany
|
Posted: Sat Mar 29, 2008 7:04 pm Post subject: |
|
|
| Redigesting works for me, but i haven't installed the problematic ebuild, but the 1.6 version, so there was only the problem of portage not continuing. |
|
| Back to top |
|
 |
mstockin n00b


Joined: 02 Jul 2004 Posts: 10 Location: Passau, Germany
|
Posted: Sat Mar 29, 2008 8:18 pm Post subject: |
|
|
I deleted the "sun-jdk-1.5.0.15-r1.ebuild" and deleted the line dealing with "sun-jdk-1.5.0.15-r1.ebuild" in the Manifest.
After that I also have to delete the following files from the portage tree:
dev-java/sun-jdk/ChangeLog
dev-java/sun-jre-bin/ChangeLog
After that I could update java. |
|
| Back to top |
|
 |
krinkle Guru


Joined: 04 Feb 2003 Posts: 338 Location: Garden Grove, CA
|
Posted: Sat Mar 29, 2008 9:24 pm Post subject: |
|
|
It looks like the checksums in the Manifest file didn't get updated... it's the lines for" EBUILD sun-jdk-1.5.0.15-r1.ebuild 4471 RMD160" and "MISC ChangeLog" in /usr/portage/dev-java/sun-jdk/Manifest. I'm just manually changing the files to contain the correct checksum at the moment (just replace the search for the "expected" checksum when emerge dies and swap it with what it said it "got")
Anyone know a way to regenerate the Manifest automatically?
update: had to do the same thing in /usr/portage/dev-java/sun-jre-bin/Manifest |
|
| Back to top |
|
 |
lyallp Veteran


Joined: 15 Jul 2004 Posts: 1070 Location: Adelaide/Australia
|
Posted: Sat Mar 29, 2008 11:11 pm Post subject: |
|
|
It strikes me that someone has put the wrong file into portage.
Re-digesting will not do you any good.
I guess a bug will have to be raised in bugzilla. _________________ ...Lyall |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 427 Location: Hokkaido Japan
|
Posted: Sun Mar 30, 2008 3:13 am Post subject: |
|
|
| lyallp wrote: | It strikes me that someone has put the wrong file into portage.
Re-digesting will not do you any good.
I guess a bug will have to be raised in bugzilla. |
Here the bug and it's resolution:
http://bugs.gentoo.org/show_bug.cgi?id=215288
Cheers, |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 427 Location: Hokkaido Japan
|
Posted: Sun Mar 30, 2008 3:46 am Post subject: the fix |
|
|
This seems to work for me:
set SYNC in /etc/make.conf
| Code: | vim /etc/make.conf
SYNC="rsync://hawk.gentoo.org/gentoo-portage" |
Get rid of the bad files:
| Code: | rm -rf /usr/portage/dev-java/sun-jdk/*
rm -rf /usr/portage/dev-java/sun-jre-bin/*
emerge --sync |
Then you should be OK.
Cheers, |
|
| Back to top |
|
 |
lyallp Veteran


Joined: 15 Jul 2004 Posts: 1070 Location: Adelaide/Australia
|
Posted: Sun Mar 30, 2008 5:29 am Post subject: |
|
|
Ok, so the problem has been resolved on the root servers, it has not been resolved on mirrors.
In particular, mirror.internode.on.net/gentoo-portage
I guess Internode only do a sync once a day, so I will wait some more.
I don't use the gentoo mirror, for a couple of reasons, one being that my ISP mirror does not count towards my download limit, and two, I seem to recall a request that people not use the main mirror for their daily updates, to reduce the bandwidth costs for the gentoo site. _________________ ...Lyall |
|
| Back to top |
|
 |
newtonian Guru


Joined: 19 Jan 2005 Posts: 427 Location: Hokkaido Japan
|
Posted: Sun Mar 30, 2008 6:23 am Post subject: |
|
|
| lyallp wrote: | Ok, so the problem has been resolved on the root servers, it has not been resolved on mirrors.
In particular, mirror.internode.on.net/gentoo-portage
I guess Internode only do a sync once a day, so I will wait some more.
I don't use the gentoo mirror, for a couple of reasons, one being that my ISP mirror does not count towards my download limit, and two, I seem to recall a request that people not use the main mirror for their daily updates, to reduce the bandwidth costs for the gentoo site. |
Agreed. This would be a better solution:
set SYNC in /etc/make.conf, comment out your current SYNC variable.
| Code: | vim /etc/make.conf
#SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
SYNC="rsync://hawk.gentoo.org/gentoo-portage" |
Get rid of the bad files:
| Code: | rm -rf /usr/portage/dev-java/sun-jdk/*
rm -rf /usr/portage/dev-java/sun-jre-bin/*
emerge --sync |
Be kind and revert back to your local mirror:
| Code: | vim /etc/make.conf
#SYNC="rsync://hawk.gentoo.org/gentoo-portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" |
Or if you're not in Asia run this to add your nearest rsync mirror:
| Code: | | mirrorselect -i -r -o >> /mnt/gentoo/etc/make.conf |
Don't forget to remove the old hawk.gentoo.org sync from make.conf
If you have more than 1 gentoo system, I'd recommend setting up your own rsync mirror:
http://www.gentoo.org/doc/en/rsync.xml
Cheers, |
|
| Back to top |
|
 |
lyallp Veteran


Joined: 15 Jul 2004 Posts: 1070 Location: Adelaide/Australia
|
Posted: Sun Mar 30, 2008 7:13 am Post subject: |
|
|
Curiously enough, what you described is what I did, except for the mirrorselect bit and possibly having to remove a timestamp file.
 _________________ ...Lyall |
|
| Back to top |
|
 |
GlenCollins n00b

Joined: 11 Apr 2006 Posts: 53 Location: Australia
|
Posted: Sun Mar 30, 2008 12:26 pm Post subject: |
|
|
Thanks for link and info newtonian, worked a treat and am updating world successfully now.
Thanks for posting originally lyallp, is this now [Solved] ? |
|
| Back to top |
|
 |
chieflilal n00b


Joined: 02 Mar 2006 Posts: 6 Location: Michigan, USA
|
Posted: Sun Mar 30, 2008 8:45 pm Post subject: |
|
|
| I'm still pulling the same error off of rsync21.us.gentoo.org as of 4:30pm Sunday, Michigan time. You would think by now the fix would have propagated through the mirrors. |
|
| Back to top |
|
 |
lyallp Veteran


Joined: 15 Jul 2004 Posts: 1070 Location: Adelaide/Australia
|
Posted: Sun Mar 30, 2008 9:00 pm Post subject: |
|
|
Problem still persists on my mirror in Australia.
Of course, I had to delete the files for rsync to figure out that my copy was different to my mirror (I have previously synced against the gentoo system)
I don't think it's going to go away until the file changes. I think someone on the gentoo system needs to touch the file to prompt rsync to replicate it out. _________________ ...Lyall |
|
| Back to top |
|
 |
lyallp Veteran


Joined: 15 Jul 2004 Posts: 1070 Location: Adelaide/Australia
|
Posted: Tue Apr 01, 2008 1:08 pm Post subject: |
|
|
Problem has gone away. _________________ ...Lyall |
|
| Back to top |
|
 |
|