Date: Tue, 17 Jan 2006 09:40:52 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-chat@FreeBSD.ORG Subject: Re: Cleaning up packages after cd /usr/ports && make Message-ID: <200601170840.k0H8eqR1020609@lurza.secnetix.de> In-Reply-To: <43C7C7EB.5040302@wm-access.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Sten Daniel Sørsdal <lists@wm-access.no> wrote: > I managed to tell a coworker of mine to go into /usr/ports and and type > make on a production server. He let it run for 6 hours before complaining. The easiest way to get rid of the packages is probably to type "ls -lart /var/db/pkg" -- it'll list package names, sorted by time (youngest last), so you just look at the bottom of the list for those which have been installed in the past 6 hours. Then use pkg_delete on them in reverse order, i.e. bottom-up. You might get a few warnings because of dependencies (non-leaf ports) which will not be removed; you can simply ignore them. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "A language that doesn't have everything is actually easier to program in than some that do." -- Dennis M. Ritchie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601170840.k0H8eqR1020609>