From owner-freebsd-questions@FreeBSD.ORG Sun Sep 4 11:03:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D32091065673 for ; Sun, 4 Sep 2011 11:03:13 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 4B8D88FC12 for ; Sun, 4 Sep 2011 11:03:13 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p84B37Fw027680 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 4 Sep 2011 12:03:07 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p84B37Fw027680 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1315134187; bh=TWPJFjwnCt2BS6335AN3OgAmuGfiJ9Gn3XDbTQn4PTQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4E635AE3.6050505@infracaninophile.co.uk>|Date:=20S un,=2004=20Sep=202011=2012:02:59=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:6.0.1)=20Gecko/2 0110830=20Thunderbird/6.0.1|MIME-Version:=201.0|To:=20Richard=20Co llyer=20|CC:=20freebsd-questions@freebsd.o rg|Subject:=20Re:=20Date=20Ports=20Installed=20or=20Install=20Log| References:=20<4E634D5D.5010209@blueapex.co.uk>|In-Reply-To:=20<4E 634D5D.5010209@blueapex.co.uk>|X-Enigmail-Version:=201.3.1|OpenPGP :=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20micalg=3Dp gp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A =20boundary=3D"------------enigC65006AB510CAFDEAB8A8641"; b=lLEAOHTGH7kewW7i7BVHnjg6iq8m0s6NaBjsoxrfoqtBCvrlcYJhQhhMLOZP7s6ll wfX0a52b304eeicfFlgCJ9W6Nh93t0fY9KIbyDaX4FCAEHfAHY3Y5j6FkpfwO01rbV 6lRQ9cxNWNqAej6WPUWLs+OAz1Qpdje/mQ6VvNZ0= Message-ID: <4E635AE3.6050505@infracaninophile.co.uk> Date: Sun, 04 Sep 2011 12:02:59 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: Richard Collyer References: <4E634D5D.5010209@blueapex.co.uk> In-Reply-To: <4E634D5D.5010209@blueapex.co.uk> X-Enigmail-Version: 1.3.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC65006AB510CAFDEAB8A8641" X-Virus-Scanned: clamav-milter 0.97.2 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Date Ports Installed or Install Log X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2011 11:03:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC65006AB510CAFDEAB8A8641 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/09/2011 11:05, Richard Collyer wrote: > I was trying to get CUPS working last night and installed > gutenprint-cups but the make failed half way through - managed to get > the printer working without it so no longer need it. As a result its > installed a fair number of packaged (mostly X11 related) that I don't > need on this headless server so I'd like to tidy them up. >=20 > Is there a way of finding out what date/order ports have been installed= > or is the output that is sent over ssh logged anywhere so I can trace > back and find out what packages I need to nerf. Look at the file modification times in the directories under /var/db/pkg -- that will tell you the last time the port was updated or installed. Note: you can't rely on the modification time of the port directory itself. Tools like portmaster(1) will create additional files within the directory, which affects that timestamp. An example -- choosing one of my installed ports pretty much arbitrarily: lucid-nonsense:/var/db/pkg:% ls -la postgresql-client-9.0.4_1/ total 107 -rw-r--r-- 1 root wheel 29 Jun 11 23:22 +COMMENT -rw-r--r-- 1 root wheel 112912 Jul 9 10:23 +CONTENTS -rw-r--r-- 1 root wheel 1282 Jun 11 23:22 +DESC -rw-r--r-- 1 root wheel 831 Jun 11 23:22 +DISPLAY -rw-r--r-- 1 root wheel 17550 Jun 11 23:22 +MTREE_DIRS -rw-r--r-- 1 root wheel 771 Sep 3 09:19 +REQUIRED_BY drwxr-xr-x 2 root wheel 8 Sep 3 09:19 ./ drwxr-xr-x 377 root wheel 377 Sep 3 09:22 ../ You can see that there are 3 different dates here: Sept 3rd at 09:19 -- this is the last time I ran portmaster to update my ports. Note that its the +REQUIRED_BY file that has been updated. One of the ports that requires postgresql-client was updated then. Jul 11 at 23:22 -- most of the files were modified at this time, and it is in fact when I last updated postgresql-client on that machine. Jul 9 at 10:23 -- +CONTENTS is a few days older than the other files. This is because I installed postgresql-client from a package I'd built in a separate jail a slightly earlier. This is the date the package was built. Therefore, in order to see the packages installed during your abortive attempt to deal with gutenprint-cups, try: # cd /usr/ports/packages # ls -lrt */+COMMENT That will list all your installed ports in order of the last time they were updated, most recent ones last. You should be able to identify the appropriate date range and work from there. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigC65006AB510CAFDEAB8A8641 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5jWusACgkQ8Mjk52CukIwIrQCePL05e8KVkoOP3gMQSJWMyCy5 B+gAnRmLZhcHbUmg2RX9uf2ZL3ZJb00u =P9/D -----END PGP SIGNATURE----- --------------enigC65006AB510CAFDEAB8A8641--