User Tools

Site Tools


config:ubuntu18-20-upgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:ubuntu18-20-upgrade [2020/08/16 00:54] Wuffconfig:ubuntu18-20-upgrade [2025/11/23 12:11] (current) – removed Wuff
Line 1: Line 1:
-====== Ubuntu 18.04 -> 20.04 upgrade ====== 
- 
-<code> 
-sudo do-release-upgrade -d 
-</code> 
-Kodi-specific: keep pam config, keep security/limits config, resolved.conf blacklist.conf /etc/sysctl.conf openssh server conf  unattended upgrades mysqld.conf apticron 
- 
- 
-remove unnecessary locales 
-<code> 
-list available locales: 
-localedef --list-archive 
-locale -a 
-</code> 
-then remove all BUT THE ONES LISTED: 
-<code>sudo locale-gen --purge <locales YOU WANT TO KEEP> en_GB.utf8 en_US.utf8</code> 
- 
-<code>sudo apt-get install localepurge</code> 
-After that, you could reboot or try to run ''. /etc/default/locale''. 
- 
-To reconfigure this, simply enter the following in terminal: 
-<code>sudo dpkg-reconfigure localepurge</code> 
- 
-reinstate ppas after upgrade by uncommenting sources  https://askubuntu.com/questions/111645/whats-the-best-way-to-re-enable-ppas-repos-after-an-upgrade 
- 
-<code>for f in /etc/apt/sources.list.d/*.list; do sudo sed -i 's/bionic/focal/g' $f; sudo sed -i 's/^# \(.*\) # disabled on upgrade to.*/\1/g' $f;done</code> 
- 
-Remove snap/lxd: 
-<code> 
-sudo apt autoremove --purge snapd gnome-software-plugin-snap 
-</code> 
- 
-Remove legacy xorg drivers, keep only intel 
-<code> 
-sudo apt-get purge xserver-xorg-video-vmware xserver-xorg-video-radeon xserver-xorg-video-qxl xserver-xorg-video-nouveau xserver-xorg-video-intel-hwe-18.04 xserver-xorg-video-ati xserver-xorg-video-amdgpu xserver-xorg-legacy-hwe-18.04 xserver-xorg-legacy xserver-xorg-video-all xserver-xorg-hwe-18.04 xserver-xorg-core-hwe-18.04 xserver-xorg-video-fbdev xserver-xorg-video-vesa xserver-xorg-video-intel 
-</code> 
- 
-Recreate edid firmware patch and update initramfs and grub 
- 
-<code> 
-sudo apt-get install xserver-xorg-legacy xserver-xorg-video-intel 
-</code> 
-#set to everyone 
-<code> 
-sudo dpkg-reconfigure xserver-xorg-legacy 
-</code> 
-<code> 
-sudo vi /etc/X11/Xwrapper.config 
-</code> 
-add 
-<code> 
-needs_root_rights=yes 
-</code> 
- 
  
config/ubuntu18-20-upgrade.1597535687.txt.gz · Last modified: (external edit)