problems with pkg2ng
Hi all, 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. The command pkg2ng show this error message: 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 but when I search in /usr/ports/UPDATING I can not found anything about this and no man pages about pkg2ng root@valfenda:/home2/rizzo # man pkg2ng No manual entry for pkg2ng root@valfenda:/home2/rizzo # Can Someone help me? MyBox: root@valfenda:/home2/rizzo # pkg -v 1.2_1 root@valfenda:/home2/rizzo # svn info /usr/src Caminho: /usr/src Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/head Relative URL: ^/head Raiz do Repositório: svn://svn.freebsd.org/base UUID do repositório: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revisão: 258666 Tipo de Nó: diretório Agendado: normal Autor da Última Mudança: glebius Revisão da Última Mudança: 258666 Data da Última Mudança: 2013-11-26 18:27:57 -0200 (Ter, 26 Nov 2013) root@valfenda:/home2/rizzo # svn info /usr/ports Caminho: /usr/ports Working Copy Root Path: /usr/ports URL: svn://svn.freebsd.org/ports/head Relative URL: ^/head Raiz do Repositório: svn://svn.freebsd.org/ports UUID do repositório: 35697150-7ecd-e111-bb59-0022644237b5 Revisão: 334975 Tipo de Nó: diretório Agendado: normal Autor da Última Mudança: kwm Revisão da Última Mudança: 334975 Data da Última Mudança: 2013-11-26 19:15:14 -0200 (Ter, 26 Nov 2013) root@valfenda:/home2/rizzo # uname -a FreeBSD valfenda 11.0-CURRENT FreeBSD 11.0-CURRENT #9 r258666: Wed Nov 27 00:06:27 BRST 2013 rizzo@valfenda:/usr/obj/usr/src/sys/VALFENDA amd64 TIA, Rizzo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
problems with pkg2ng
Hi all, 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. The command pkg2ng show this error message: 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 but when I search in /usr/ports/UPDATING I can not found anything about this and no man pages about pkg2ng root@valfenda:/home2/rizzo # man pkg2ng No manual entry for pkg2ng root@valfenda:/home2/rizzo # Can Someone help me? MyBox: root@valfenda:/home2/rizzo # pkg -v 1.2_1 root@valfenda:/home2/rizzo # svn info /usr/src Caminho: /usr/src Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/head Relative URL: ^/head Raiz do Repositório: svn://svn.freebsd.org/base UUID do repositório: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revisão: 258666 Tipo de Nó: diretório Agendado: normal Autor da Última Mudança: glebius Revisão da Última Mudança: 258666 Data da Última Mudança: 2013-11-26 18:27:57 -0200 (Ter, 26 Nov 2013) root@valfenda:/home2/rizzo # svn info /usr/ports Caminho: /usr/ports Working Copy Root Path: /usr/ports URL: svn://svn.freebsd.org/ports/head Relative URL: ^/head Raiz do Repositório: svn://svn.freebsd.org/ports UUID do repositório: 35697150-7ecd-e111-bb59-0022644237b5 Revisão: 334975 Tipo de Nó: diretório Agendado: normal Autor da Última Mudança: kwm Revisão da Última Mudança: 334975 Data da Última Mudança: 2013-11-26 19:15:14 -0200 (Ter, 26 Nov 2013) root@valfenda:/home2/rizzo # uname -a FreeBSD valfenda 11.0-CURRENT FreeBSD 11.0-CURRENT #9 r258666: Wed Nov 27 00:06:27 BRST 2013 rizzo@valfenda:/usr/obj/usr/src/sys/VALFENDA amd64 TIA, Rizzo ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: problems with pkg2ng
On Thu, Nov 28, 2013 at 11:05:21PM -0300, Nilton Jose Rizzo wrote: Hi all, 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. The command pkg2ng show this error message: 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 but when I search in /usr/ports/UPDATING I can not found anything about this and no man pages about pkg2ng root@valfenda:/home2/rizzo # man pkg2ng No manual entry for pkg2ng root@valfenda:/home2/rizzo # Can Someone help me? Those are just warnings, nothing to worry about I'll add an UPDATING entry about those as soon as I can. regards, Bapt pgpS_kAaSFyRP.pgp Description: PGP signature
Re: problems with pkg2ng
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. 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: 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 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 -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matt...@infracaninophile.co.uk signature.asc Description: OpenPGP digital signature