View previous topic :: View next topic |
Author |
Message |
rlittle Apprentice
Joined: 17 Dec 2003 Posts: 200
|
Posted: Fri Oct 10, 2008 5:11 am Post subject: cups-1.3.8-r1 fails to emerge. Sizes do not match [SOLVED] |
|
|
Am I the only one this is happening to? Emerge cups fails with the following message:
Code: | * checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking cups-1.3.8-source.tar.bz2 ;-) ... [ !! ]
!!! Digest verification failed:
!!! /usr/portage/distfiles/cups-1.3.8-source.tar.bz2
!!! Reason: Filesize does not match recorded size
!!! Got: 3978390
!!! Expected: 3978466
|
I've downloaded the tar ball manually, and no matter where or when I find it, the filesize is 3978390 bytes. But if I check the /usr/portage/net-print/cups/Manifest the checksum description is:
Code: | DIST cups-1.3.8-source.tar.bz2 3978466 RMD160 86511e538aa3f35b4cf6de8d972692f9aef9ccc1 SHA1 60a28467eb05d4d996e1b301968dea12aebc84ad SHA256 bb6e013e104d82e454a98460136360111d77160300a0eb98063d7051e71c4f05 |
I ran into this weeks ago, and I figured and emerge --sync would eventually clear it up. But it hasn't.
I've searched (perhaps badly, but extensively) and I can't find a mention of this anywhere. I'm assuming I'm missing something, but I can't see what.
Any suggestions would be appreciated. I don't think an emerge --info would help here, but if you have any questions I'll answer them.
Thanks. _________________ I need a better signature...
Last edited by rlittle on Sat Oct 11, 2008 11:49 pm; edited 1 time in total |
|
Back to top |
|
|
grooveharder n00b
Joined: 18 Feb 2007 Posts: 44
|
Posted: Fri Oct 10, 2008 2:19 pm Post subject: |
|
|
hi rlittle,
my cups-1.3.8-source.tar.bz2 has size 3978466, and passed the verification tests.
my suggestion is to try downloading it again?
maybe your connection was dropping packets, or the easysw server was playing up.
however if your problem still does not go away, and you are sure that the tarball you have works fine (and it is in DISTDIR), then try the following (as root):
- cd /usr/local/portage
- mkdir net-print
- cd net-print
- cp -R /usr/portage/net-print/cups .
- cd cups
- ebuild cups-1.3.8-r1.ebuild digest
- emerge -av cups |
|
Back to top |
|
|
rlittle Apprentice
Joined: 17 Dec 2003 Posts: 200
|
Posted: Sat Oct 11, 2008 1:05 am Post subject: |
|
|
You must have downloaded your file weeks ago. I updated my system at work ( in September? ) and it also had no troubles (I forgot to check the filesize though). I just re-downloaded it, as you suggest, and the tar file now available is definitely 3978390 bytes.
I just filed a bug. Let's see what they say.
Do me a favor? Download the cups tar file and check that I'm not crazy? _________________ I need a better signature... |
|
Back to top |
|
|
Skuromis n00b
Joined: 02 Feb 2005 Posts: 40 Location: Lausanne
|
Posted: Sat Oct 11, 2008 6:10 pm Post subject: |
|
|
Have the same error. _________________ emerge -v information >> /dev/skuromis |
|
Back to top |
|
|
worthlessavatar n00b
Joined: 11 Oct 2008 Posts: 2
|
Posted: Sat Oct 11, 2008 8:12 pm Post subject: Ugh |
|
|
Getting opposite mismatch - receiving 3978466 and it expected 3978390
I tried grooveharder's workaround - no luck.
Tried different mirrors - same result. |
|
Back to top |
|
|
worthlessavatar n00b
Joined: 11 Oct 2008 Posts: 2
|
Posted: Sat Oct 11, 2008 9:10 pm Post subject: Yay - mirrors replicated (nt) |
|
|
|
|
Back to top |
|
|
suprcvic n00b
Joined: 19 Nov 2003 Posts: 22
|
Posted: Sat Oct 11, 2008 9:17 pm Post subject: |
|
|
If it's any help, I was having the same problem and I was downloading from ibiblio. I switched to GaTech and problem solved. |
|
Back to top |
|
|
wll n00b
Joined: 25 Aug 2003 Posts: 38
|
Posted: Sat Oct 11, 2008 10:12 pm Post subject: |
|
|
As of October 11, 2008, the open-systems.ufl.edu mirror has a source tarball that does not match the size expected by portage.
Code: | >>> Downloading 'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/cups-1.3.8-source.tar.bz2'
--2008-10-11 21:39:50-- http://open-systems.ufl.edu/mirrors/gentoo/distfiles/cups-1.3.8-source.tar.bz2
Resolving open-systems.ufl.edu... 128.227.74.67
Connecting to open-systems.ufl.edu|128.227.74.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3978466 (3.8M) [application/x-tar]
Saving to: `/usr/portage/distfiles/cups-1.3.8-source.tar.bz2'
0K .......... .......... .......... .......... .......... 1% 318K 12s
50K .......... .......... .......... .......... .......... 2% 840K 8s
[SNIP]
3850K .......... .......... .......... ..... 100% 1.04M=5.0s
2008-10-11 21:39:55 (782 KB/s) - `/usr/portage/distfiles/cups-1.3.8-source.tar.bz2' saved [3978466/3978466]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking cups-1.3.8-source.tar.bz2 ;-) ... [ !! ]
!!! Digest verification failed:
!!! /usr/portage/distfiles/cups-1.3.8-source.tar.bz2
!!! Reason: Filesize does not match recorded size
!!! Got: 3978466
!!! Expected: 3978390
|
|
|
Back to top |
|
|
rlittle Apprentice
Joined: 17 Dec 2003 Posts: 200
|
Posted: Sat Oct 11, 2008 11:47 pm Post subject: |
|
|
It's really,really bizarre that some folks had the exact opposite problem with file sizes that I did. Must say i didn't expect that.
However, my appeal to the Gentoo Gods has been heard, and the Manifest has been irrevocably changed. One emerge --sync and you'll be fixed. _________________ I need a better signature... |
|
Back to top |
|
|
jolay n00b
Joined: 03 Nov 2008 Posts: 1
|
Posted: Sun Nov 09, 2008 11:49 am Post subject: Still get the bug: cups wrong size |
|
|
Unfortunately, Gentoo Gods have turned their ears to another problems. I still get this cups wrong size bug today, Nov 9 2008.
('Filesize does not match recorded size', 3978390L, 3978466)
!!! Fetched file: cups-1.3.8-source.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 3978390
!!! Expected: 3978466
emerge --sync does not solve the problem. emerge --update --newuse --deep kdm (in reality, kdm-4.1.2) just endlessly downloads the tarball again and again.
I am very new to gentoo. Should I try grooveharder's solution despite the warning of worthlessavatar ?
Best regards
------------
# uname -a
Linux bombyx-z60m 2.6.25-gentoo-r8 #4 SMP Wed Nov 5 16:02:10 CET 2008 i686 Intel(R) Pentium(R) M processor 2.00GHz GenuineIntel GNU/Linux |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Sun Nov 09, 2008 11:53 am Post subject: |
|
|
I got the same problem. Just do:
Code: | ebuild /usr/portage/net-print/cups/cups-1.3.8-r2.ebuild digest |
And it'll build fine. It's a silly problem but digest mismatches occur from time to time. _________________
juniper wrote: | you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault. |
|
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Sun Nov 09, 2008 12:02 pm Post subject: Re: Still get the bug: cups wrong size |
|
|
jolay wrote: | Unfortunately, Gentoo Gods have turned their ears to another problems. I still get this cups wrong size bug today, Nov 9 2008. |
Yes, it seems that the Manifest was broken today. It seems that some mirror have the current versions while almost all European mirrors have the other version. I think in such a case the content of the original address should be used which does not match to the current Manifest (that's why I say, the Manifest was broken today): 3978390 is the size of the tarball you get from the original address. The correct solution is probably to report a bug. |
|
Back to top |
|
|
|