Date: Fri, 03 May 2013 21:43:04 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Walter Hurry <walterhurry@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: pkg question Message-ID: <51842158.1080505@infracaninophile.co.uk> In-Reply-To: <km16gq$mrj$1@ger.gmane.org> References: <km16gq$mrj$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2LXGFBGSJUUTTWVURGUIL Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/05/2013 21:26, Walter Hurry wrote: > Quoting from /usr/ports/UPDATING: > -------------------------------------------------------------------- > 20130502: > AFFECTS: users of ports-mgmt/pkg, ports-mgmt/poudriere, ports-mgmt/ > tinderbox > AUTHOR: bdrewery@FreeBSD.org >=20 > This only affects people who are _building_ binary packages for pkgng. = If=20 > you are building from ports please ignore this. This step is optional. >=20 > It is recommended to rebuild all packages and then have your users run = > 'pkg check -Ba' and 'pkg upgrade' on their servers once. This will allo= w=20 > the new shlib tracking to reinstall packages that have changed shlib=20 > requirements. > -------------------------------------------------------------------- > Does 'rebuild all packages' mean we have to recompile from scratch, or = > merely do a 'pkg create' for each? If you have packages installed, but without shlib info in the database, then you can: pkg upgrade or whatever, to get pkg-1.0.12 installed pkg check -Ba -- scans everything you have installed and adds the SHLIB info to your local database pkg create -a -o /usr/ports/packages/ -- create pkg tarballs (including shlib info) out of everything known in your local database. pkg repo -f /usr/ports/packages -- build a repo out of those package tarballs. However, this only works for what you have installed on that one machine, which is generally a sub-set of what you'ld like to have in a pkg repo. To build a more comprehensive set of packages as you'ld normally find in a repo, it's cleanest to just tell poudriere or tinderbox to build everything again from scratch. Timeconsuming, but you end up with a consistent repository fully populated with all the SHLIBS info you could want. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk ------enig2LXGFBGSJUUTTWVURGUIL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGEIWoACgkQ8Mjk52CukIySkwCdEQgJgRTBkl529rMX1O4N6rVk S4sAn2YX9g+1rPzqCMHnbhyZx47Yc6tT =cl0D -----END PGP SIGNATURE----- ------enig2LXGFBGSJUUTTWVURGUIL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51842158.1080505>