config:ubuntu18-20-upgrade
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:ubuntu18-20-upgrade [2020/08/22 23:02] – Wuff | config:ubuntu18-20-upgrade [2025/11/23 12:11] (current) – removed Wuff | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Ubuntu 18.04 -> 20.04 upgrade ====== | ||
| - | < | ||
| - | sudo do-release-upgrade -d | ||
| - | </ | ||
| - | Kodi-specific: | ||
| - | |||
| - | |||
| - | remove unnecessary locales | ||
| - | < | ||
| - | list available locales: | ||
| - | localedef --list-archive | ||
| - | locale -a | ||
| - | </ | ||
| - | then remove all BUT THE ONES LISTED: | ||
| - | < | ||
| - | |||
| - | < | ||
| - | After that, you could reboot or try to run '' | ||
| - | |||
| - | To reconfigure this, simply enter the following in terminal: | ||
| - | < | ||
| - | |||
| - | reinstate ppas after upgrade by uncommenting sources | ||
| - | |||
| - | < | ||
| - | |||
| - | Remove snap/lxd: | ||
| - | < | ||
| - | sudo apt autoremove --purge snapd gnome-software-plugin-snap | ||
| - | </ | ||
| - | |||
| - | Remove legacy xorg drivers, keep only intel | ||
| - | < | ||
| - | 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 | ||
| - | </ | ||
| - | |||
| - | remove edid firmware patch and update initramfs and grub | ||
| - | < | ||
| - | vi / | ||
| - | </ | ||
| - | set | ||
| - | < | ||
| - | GRUB_CMDLINE_LINUX_DEFAULT=" | ||
| - | </ | ||
| - | < | ||
| - | sudo update-grub | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | sudo apt-get install xserver-xorg-legacy xserver-xorg-video-intel | ||
| - | </ | ||
| - | #set to everyone | ||
| - | < | ||
| - | sudo dpkg-reconfigure xserver-xorg-legacy | ||
| - | </ | ||
| - | < | ||
| - | sudo vi / | ||
| - | </ | ||
| - | add | ||
| - | < | ||
| - | needs_root_rights=yes | ||
| - | </ | ||
| - | |||
| - | Adjust Alsa options: | ||
| - | < | ||
| - | sudo vi / | ||
| - | </ | ||
| - | < | ||
| - | #options snd-hda-intel enable_msi=1 bdl_pos_adj=1, | ||
| - | options snd-hda-intel power_save=0 power_save_controller=N | ||
| - | </ | ||
| - | OR | ||
| - | < | ||
| - | sudo echo -e '\n# Disable snd-hda-intel power saving\noptions snd-hda-intel power_save=0 power_save_controller=N\n' | ||
| - | </ | ||
| - | |||
| - | Reinstall virtualbox (if required): | ||
| - | < | ||
| - | sudo apt install virtualbox virtualbox-qt | ||
| - | </ | ||
| - | |||
| - | Install tortoisehg (if required): | ||
| - | https:// | ||
| - | https:// | ||
| - | < | ||
| - | mkdir ~/temp 2>/ | ||
| - | cd ~/temp | ||
| - | sudo apt install python-is-python3 | ||
| - | python --version | ||
| - | sudo apt install -y python3-pip build-essential | ||
| - | sudo apt install -y mercurial | ||
| - | hg clone https:// | ||
| - | hg clone https:// | ||
| - | cd thg | ||
| - | pip3 install pyqt5 | ||
| - | pip3 install qscintilla | ||
| - | sudo apt install -y pyqt5.qsci-dev | ||
| - | pip3 install mercurial | ||
| - | sudo apt install -y python3-iniparse | ||
| - | make local | ||
| - | cd ~/temp | ||
| - | rm -rf ~/ | ||
| - | mkdir ~/ | ||
| - | mv thg/* ~/ | ||
| - | vi ~/ | ||
| - | pip3 install qscintilla | ||
| - | sudo apt-get install python3-pyqt5.qsci | ||
| - | </ | ||
| - | |||
| - | Keepass2: | ||
| - | < | ||
| - | sudo apt-get install --reinstall keepass2 | ||
| - | sudo apt-get install --reinstall keepass2-plugin-tray-icon keepass2-plugin-libimagemagick keepass2-plugin-libdbus | ||
| - | </ | ||
config/ubuntu18-20-upgrade.1598133724.txt.gz · Last modified: (external edit)