Apt notes: Difference between revisions
Jump to navigation
Jump to search
m (→Apt notes) |
mNo edit summary |
||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
The lazy mans update | |||
<pre> | |||
apt update; apt dist-upgrade -y ; apt autoremove -y ; apt clean ; apt purge ; update-grub | |||
</pre> | |||
[[Category:Ubuntu]] | [[Category:Ubuntu]] |
Latest revision as of 10:09, 27 June 2023
Apt notes
holding package
$ sudo apt-mark hold package-name $ sudo apt-mark hold mariadb-server
show held packages
$ apt-mark showhold
release package holds
$ sudo apt-mark unhold pacakgeName $ sudo apt-mark unhold mariadb-server
The lazy mans update
apt update; apt dist-upgrade -y ; apt autoremove -y ; apt clean ; apt purge ; update-grub