Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596474 - broken digests after last sync
Summary: broken digests after last sync
Status: RESOLVED DUPLICATE of bug 596462
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-07 18:32 UTC by Sergey S. Starikoff
Modified: 2016-10-07 18:38 UTC (History)
0 users

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 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 ***