From owner-freebsd-questions@FreeBSD.ORG Thu Nov 22 16:05:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA6972E4 for ; Thu, 22 Nov 2012 16:05:47 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 18AED8FC08 for ; Thu, 22 Nov 2012 16:05:46 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Thu, 22 Nov 2012 17:05:43 +0100 Message-ID: <50AE4D57.9090206@ose.nl> Date: Thu, 22 Nov 2012 17:05:43 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121119 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: using new pkgng system on 9.0 system References: <50AE3BF5.1000200@a1poweruser.com> <50AE3C65.2050307@ose.nl> <50AE4150.1050002@a1poweruser.com> <50AE4211.9020108@ose.nl> <50AE47CB.4000907@a1poweruser.com> In-Reply-To: <50AE47CB.4000907@a1poweruser.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 16:05:47 -0000 On 11/22/12 16=3A42=2C Fbsd8 wrote=3A =3E Bas Smeelen wrote=3A =3E=3E On 11/22/2012 04=3A14 PM=2C Fbsd8 wrote=3A =3E=3E=3E Bas Smeelen wrote=3A =3E=3E=3E=3E On 11/22/2012 03=3A51 PM=2C Fbsd8 wrote=3A =3E=3E=3E=3E=3E Since pkg is being replaced by pkgng in Release 10=2E0 I wo= uld like=20 =3E=3E=3E=3E=3E to get head start by playing with it on my 9=2E0 system=2E= =3E=3E=3E=3E=3E =3E=3E=3E=3E=3E Where can I find a write up about installing and using pkgn= g=3F =3E=3E=3E=3E=3E =3E=3E=3E=3E=3E Have all the pkg packages been converted to pkgng format an= d are=20 =3E=3E=3E=3E=3E they being kept up to date=3F =3E=3E=3E=3E Hi =3E=3E=3E=3E =3E=3E=3E=3E It=27s in /usr/ports/UPDATING =3E=3E=3E=3E =3E=3E=3E=3E 20121015=3A =3E=3E=3E=3E AFFECTS=3A users of ports-mgmt/portmaster =3E=3E=3E=3E AUTHOR=3A bdrewery=40FreeBSD=2Eorg =3E=3E=3E=3E =3E=3E=3E=3E Portmaster now supports pkgng=2E To use pkgng=2C enable the= patch in=20 =3E=3E=3E=3E the port=2C =3E=3E=3E=3E enable pkgng in your make=2Econf=2C and convert your existi= ng=20 =3E=3E=3E=3E /var/db/pkg =3E=3E=3E=3E database=2E Also see UPDATING entry 20121010 if you are on= a=20 =3E=3E=3E=3E recent CURRENT =3E=3E=3E=3E and do not want to use pkg=2E =3E=3E=3E=3E =3E=3E=3E=3E This is optional and not currently required=2E =3E=3E=3E=3E =3E=3E=3E=3E =23 make -C /usr/ports/ports-mgmt/pkg install clean =3E=3E=3E=3E =23 make -C /usr/ports/ports-mgmt/portmaster config build= =20 =3E=3E=3E=3E deinstall install clean =3E=3E=3E=3E =23 echo =27WITH=5FPKGNG=3Dyes=27 =3E=3E /etc/make=2Econf a= nd =3E=3E=3E=3E =23 pkg2ng =3E=3E=3E=3E =3E=3E=3E=3E =3E=3E=3E=3E =3E=3E=3E Thanks=2C but your reply does not answer my question=2E I did not= say=20 =3E=3E=3E anything about using portmaster=2E =3E=3E=3E =3E=3E=3E I want to use pkgng in native mode=2E =3E=3E=3E I don=27t see pkgng in the ports system=2E =3E=3E=3E How do I get pkgng loaded to a 9=2E0 system=3F =3E=3E =3E=3E That would be make -C /usr/ports/ports-mgmt/pkg install clean =3E=3E and WITH=5FPKGNG=3Dyes in /etc/make=2Econf =3E=3E and convert the old pkgdb to ng with pkg2ng =3E=3E =3E=3E =3E=3E Sorry I awlays use ports so maybe there is a config thing to be done= =20 =3E=3E also to find the right sites to get the packages from =3E=3E =3E=3E =3E =3E I see the problem=2E It=27s called pkgng but in the ports system it=27s= =20 =3E called pkg=2E Thought pkg was the old system=2E Silly me=2E Not a problem=2E The line in /etc/make=2Econf is used for when the ports or ports tools are= =20 used=2C so the right package tools are invoked to register them in the=20= package database=2E It is good to put this in to prevent a mess eventually when ports are=20 being used=2E I switched most systems to the ng pkg tools=2C what I like very much about= =20 it is that things are getting logged in messages=2E Also now you have one= =20 pkg command with different operations for what you want to accomplish=2E This e-mail message=2C including any attachment=28s=29=2C is intended solel= y for the addressee or addressees=2E Any views or opinions presented herein= are solely those of the author and do not necessarily represent those of O= SE=2E If you are not the intended recipient of this communication please return t= his e-mail message and the attachment=28s=29 to the sender and delete and d= estroy all copies=2E