Gentoo Archives: gentoo-user

From: Nicolas Sebrecht <nicolas.s-dev@×××××××.net>
To: gentoo-user@l.g.o
Cc: Nicolas Sebrecht <nicolas.s-dev@×××××××.net>
Subject: [gentoo-user] Re: Changed behavior of portage when using FEATURES="getbinpkg"
Date: Thu, 01 Jul 2010 23:40:57
Message-Id: 20100701234028.GC9344@vidovic
In Reply to: [gentoo-user] Changed behavior of portage when using FEATURES="getbinpkg" by Dan Johansson
1 On Fri, Mar 05, 2010 at 06:14:39PM +0100, Dan Johansson wrote:
2 >
3 > I have a setup where I have one "development" host and one "production" host.
4 > On the dev-host I have FEATURES="buildpkg" and on the prod-host I have
5 > FEATURES="getbinpkg" and PORTAGE_BINHOST="http://192.168.4.4/portage-i686/"
6 > (this is my dev-host) set.
7 >
8 > A few days ago, after the two hosts has been down for an extended time (since
9 > Nov last year) I can no longer install/update an packages on the prod-host.
10
11 <...>
12
13 > !!! Digest verification failed:
14 > !!! /usr/portage/packages/sys-apps/portage-2.1.7.17.tbz2
15 > !!! Reason: Filesize does not match recorded size
16 > !!! Got: 568929
17 > !!! Expected: 2224676
18 > File renamed to '/usr/portage/packages/sys-
19 > apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY'
20 >
21 > >>> Failed to emerge sys-apps/portage-2.1.7.17, Log file:
22 >
23 > >>> '/var/log/portage/sys-apps:portage-2.1.7.17:20100305-165414.log'
24 > -----------------------------------8<---------------------------------
25 >
26 > The size 568929 matches the size on dev and prod:
27 > dev:
28 > # ll /usr/portage/packages/sys-apps/portage-2.1.7.17.tbz2
29 > /usr/portage/packages/All/portage-2.1.7.17.tbz2
30 > -rw-r--r-- 1 root root 568929 Mar 5 17:53
31 > /usr/portage/packages/All/portage-2.1.7.17.tbz2
32 > lrwxrwxrwx 1 root root 28 Mar 5 17:53 /usr/portage/packages/sys-
33 > apps/portage-2.1.7.17.tbz2 -> ../All/portage-2.1.7.17.tbz2
34 >
35 > prod:
36 > # ll /usr/portage/packages/sys-
37 > apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY
38 > -rw-r--r-- 1 root root 568929 Mar 5 17:53 /usr/portage/packages/sys-
39 > apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY
40 >
41 > What has happened and how to solve it?
42
43 I'd say the prod portage tree is not synced against the same
44 version of the dev one since it's expecting for a 2224676 file size.
45
46 Do you sync the prod tree against the dev tree?
47
48 --
49 Nicolas Sebrecht