Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_install / files / delete
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pkgsrc-2009Q4-base
Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 25 16:29:08 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
pkg_install-20090225: Rewrite pkg_delete to expand the list of packages to delete first and reorder it if necessary. It will bail out if it knows in advance that it can't remove a package. It will also fail for errors while removing one package, unless forced. Add an option to remove automatically installed packages that are no longer used. The pkgviews support is kept, but untested. The error handling for pkgviews most of all is as weak as before. Basic review from hubertf@, man page changes by bad@.