From owner-freebsd-chat@FreeBSD.ORG Tue Jan 17 08:40:54 2006 Return-Path: X-Original-To: freebsd-chat@FreeBSD.ORG Delivered-To: freebsd-chat@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C67C16A41F for ; Tue, 17 Jan 2006 08:40:54 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id E068A43D45 for ; Tue, 17 Jan 2006 08:40:53 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (qfmhmd@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k0H8eqRl020610 for ; Tue, 17 Jan 2006 09:40:52 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k0H8eqR1020609; Tue, 17 Jan 2006 09:40:52 +0100 (CET) (envelope-from olli) Date: Tue, 17 Jan 2006 09:40:52 +0100 (CET) Message-Id: <200601170840.k0H8eqR1020609@lurza.secnetix.de> From: Oliver Fromme To: freebsd-chat@FreeBSD.ORG In-Reply-To: <43C7C7EB.5040302@wm-access.no> X-Newsgroups: list.freebsd-chat User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Cleaning up packages after cd /usr/ports && make X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-chat@FreeBSD.ORG List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2006 08:40:54 -0000 Sten Daniel Sørsdal 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