Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Digest errors in an overlay, but only in one box
Date: Sun, 01 Sep 2013 18:29:35
Message-Id: 522386A9.1010109@gmail.com
In Reply to: Re: [gentoo-user] Digest errors in an overlay, but only in one box by Mick
1 That overlay hasn't been manifested properly, the checksums and file
2 sizes don't match. You have two options:
3
4 redigest every ebuild in the entire overlay
5 resync and hope it's fixed (maybe report a bug)
6
7 Just to confirm, this is vapier's overlay you are using? Not niifaq?
8
9 I recall manifest problems with niifaq overlay a while ago, but can't
10 recall issues with vapier's. It isn't the portage tree though, so I
11 imagine it can be easy to forget the manifest step when committing files.
12
13 What I can't explain is why one pc is happy using the overlay files and
14 the other not. AFAIK portage doesn't allow digest checks to be disabled.
15
16
17
18 On 01/09/2013 18:41, Mick wrote:
19 > On Sunday 01 Sep 2013 15:45:05 Alan McKinnon wrote:
20 >
21 >> What's the contents of the Manifest file in those two directories?
22 >> What does "ls -al" say ebuild the supposedly faulty ebuilds?
23 >>
24 >> I also note the error reported in both cases is exactly 6 bytes.
25 >> Might be significant, let's keep that in mind
26 >
27 > Thanks Alan, it's not just these two ebuilds digests that come up with errors.
28 > I attach the complete error. I compared the corresponding Manifests between
29 > the two PCs and there no differences. For example:
30 >
31 > Good PC:
32 > =======
33 > # sha1sum /var/lib/layman/enlightenment/x11-plugins/e_modules-
34 > forecasts/Manifest
35 > d058dc5e9f6443a9f4e3a02f32c8dde9c2ae1844 /var/lib/layman/enlightenment/x11-
36 > plugins/e_modules-forecasts/Manifest
37 >
38 >
39 > Bad PC:
40 > ======
41 > $ sha1sum /var/lib/layman/enlightenment/x11-plugins/e_modules-
42 > forecasts/Manifest
43 > d058dc5e9f6443a9f4e3a02f32c8dde9c2ae1844 /var/lib/layman/enlightenment/x11-
44 > plugins/e_modules-forecasts/Manifest
45 >
46 >
47 > Similarly, there's no difference between the checksums of the ebuilds in the
48 > two PCs.
49 >
50 >
51 > Here is the content of the e_modules-forecasts Manifest:
52 > =======================================================
53 > $ cat /var/lib/layman/enlightenment/x11-plugins/e_modules-forecasts/Manifest
54 > EBUILD e_modules-forecasts-9999.ebuild 436 SHA256
55 > 66c7fd87b666ec5b29e3756b36ed3fcd3140c267a02757fe29997e912ad8fc05 SHA512
56 > 952910877f0cc2f36fb9980822b3088652c4f813de6ed1fa584fa9c9737c832000a5e7ffdce00bc9c255cf1663cc0efd76ec6910ba504e515303be44b9d792bc
57 > WHIRLPOOL
58 > 8f7ba88d7658257d6cf9a9655a7152ed7bf6b126dade35a3f6304451bd2f16621e36298ac10b8c8420259dfae14e28289ba20bbec84373c25ed5f538df5bc8f1
59 > MISC ChangeLog 225 SHA256
60 > e4290d34b0e8936f485adee22ec8e596fdeff60ed041c03f0a6925bcdc973c2f SHA512
61 > 48819cea3e04612f94feeb8511cc79a583e777fa1de438ca287f8f8289301537b4ff4df5c1fe96d8edd6a10bc1f0a0dd76020e30b4e2210ff5e119239ce33664
62 > WHIRLPOOL
63 > 41478a52980a23476d21eec41a32d77dada0ced86b7baadd59bc8db9adbf06ae3c7d38b55516dec57a60a4ad67bae9d2d3aae6066f6ad6589b34ee6499420b52
64 > MISC metadata.xml 228 SHA256
65 > 42ea435327140212f3beb05aafebad5053cbad84532f9bb78987de8540c6459a SHA512
66 > 5b1191ceaa7bcaa10b4b28d5b80cbb214da3e5857c2897f7b8001d3ac7ef3491c2dbb8a51583677c79770c106368297c16698d7a10b5ba85ce211412a61ae8bd
67 > WHIRLPOOL
68 > ed7fa6aacaa62a04fd1d184fc7a86eff8bd65a29664dca293f6723db14d1b8c22e5707cb0c1a0c7405cf2da2e0af1c031f7c9406fda5dfe74df3421b47b1cbf3
69 > =======================================================
70 >
71 >
72 > On the good PC I am able to emerge tclock:
73 > =========================================
74 > # emerge -1aDv x11-plugins/e_modules-tclock
75 >
76 > These are the packages that would be merged, in order:
77 >
78 > Calculating dependencies... done!
79 > [ebuild N *] x11-plugins/e_modules-tclock-9999::enlightenment USE="nls -
80 > doc" 0 kB
81 >
82 > Total: 1 package (1 new), Size of downloads: 0 kB
83 >
84 > The following keyword changes are necessary to proceed:
85 > (see "package.accept_keywords" in the portage(5) man page for more details)
86 > # required by x11-plugins/e_modules-tclock (argument)
87 > =x11-plugins/e_modules-tclock-9999 **
88 >
89 > NOTE: The --autounmask-keep-masks option will prevent emerge
90 > from creating package.unmask or ** keyword changes.
91 >
92 > Use --autounmask-write to write changes to config files (honoring
93 > CONFIG_PROTECT). Carefully examine the list of proposed changes,
94 > paying special attention to mask or keyword changes that may expose
95 > experimental or unstable packages.
96 > =========================================
97 >
98 >
99 > On the bad PC it complaints of corrupt files:
100 > ============================================
101 > # emerge -1aDv x11-plugins/e_modules-tclock
102 >
103 > These are the packages that would be merged, in order:
104 >
105 > Calculating dependencies \ * Digest verification failed:
106 > * /var/lib/layman/enlightenment/x11-plugins/e_modules-tclock/e_modules-
107 > tclock-9999.ebuild
108 > * Reason: Filesize does not match recorded size
109 > * Got: 385
110 > * Expected: 379
111 > ... done!
112 >
113 > !!! All ebuilds that could satisfy "x11-plugins/e_modules-tclock" have been
114 > masked.
115 > !!! One of the following masked packages is required to complete your request:
116 > - x11-plugins/e_modules-tclock-9999::enlightenment (masked by: corruption)
117 >
118 > For more information, see the MASKED PACKAGES section in the emerge
119 > man page or refer to the Gentoo Handbook.
120 > ============================================
121 >
122 > The content of two overlay package directories listed here as an example, from
123 > the bad PC:
124 >
125 > # ls -la /var/lib/layman/enlightenment/x11-plugins/e_modules-tclock
126 > total 24
127 > drwxr-xr-x 2 root root 4096 Sep 1 17:33 .
128 > drwxr-xr-x 39 root root 4096 Sep 1 17:33 ..
129 > -rw-r--r-- 1 root root 219 Sep 1 17:33 ChangeLog
130 > -rw-r--r-- 1 root root 1487 Sep 1 17:33 Manifest
131 > -rw-r--r-- 1 root root 385 Sep 1 17:33 e_modules-tclock-9999.ebuild
132 > -rw-r--r-- 1 root root 228 Sep 1 17:33 metadata.xml
133 >
134 > # ls -la /var/lib/layman/enlightenment/x11-plugins/e_modules-forecasts/total
135 > 24
136 > drwxr-xr-x 2 root root 4096 Sep 1 17:33 .
137 > drwxr-xr-x 39 root root 4096 Sep 1 17:33 ..
138 > -rw-r--r-- 1 root root 225 Sep 1 17:33 ChangeLog
139 > -rw-r--r-- 1 root root 1490 Sep 1 17:33 Manifest
140 > -rw-r--r-- 1 root root 442 Sep 1 17:33 e_modules-forecasts-9999.ebuild
141 > -rw-r--r-- 1 root root 228 Sep 1 17:33 metadata.xml
142 >
143 >
144 > I am completely confused with this. :-/
145 >
146
147 --
148 Alan McKinnon
149 Systems Engineer^W Technician
150 Infrastructure Services
151 Internet Solutions
152
153 +27 11 575 7585
154
155
156 --
157 Alan McKinnon
158 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Digest errors in an overlay, but only in one box Mick <michaelkintzios@×××××.com>