ports/171833: [pkgng] pkg2ng shouldn't purge everything under /var/db/pkg
Garrett Cooper
yanegomi at gmail.com
Fri Sep 21 04:20:05 UTC 2012
>Number: 171833
>Category: ports
>Synopsis: [pkgng] pkg2ng shouldn't purge everything under /var/db/pkg
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 21 04:20:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 9.1-PRERELEASE
>Organization:
EMC Isilon
>Environment:
FreeBSD forza.west.isilon.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r240770: Thu Sep 20 19:28:45 PDT 2012 gcooper at forza.west.isilon.com:/usr/obj/usr/src/sys/FORZA amd64
>Description:
pkg2ng nukes everything under /var/db/pkg instead of just the files that were used for pkg_install metadata purposes. pkg2ng should preserve files like +IGNOREME, etc (either until they can be converted over to something more maintainable or just let them bitrot for all eternity) so it makes the transition to pkgng a little smoother.
Of course, adding an option like -r / -f, etc so the files get purged or adding interactive prompts is another way to resolve this, but I wouldn't invest too much time in this as it's a one-way street program and the target audience isn't too huge probably..
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list