Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 596474

Summary: broken digests after last sync
Product: Gentoo Linux Reporter: Sergey S. Starikoff <Ikonta>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergey S. Starikoff 2016-10-07 18:32:05 UTC
After today's update:
# ls -l /usr/portage/gentoo/metadata/timestamp*
-rw-r--r-- 1 portage portage 29 Oct  7 17:39 /usr/portage/gentoo/metadata/timestamp
-rw-r--r-- 1 portage portage 32 Oct  7 18:45 /usr/portage/gentoo/metadata/timestamp.chk
-rw-r--r-- 1 portage portage 43 Oct  7 17:40 /usr/portage/gentoo/metadata/timestamp.x

I've got the following error:
emerge -uDN world
…
Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /usr/portage/gentoo/x11-libs/libX11/libX11-1.6.4.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 1619
!!! Expected: 1620

!!! Digest verification failed:
!!! /usr/portage/gentoo/x11-libs/libXrender/libXrender-0.9.10.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 649
!!! Expected: 650

!!! Digest verification failed:
!!! /usr/portage/gentoo/x11-libs/libXfixes/libXfixes-5.0.3.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 709
!!! Expected: 710

!!! Digest verification failed:
!!! /usr/portage/gentoo/x11-libs/libXi/libXi-1.7.7.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 973
!!! Expected: 974

!!! Digest verification failed:
!!! /usr/portage/gentoo/x11-libs/libXrandr/libXrandr-1.5.1.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 798
!!! Expected: 799

!!! Digest verification failed:
!!! /usr/portage/gentoo/x11-libs/libXv/libXv-1.0.11.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 669
!!! Expected: 670

!!! Digest verification failed:
!!! /usr/portage/gentoo/x11-libs/libXtst/libXtst-1.2.3.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 831
!!! Expected: 832

For a time ago I remember similiar issue with different packages.

For now I guess missing Manifest update after some common automated update.

I suggest developers to perform digests check after each commit (possibly as postupdate script).
Comment 1 Brian Evans (RETIRED) gentoo-dev 2016-10-07 18:38:23 UTC

*** This bug has been marked as a duplicate of bug 596462 ***