Re: how to get the date of the last upgrade?
On Mon, 09 Jan 2012 11:19:27 +0100, Meike Stone wrote:
>>> 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.
>>
>>
>
> Problem with this files is the logrotate. Default it keep only 6/12
> versions ...
> But many Thanks!
You can setup logrotate to do not delete the files and stores at your
wish (forever, 5 years, one year...) though I would not recommend it :-)
Greetings,
--
Camaleón
Reply to: