Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2014 20:13:57 +0200
From:      Kai Gallasch <k@free.de>
To:        pkg@FreeBSD.org
Cc:        Guido Falsi <madpilot@FreeBSD.org>
Subject:   Re: size mismatch error with pkg-devel
Message-ID:  <33EDCC3C-8EED-4D98-9644-EA4EA66A15F3@free.de>
In-Reply-To: <53E4F6B4.9050002@FreeBSD.org>
References:  <53E4F6B4.9050002@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-61--282292307
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii


Am 08.08.2014 um 18:11 schrieb Guido Falsi:

> Hi,
>=20
> Today I started testing pkg-devel.
>=20
> 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.
>=20
> 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:
>=20
> root@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):
>=20
> New packages to be INSTALLED:
>        neXtaw: 0.15.1_4
>=20
> 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
>=20
> Installed packages to be REINSTALLED:
>        iso-codes-3.54 (ABI changed)
>        tmux-1.9.a_2 (options changed)
>=20
> The process will require 1 MB more space
> 255 KB to be downloaded
>=20
> Proceed with this action [y/N]: y
> Fetching neXtaw-0.15.1_4.txz: 100% of 254 KB
>=20
> pkg: cached package neXtaw-0.15.1_4: size mismatch, fetching from =
remote
> Fetching neXtaw-0.15.1_4.txz: 100% of 254 KB
>=20
> pkg: cached package neXtaw-0.15.1_4: size mismatch, cannot continue
> root@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 =3D 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






--Apple-Mail-61--282292307
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: Signierter Teil der Nachricht
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJT5RNlAAoJEHBlTXxPsfWI5wUQAKDWP/qZ7rpzhYWDnpv9Wf9m
TEtfSUIdwdfpGkNF7atH1tM3FxXntpxUtQQON5sG2cxUXso+a5frnJbYIWJQo127
/b1V4dl+kciDX6ZjF8JnZnsIaVlVHGTkXk5/8VCqJAk2Dq8iqUFrZD1EACoZseau
mDPpgeF3tahHrKW44jwwQ5jAfkxAZUcey/rnaIqFfi5UYxl/LbyR4287ruRUXnJm
W59zCrbGIADjrSOlYYRMmLnD/9LQ76rjjxnK6N3cZcTbBvmaAHYWcm4Ii9jcm5kj
O59g+oofLdO+pW/MTw2kGADaHOA13MbIIDZeC5exbW2BMuVOYo8/dqV5ldhCHEmd
SkV7uikZCBLmvZm5opfZ5/NEHaItcd+fOxf7hCECP/8kXZSbFk/oV0m92QcIJ1z7
HsGM1J3awB4qGxZZyc0I1USmBO8Vcd52QiHpyGBlHr1j85MEJPt9gpTs0RQ/WIAW
rzktmYc7jn1ZEzAUiBMKVMHjr3tJKh1XhDlOdCq7PxYO4rHgB5+OfIGpEAgeuqNf
Qz7g5TssJAHR6bdITUGUQoKkGyBICqBGAR0qHpw6KVRdSbgNme2RbP0ZFBcgceRm
qeKKZiA54NvPHG3xEqiij0MXi6/n0Plsn39afRUKfX/dI5Ihm17ShfrYVnczkA2e
tMElLYL0sakwHydt/KZR
=iPvC
-----END PGP SIGNATURE-----

--Apple-Mail-61--282292307--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33EDCC3C-8EED-4D98-9644-EA4EA66A15F3>