[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-? method to get list of current packages installed



Roberto C. Sanchez on 30/08/05 17:19, wrote:
On Tue, Aug 30, 2005 at 04:50:30PM +0100, Adam Hardy wrote:

Roberto C. Sanchez on 30/08/05 15:51, wrote:

On Tue, Aug 30, 2005 at 04:43:18PM +0200, Robert Waldner wrote:

On Tue, 30 Aug 2005 07:41:11 PDT, Eric Brown writes:

How do I get a list of the packages I currently have installed?

`dpkg -l | egrep ^ii`

It'd be really nice if I could find out when they were installed too.

I don't think this information is kept.

If you always use aptitude, then /var/log/aptitude keeps the information.
-Roberto

dpkg --get-selections

dpkg -L your-package-name



That will only tell you what packages are installed and what files a
packages installed, respectively.  Neither of thise tells you *when* a
package was installed.

Whoops, misread the pronoun.

How about

ls -la /var/cache/apt/archives/


Adam




--


There are places I'll remember, all my life, though some have changed, like Debian Linux 2.6.12.3



Reply to: