Difference between revisions of "Ubuntu notes"
Jump to navigation
Jump to search
(Create new page for Ubuntu configuration and maintenance notes.) |
m (Disk usage utility calls.) |
||
Line 6: | Line 6: | ||
$ sudo apt do-release-upgrade | $ sudo apt do-release-upgrade | ||
+ | |||
+ | When disk space is too small on a partition . . . | ||
+ | |||
+ | * https://runcloud.io/blog/used-disk-space-linux#using-built-in-utilities-to-check-disk-usage | ||
+ | |||
+ | $ du -s * | sort -nr | head -n10 | ||
+ | |||
+ | To safely remove an old kernel image and related files from /boot . . . | ||
+ | |||
+ | |||
Notes | Notes | ||
(1) https://www.cyberciti.biz/faq/ubuntu-bash-do-release-upgrade-command-not-found/ | (1) https://www.cyberciti.biz/faq/ubuntu-bash-do-release-upgrade-command-not-found/ |
Revision as of 23:49, 4 June 2025
As of 2025 Q2 Ubuntu server dist upgrades require a package which is not installed in minimal Ubuntu install processes. To install the automating distribution upgrader (note 1):
$ sudo apt install ubuntu-release-upgrader-core
To start the distribution upgrade:
$ sudo apt do-release-upgrade
When disk space is too small on a partition . . .
$ du -s * | sort -nr | head -n10
To safely remove an old kernel image and related files from /boot . . .
Notes
(1) https://www.cyberciti.biz/faq/ubuntu-bash-do-release-upgrade-command-not-found/