size mismatch error with pkg-devel
Kai Gallasch
k at free.de
Fri Aug 8 18:20:49 UTC 2014
Am 08.08.2014 um 18:11 schrieb Guido Falsi:
> Hi,
>
> Today I started testing pkg-devel.
>
> One of the machines I'm using it on is an old Eeepc I have around.
> There's 10.0 on it, I build packages on poudriere from another machine
> for it and update it using pkg upgrade.
>
> After switching to pkg-devel I deleted all the packages for it from
> poudriere jail to start fresh. After rebuilding all packages I went for
> pkg upgrade on the machine and this is what happened:
>
> root at crash:~ # pkg upgrade
> Updating repository catalogue
> mpnet repository is up-to-date
> All repositories are up-to-date
> Checking for upgrades (23 candidates): 100%
> The following 10 packages will be affected (of 0 checked):
>
> New packages to be INSTALLED:
> neXtaw: 0.15.1_4
>
> Installed packages to be UPGRADED:
> xscreensaver: 5.29_1 -> 5.29_2
> ocaml-findlib: 1.5.1 -> 1.5.2
> trousers-tddl: 0.3.10_6 -> 0.3.10_7
> pciids: 20140718 -> 20140806
> libgcrypt: 1.6.1_2 -> 1.6.1_3
> gle: 3.1.0_4 -> 3.1.0_5
> alsa-plugins: 1.0.27_2 -> 1.0.27_3
>
> Installed packages to be REINSTALLED:
> iso-codes-3.54 (ABI changed)
> tmux-1.9.a_2 (options changed)
>
> The process will require 1 MB more space
> 255 KB to be downloaded
>
> Proceed with this action [y/N]: y
> Fetching neXtaw-0.15.1_4.txz: 100% of 254 KB
>
> pkg: cached package neXtaw-0.15.1_4: size mismatch, fetching from remote
> Fetching neXtaw-0.15.1_4.txz: 100% of 254 KB
>
> pkg: cached package neXtaw-0.15.1_4: size mismatch, cannot continue
> root at crash:~ #
Hi.
I had the same error a few days ago after creating an new poudriere FreeBSD 9.3 repo to pkg upgrade some FreeBSD 9.2 jails.
Those jails previously used a 9.2 repo with the same name..
I got around this by removing /var/db/pkg/repo-$REPO_NAME.sqlite and /var/db/pkg/$REPO_NAME.meta and after this doing the "pkg upgrade" ($REPO_NAME = name of your repo as in /usr/local/etc/pkg/repos/*.conf)
Regards,
Kai.
--
GPG-Key: A593 E38B E968 4DBE 14D6 2115 7065 4D7C 4FB1 F588
worker bees can leave even drones can fly away the queen is their slave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 819 bytes
Desc: Signierter Teil der Nachricht
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20140808/39a859a8/attachment.sig>
More information about the freebsd-pkg
mailing list