pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: To batch deinstall packages that were installed by mistake via pkgsrc



On Thu, Jul 11, 2013 at 09:22:16AM +0900, Isaac Isao Saito wrote:
 > Is there a way to clearly differentiate the packages that were
 > installed by the command above, and de-install them?
 > 
 > I though if `pkg_info` returns the date installed that could be
 > useful, but it actually doesn't.

pkg_info is the official interface to the package db, but it's not the
only possible way.

For this particular purpose, you may find it easiest to do this:

   cd /var/db/pkg       (or wherever you have the package db)
   ls -lrt */+BUILD_INFO

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index