Date: Sun, 29 Sep 2013 22:09:09 -0600 From: Gary Aitken <freebsd@dreamchaser.org> To: Mark Felder <feld@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: after pkgng update, daily run still using pkg_info Message-ID: <5248F965.3030703@dreamchaser.org> In-Reply-To: <1380398226.30638.27610565.609ED96A@webmail.messagingengine.com> References: <52470959.9050904@dreamchaser.org> <1380398226.30638.27610565.609ED96A@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>On 09/28/13 10:52, Gary Aitken wrote: >> After switching to pkgng, I noticed that my daily run output constantly >> complains about the installed packages being corrupt, e.g.: >> "pkg_info: the package info for package 'asciidoc-8.6.8_1' is corrupt" >> >> The problem is with >> etc/periodic/daily/490.status-pkg-changes >> which is still using "pkg_info" instead of "pkg info" >> >> Was this script supposed to be automatically updated as part of the >> conversion? What's the "right" way to upgrade this on a 9.1 release >> system? Or should I just edit the script by hand and be done with it? > >On 09/28/13 13:57, Mark Felder wrote: > Run pkg_info. If there is anything listed you have not fully converted > to pkgng and have some old broken/corrupt packages. You'll want to clean > this up. What does "clean this up" mean, and how does one go about it, given the system is converted to using pkgng? There is no /var/db/pkg/pkgdb.db Some of the packages reported as corrupt were installed *after* the conversion to pkgng, so why is pkg_info even noticing them? "pkg info" reports 705 packages installed, and installs and re-installs using portmaster seem to be working. "pkg_info" reports 14 "good" packages and 658 "corrupt" packages. If pkg_info is picking up packages installed after the conversion, why doesn't the sum of good and corrupt packages equal the number pkg reports? It was my understanding that after switching to pkgng, the pkg_* cmds should no longer be used. If that's the case, shouldn't the daily script have been modified by the upgrade process? Gary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5248F965.3030703>