Re: [HEADSUP] current switched by default to pkgng
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC618E7640C3C6B38E9C6D066
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On 10/10/2012 16:52, Simon L. B. Nielsen wrote:
> I read UPDATING, but I'm still not sure what this means when I use
> ports and not packages.
It means that if you're a user of HEAD, and you don't opt out by setting
WITHOUT_PKGNG=3Dyes in make.conf, then:
* the next time you use the ports, ports-mgmt/pkg will be installed
as a dependency
* pkgng will be used to register all the ports you subsequently
install into /var/db/pkg/local.sqlite
However, unless you take some preventive action, any ports that were
installed before this update won't be added to the registry in
local.sqlite. You'll end up with a mix of stuff using the old subdirs
of /var/db/pkg from pkg_tools and the new local.sqlite from pkgng.
Sorting that out is a one-time job to import the pkg_tools data into
pkgng's database using pkg2ng, which is what the instructions in
UPDATING describe.
> Does it mean that I should install pkg to have /var/db/pkg managed,
> but otherwise ports keeps working the same way, or?
pkgng will need to be installed, yes. You'll need to switch to using
pkgng commands rather than pkg_tools -- eg:
pkg info -a
to get a list of all installed ports. You need to patch portmaster(8)
if you use that -- although a patched version will soon be available in
ports. Apart from that, the ports will work pretty much exactly as they
used to do.
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
--------------enigC618E7640C3C6B38E9C6D066
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 Mozilla - http://www.enigmail.net/
iEUEARECAAYFAlB1o4AACgkQ8Mjk52CukIyXmACYvBtS7vw0+f55gfcOSkTZenzh
lACfSDpeH0UYZU5sPrW6xZS37vgMy/8=
=Y3kw
-----END PGP SIGNATURE-----
--------------enigC618E7640C3C6B38E9C6D066--
討論串 (同標題文章)
完整討論串 (本文為第 17 之 42 篇):