pkg broken? Unable to install packages...

Vikash Badal vikashb at where-ever.za.net
Thu Jul 31 07:02:23 UTC 2014


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


More information about the freebsd-questions mailing list