Dpkg changes

From wikieduonline
Revision as of 09:42, 26 December 2019 by Welcome (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Get a list of recently installed packages
    • zcat -f /var/log/dpkg.log* | grep "\ install\ " | sort
  • Get a list of recently upgraded packages
    • zcat -f /var/log/dpkg.log* | grep "\ upgrade\ " | sort
  • Get a list of recently installed or upgraded packages
    • zcat -f /var/log/dpkg.log* | egrep "\ install\ |\ upgrade\ " | sort -nk1


See also

  • https://linux.die.net/man/8/update-alternatives
  • Advertising: