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

From: Adam Hardy (adam.ant_at_cyberspaceroad.com)
Date: 08/31/05

  • Next message: Bryan Donlan: "Re: I messed up bootmisc.sh - now can't log in!"
    Date: Wed, 31 Aug 2005 00:43:04 +0100
    To: debian-user@lists.debian.org
    
    

    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
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Bryan Donlan: "Re: I messed up bootmisc.sh - now can't log in!"

    Relevant Pages

    • Re: Many packages missing from testing
      ... Roberto C. Sanchez wrote: ... >>Now for about two weeks there have been many packages out of testing. ... Those missing packages prevent me from ...
      (Debian-User)
    • Re: RPMS.at-good and RPMS.at-stable
      ... > eric tanguy wrote: ... misread the question last time. ... > Paul. ... So if i understand well all packages from at-stable are included in ...
      (Fedora)
    • Re: Trouble with "apt-get dist-upgrade"
      ... > install". ... >> what packages you needed and got them ... I misread the output and thought that ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)
    • Re: php5
      ... Is website actualized alaways when new stable is public? ... > - New packages will not be added to stable. ... > Roberto C. Sanchez ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)
    • Re: anypne know what happened to this repository
      ... It went away now that the packages have been uploaded to Sid. ... Roberto C. Sanchez ...
      (Debian-User)