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
Reply to: