Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2014 09:02:16 +0200
From:      Vikash Badal <vikashb@where-ever.za.net>
To:        Charlie <cwr@SDF.ORG>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg broken? Unable to install packages...
Message-ID:  <53D9E9F8.3080800@where-ever.za.net>
In-Reply-To: <alpine.NEB.2.02.1407282216230.3354@faeroes.freeshell.org>
References:  <alpine.NEB.2.02.1407282216230.3354@faeroes.freeshell.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 29/07/2014 00:20, Charlie wrote:
> Hello list!
> 
> I'm running 10-RELEASE x64, and all of a sudden I can't seem to install
> any packages.
> 
> No matter which package I attempt to install, the result is similar:
> 
> Fetching finch-2.10.9_5.txz: 100% of 208 KB
> pkg: cached package finch-2.10.9_5: size mismatch, fetching from remote
> Fetching finch-2.10.9_5.txz: 100% of 208 KB
> pkg: cached package finch-2.10.9_5: size mismatch, cannot continue
> 
> I have tried running pkg update -f; it doesn't help.
> 

try:
rm -rf /var/db/pkg/repo* && pkg upgrade

resolved the issue for me

Regards
Vikash



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?53D9E9F8.3080800>