How to tell when a package was last updated?
Chris Green
cl at isbd.net
Wed Jun 3 13:29:02 UTC 2020
On Wed, Jun 03, 2020 at 08:20:57AM -0400, Little Girl wrote:
> Hey there,
>
> Chris Green wrote:
> >Ian Bruntlett wrote:
> >> Chris Green wrote:
>
> >> Is there any way to see when apt (or dpkg below it) last
> >> updated a particular package?
>
> >> Yes. This web page offers some help on this:-
> >> [2]https://www.cyberciti.biz/faq/debian-ubuntu-linux-apt-get-aptitude-s
> >> how-package-version-command/
> >> Personally, with command line tools I use the --version option,
> >> where available.
> >> For GUI stuff I look it up in Synaptic. There are command line
> >> options such as apt list.
>
> >All those tell me is what version is installed now, it doesn't tell
> >me *when* it was installed which is what I want to know.
>
> These two files should give you that information:
>
> /var/log/apt/history.log
>
There's *very* little in this one, just the date of the *last* time I
ran apt and what was updated. .... but of course there are rotated
log files which go back quite a while which I can search through.
> /var/log/dpkg.log
>
As above, it's the older rotated log files I need to look at.
Thanks! :-)
--
Chris Green
More information about the ubuntu-users
mailing list