From owner-freebsd-current@FreeBSD.ORG Fri Nov 29 07:45:44 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C05262CE for ; Fri, 29 Nov 2013 07:45:44 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 436411433 for ; Fri, 29 Nov 2013 07:45:44 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id rAT7jbB8017256 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 29 Nov 2013 07:45:37 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk rAT7jbB8017256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1385711137; bh=oC+tgxiS6v/AoO85cD44HzI6xkNEomVy89DPnsV687M=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Fri,=2029=20Nov=202013=2007:45:29=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-curren t@freebsd.org|Subject:=20Re:=20problems=20with=20pkg2ng|References :=20<20131129015446.M75652@i805.com.br>|In-Reply-To:=20<2013112901 5446.M75652@i805.com.br>; b=gwl6gVitePABNDT66lO8tNu7haJZQ5WuQT6rEEMW8ucczvCCAJn6Bb0fzP8I0eq0b NFx9CdI63H3ArwgmrgHDeEwp/nUf/9vvh6JzxdrdZPZAe0UwlVHI3TN94g3QzEVzI9 9KUADPOVfCKdIlfo+Kyh2UyFbU/9kvXIO8/OACxw= Message-ID: <52984619.6080302@infracaninophile.co.uk> Date: Fri, 29 Nov 2013 07:45:29 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: problems with pkg2ng References: <20131129015446.M75652@i805.com.br> In-Reply-To: <20131129015446.M75652@i805.com.br> X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xiukXLIGScAVdXoeSjeg8qWqI0dKJ9d18" X-Virus-Scanned: clamav-milter 0.98 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 07:45:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xiukXLIGScAVdXoeSjeg8qWqI0dKJ9d18 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 29/11/2013 02:02, Nilton Jose Rizzo wrote: > in the near past, when I update ports repository via svn, I always= use > pkg2ng to upgrade (or update?) the database, but today I can not do it= =2E Uh? pkg2ng is a one time thing. Its only use is when converting a system that had previously used pkg_tools to pkg(8). That happens once, and after that, you never need it again. > The command pkg2ng show this error message: >=20 > root@valfenda:/home2/rizzo # pkg2ng > pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository > configuration file > Converting packages from /var/db/pkg > pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository > configuration file > pkg: fstat() failed for(/usr/local/etc/cups/cupsd.conf.N): No such file= or > directory This is not pkg2ng specific, but comes from the underlying calls to various pkg(8) actions. As it says, the format of pkg.conf has changed with this update, and it is instructing you on how to modify your pkg.conf so it conforms to the new norms. See pkg.conf(5) for details on creating a repository configuration file. The fstat() message is a different thing again -- looks like one of the files owned by the cups port has been deleted. You can fix that by forcing a reinstall of that package, but it's pretty innocuous really. > but when I search in /usr/ports/UPDATING I can not found anything about= this > and no man pages about pkg2ng=20 A lot of people seem confused and/or alarmed by this update. Yes, there have been a number of problems reported, which are being dealt with. Whether this warrants an entry in UPDATING I don't know, but the general tenor of any such entry would be "modify your configuration files as shown in the output of pkg(8)." No, there isn't a man page for pkg2ng. It was never thought necessary. However, if anyone wants to contribute a page for pkg2ng I'm sure it would be gratefully received. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --xiukXLIGScAVdXoeSjeg8qWqI0dKJ9d18 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.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJSmEYgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATKPUP/R1DccACHc9WthNveeJG/cg2 r6VoLDuPnUSMxScuCtGdM6IaRXQ4kFy1WpLF2thZ5Bj74YyvFOfp5WHu1nfPk1Wg 8ESPx6WPscP8Li+deG7x/9N3A1mCsgW8GdCGYYVmAPezGL8+IlcrCpNZPvMt+vVg GiioGSApDIl+HEctZ6NgzAvjZkyI/jmVbQwI4cJ+TbJBf3113PwGnglXWMy7dm91 LCCxEPu+LAUrpPuEGeLmqpzudcmjDi6sMWnxnOJO4tLHto2HljJdERFbPUPyGcHf utH006skgfc8IMXSiEz4vF7TjFSXpvWBMoXXffZGIIschpvA6Vu7o2JwkYzSi7bj FzN4on9y4U7QvMZNpidm0JAAUMP7YHLCxYivQ+0pfn0drk/ycYXMzHC+Cuyg8bbb j/TqoKsdcDfjXM2aZLVo1rt3wXw/uLtxPBhJcybFodpRJpNS0XKTA+5E+zlPZHEf p60EakYtybQzLq4EeRWB0n8+sqVG3XgqvB2bsD+Ljeav4hCYZhSTSkIlyjQxOSXD F4Zx1Oskj77FhDwFBnGHQQsGoLoKWojkd0aajGcmZLpG/nvaJbAWYPQnTnSHNriS 6xRCH2+rHcd0HxqprtZgj8X2RFYIXD61HoVX2oEf64Xw5eZ0IwScSPQFrto5wBCE swzV+Xc1+A3CLaeZBOUq =ukE+ -----END PGP SIGNATURE----- --xiukXLIGScAVdXoeSjeg8qWqI0dKJ9d18--