Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2015 11:31:40 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-current@freebsd.org
Subject:   Re: pkg does not update the repo catalogue
Message-ID:  <56656E1C.9030905@infracaninophile.co.uk>
In-Reply-To: <20151207110420.GA1590@c720-r285885-amd64>
References:  <20151207085043.GA3047@c720-r285885-amd64> <56655C00.3000709@freebsd.org> <20151207110420.GA1590@c720-r285885-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--J4Va92Moti2FAWGBga5FciHE2cxg9seAb
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 12/07/15 11:04, Matthias Apitz wrote:
> Now 'pkg -vv' shows only myrepo; the 'pkg upgrade -f' ended up with
> reinstallation of all ~1000 packages;

Ooops.  'pkg upgrade -f' says 'reinstall everything' -- which was an
error on my part. I meant to type 'pkg update -f' which only refreshes
the repo catalogues.  Apologies.

> but all this did not solved the problem;
>=20
>> > If changing the repo tag doesn't fix the problem, try turning on som=
e
>> > debugging output:
>> >=20
>> >    env DEBUG_LEVEL=3D4 pkg update -f
> The output of STDERR is here: http://www.unixarea.de/pkg-stderr.txt
> (4 MByte, 100.000 lines)

Hmmmm....  it seems fairly clear to me that the 8 new packages aren't in
the repo catalogue that you're downloading.  You built the repo using
poudriere?  Poudriere does some fun'n'games with symbolic links to
achieve an atomic repo update, which means there is actually a history
of previous versions of the repo kept.  You'll see a directory structure
like this:

% ls -la
total 159
drwxr-xr-x  102 root  wheel  108 Dec  7 00:19 ./
drwxr-xr-x    9 root  wheel   15 Aug  4 11:39 ../
lrwxr-xr-x    1 root  wheel   16 Dec  7 00:19 .latest@ -> .real_144944757=
2
[...]
drwxr-xr-x    4 root  wheel    8 Dec  5 01:27 .real_1449278821/
drwxr-xr-x    4 root  wheel    8 Dec  6 00:55 .real_1449363354/
drwxr-xr-x    4 root  wheel    8 Dec  7 00:19 .real_1449447572/
lrwxr-xr-x    1 root  wheel   11 Dec 19  2014 All@ -> .latest/All
lrwxr-xr-x    1 root  wheel   14 Dec 19  2014 Latest@ -> .latest/Latest
lrwxr-xr-x    1 root  wheel   19 Dec 19  2014 digests.txz@ ->
=2Elatest/digests.txz
lrwxr-xr-x    1 root  wheel   16 Dec 19  2014 meta.txz@ -> .latest/meta.t=
xz
lrwxr-xr-x    1 root  wheel   23 Dec 19  2014 packagesite.txz@ ->
=2Elatest/packagesite.txz

Does the .latest symlink point at the .real_$TIMESTAMP you're expecting?

	Cheers,

	Matthew




--J4Va92Moti2FAWGBga5FciHE2cxg9seAb
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWZW4cAAoJEABRPxDgqeTnYNoP/Ar0Z+FZ1sD1G8qKz0a+COds
i97Js7aGDAbTRB9vnc2CKEmLtgVROnDmioFx/zRnA9L+r5sTAyLCUCuRcoNCesv8
ynbAu144sNQreIratDWfICJEhdBZz/05YQAl06Y6SWjfIjCWd2BtmhEaEQSMh8zs
YB2GjNInSgyLO1G3cZjJflf0IsOyRghC0KoC7r6CHTgtYw1VyZr76sMqm82fOzOb
0RaRaqVegpU4Uh8i/qv294B9p1diyFx2v0qvhyqXetJZGv26erhZCWMu8n1s4/9x
2Dac3wryLwrDk0u3CR6eCTGlrbvp/f7X8CV2je4XhCkr5Zt0y+84YClcWXOviMAG
cHd+vrVF/Pom/+TepC1sCbGN+5ldkoiHo7jE8XTlFl3Rk61FYO4V3+ncdE36/Dcv
/c09J7rWpInqyNq+QgiiIV44c8RL9h4pxNPxuhXZWAIrZZZcGmNyASKNH+Y9Nq+E
x7+q0TMQT6BihEHTEqS/VFOFsre/0IXrqL40n3Lnev82Emp8FXvR5wEZRytMUZhx
a2hSUVV3+h1TsKh9jXKZy3qemPlO7upnKIqh1f5HjELQaKcKe+LIx4Em4u9yN/Vj
8NrJNx49PD7AEB7n7iR1uvaL2TvlW0lD89TlO8xIu4z2JyX4SOzIUd4tbktvmu4P
W2nRvceStvycqWT3rHOb
=zyKw
-----END PGP SIGNATURE-----

--J4Va92Moti2FAWGBga5FciHE2cxg9seAb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56656E1C.9030905>