How to tell when a package was last updated?
Colin Law
clanlaw at gmail.com
Wed Jun 3 13:37:49 UTC 2020
You can use zgrep to search for the package name through the files. It
will search all of them if you use a wildcard in the file definition.
On Wed, 3 Jun 2020 at 14:30, Chris Green <cl at isbd.net> wrote:
>
> 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
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list