On Fri, Mar 05, 2010 at 06:14:39PM +0100, Dan Johansson wrote:
> 
> I have a setup where I have one "development" host and one "production" host. 
> On the dev-host I have FEATURES="buildpkg" and on the prod-host I have 
> FEATURES="getbinpkg" and PORTAGE_BINHOST="http://192.168.4.4/portage-i686/"; 
> (this is my dev-host) set. 
> 
> A few days ago, after the two hosts has been down for an extended time (since 
> Nov last year) I can no longer install/update an packages on the prod-host.

<...>

> !!! Digest verification failed:
> !!! /usr/portage/packages/sys-apps/portage-2.1.7.17.tbz2
> !!! Reason: Filesize does not match recorded size
> !!! Got: 568929
> !!! Expected: 2224676
> File renamed to '/usr/portage/packages/sys-
> apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY'
> 
> >>> Failed to emerge sys-apps/portage-2.1.7.17, Log file:
> 
> >>>  '/var/log/portage/sys-apps:portage-2.1.7.17:20100305-165414.log'
> -----------------------------------8<---------------------------------
> 
> The size 568929 matches the size on dev and prod:
> dev:
> # ll /usr/portage/packages/sys-apps/portage-2.1.7.17.tbz2  
> /usr/portage/packages/All/portage-2.1.7.17.tbz2
> -rw-r--r-- 1 root root 568929 Mar  5 17:53 
> /usr/portage/packages/All/portage-2.1.7.17.tbz2
> lrwxrwxrwx 1 root root     28 Mar  5 17:53 /usr/portage/packages/sys-
> apps/portage-2.1.7.17.tbz2 -> ../All/portage-2.1.7.17.tbz2
> 
> prod:
> # ll /usr/portage/packages/sys-
> apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY
> -rw-r--r-- 1 root root 568929 Mar  5 17:53 /usr/portage/packages/sys-
> apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY
> 
> What has happened and how to solve it?

I'd say the prod portage tree is not synced against the same
version of the dev one since it's expecting for a 2224676 file size.

Do you sync the prod tree against the dev tree?

-- 
Nicolas Sebrecht

Reply via email to