[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-chat
Subject:    Re: Cleaning up packages after cd /usr/ports && make
From:       Oliver Fromme <olli () lurza ! secnetix ! de>
Date:       2006-01-17 8:40:52
Message-ID: 200601170840.k0H8eqR1020609 () lurza ! secnetix ! de
[Download RAW message or body]

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
_______________________________________________
freebsd-chat@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic