Andreas 'AnZy' Zymny <andreas(at)zymny.de> wrote:
> Ich hatte die Tage ein Programm installiert, das eine halbe Millionen
> Ports zusaetzlich installiert hat. Da ich das Programm nicht so recht
> verstehe und nicht wirklich gut finde, will ich es wieder los werden.
>
> Aber incl. aller nachtraeglich installierten Pakete!
Ich behelfe mir in so einem Fall meistens folgendermaßen:
cd /var/db/pkg
find */+DESC -mtime -7 | xargs ls -t | cut -f1 -d/
Das listet alle Pakete auf, die in den letzten 7 Tagen in-
stalliert worden sind (das jüngste zuerst). Wenn man weiß,
was man tut, kann man die Ausgabe dann einfach noch durch
»... | xargs -n1 pkg_remove« füttern, um die zu entfernen.
Pakete, von denen noch etwas abhängt, bleiben dabei drin.
Gruß
Olli
-- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Tue 23 Mar 2004 - 15:40:15 CET