[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apt: List Recently Upgraded Packages?



Michael Ruebner wrote:
Hi folks,

Is there a switch for any of the apt family (get, cache, file) members
returning a listing of most recently upgraded packages? ifup/down
behaves rather erratically after a dist-upgrade to Sarge (stable), and
I'd like to check whether it got replaced by a more recent version.

If all else fails you can always search for the new .deb files in apt's
package cache (unless you autoclean that after every upgrade). The
"find" command is your friend here:

find /var/cache/apt/archives/ -type f -mtime -5 | sed 's/.*\///;s/_.*//'

(just copy-paste the above into a terminal window; make sure it is all
on one line.) The "-mtime -5" part means "modified less than five days
ago". Change the number of days as is appropriate for you.

ls -l /var/cache/apt/archives/ifupdown*

will show you the dates of the upgrades to the package ifupdown (for all
versions that are still in the cache).

Regards,
           Florian



Reply to: