Re: how to get the date of the last upgrade?



On Fri, 06 Jan 2012 18:38:15 +0100, Meike Stone wrote:

how can I get information when the last upgrade ("update") was done
(apt-get upgrade or aptitude *-upgrade).

"/var/log/apt/term.log" should tell.



I tried this and it that seems that this file is not very reliable, or
the logrotate does delete all other. The system is from 2008 an the
term.log shows me only two entires from 2011.

Yup, that's for the "latest" update run.

The remainder updates are archived under "/var/log/apt/term.log.*.gz".

On rpm systems, I can use rpm -qa --last. Is there any similar command
on debian?

Ah, that command reminds my days with openSUSE :-)

In Debian there are also "/var/log/dpkg.log.*.gz" files which list the
installed packages sorted by time.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/pan.2012.01.06.18.19.21@xxxxxxxxx



Relevant Pages

  • Re: how to get the date of the last upgrade?
    ... (apt-get upgrade or aptitude *-upgrade). ... the logrotate does delete all other. ... On rpm systems, I can use rpm -qa --last. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • help please! Error with apt-get, dpkg and aptitude
    ... When i run: apt-get upgrade or when i run aptitude to install or remove or upgrade a package, or when i use dpkg, debia answer me the next: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Safest way to upgrade Sid after long interval?
    ... I made best experience with apt-get upgrade, then after it, apt-get ... This worked better than the alternative: aptitude safe-upgrade after ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • how to get the date of the last upgrade?
    ... (apt-get upgrade or aptitude *-upgrade). ... I have a few machines here, and I want to know when the last "system ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Safest way to upgrade Sid after long interval?
    ... I made best experience with apt-get upgrade, then after it, apt-get ... This worked better than the alternative: aptitude safe-upgrade after ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)