Solved pkg mismatch no install sorry... how tofix?

is there a fix for this, a mismatch pkg?
ie fluxbox


Code:
[userx@FreeBSD ~]$ fbi fluxbox
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: handbrake has a missing dependency: lame
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    fluxbox: 1.3.7_5

Number of packages to be installed: 1

The process will require 3 MiB more space.
709 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching fluxbox-1.3.7_5.txz: 100%    556 B   0.6kB/s    00:01  
pkg: cached package fluxbox-1.3.7_5: size mismatch, fetching from remote
Fetching fluxbox-1.3.7_5.txz: 100%    556 B   0.6kB/s    00:01  
pkg: cached package fluxbox-1.3.7_5: size mismatch, cannot continue
 
Your locally cached file seems to be corrupt, try cleaning the entire cache: pkg clean -a. Then try to install it again, it should download a 'fresh' copy.
 
Your locally cached file seems to be corrupt, try cleaning the entire cache: pkg clean -a. Then try to install it again, it should download a 'fresh' copy.
Code:
[userx@FreeBSD ~]$ fbi fluxbox
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: handbrake has a missing dependency: lame
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    fluxbox: 1.3.7_5

Number of packages to be installed: 1

The process will require 3 MiB more space.
709 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching fluxbox-1.3.7_5.txz: 100%  709 KiB 725.7kB/s    00:01   
Checking integrity... done (0 conflicting)
[1/1] Installing fluxbox-1.3.7_5...
[1/1] Extracting fluxbox-1.3.7_5: 100%

Thanks, I didn't want to do a search for "where is cache" and just run a rm on it.
 
Yes, that shouldn't be a problem. But keep in mind it's possible to configure a different directory by defining PKG_CACHEDIR in /usr/local/etc/pkg.conf. A pkg-clean(8) will take care of the correct directory automatically.
 
Back
Top