How to upgrade a single package if needed using apt.

This command will update a single package upon request. This would be very useful if you want to update only one critical package on a Debian system. dpkg -s <package> 2>/dev/null | grep -q Status.*installed && sudo apt-get install <package>dpkg -s <package> 2>/dev/null | grep -q Status.*installed && sudo apt-get install <package> I found this … Read more