upgrade xubuntu from 18.04 LTS to 20.04 LTS

本文档详细介绍了如何将系统源从Bionic升级到Focal,并提供了Xubuntu 20.04升级后的解决方案,包括Chrome浏览器、VMware内核模块、Steam、休眠、屏幕保护、Wine和Python第三方库等问题的修复步骤。

1, change source.list from bionic to focal

deb http://mirrors.163.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ focal-backports main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ focal-backports main restricted universe multiverse

#deb https://dl.winehq.org/wine-builds/ubuntu/ focal main

2, upgrade to xubuntu 20.04 Focal

$sudo apt update
$sudo apt dist-upgrade

3, fix xubuntu 20.04 issues

(3.1) chrome browser issue

chromium-browser需要首先安装snap,改为直接下载并安装google-chrome

$sudo apt remove chromium-browser
$sudo apt autoremove --purge snapd
$wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$sudo apt install ./google-chrome-stable_current_amd64.deb

拷贝chromium-browser的配置信息

$cp -r ~/.config/chromium/* ~/.config/google-chrome/

(3.2) vmware kernel module updater issue

refer to https://blog.youkuaiyun.com/Aginouxy/article/details/104652991

(3.3) steam issue

$sudo apt install steam

(3.4) hibernate grayed issue

$su
#cd /etc/polkit-1/localauthority/50-local.d
#vim com.ubuntu.enable-hibernate.pkla
#reboot

contents of 'com.ubuntu.enable-hibernate.pkla': 

[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes

(3.5) xfce4-screensaver issue, use xscreensaver by default

$sudo apt remove xfce4-screensaver

(3.6) wine issue (libncurses): 

Wine cannot find the ncurses library (libncurses.so.6).
$sudo apt install libncurses6:i386

(3.7) python3 3rd-party libraries

$pip3 install cx-Oracle jsbeautifier paramiko pyinstaller pyqt5==5.12.2 regex sqlparse xlsxwriter

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值