Dpkg changes

From wikieduonline
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: