ubuntu19.10升级
不需要修改/etc/apt/soures.list
do-release-upgrade
?
升級過程會自動更改版本
(Python3.6) appleyuchi@Laptop:apt$ lsb_release -a
No LSB modules are available.
Distributor ID:?? ?Ubuntu
Description:?? ?Ubuntu 20.04.2 LTS
Release:?? ?20.04
Codename:?? ?focal
?
然后順便把依賴換了吧
/etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
?
?
Reference:
Linux 解決E: Sub-process /usr/bin/dpkg returned an error code (1)錯誤
總結(jié)
以上是生活随笔為你收集整理的ubuntu19.10升级的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 银行储蓄卡止付和冻结的区别
- 下一篇: Ubuntu Server搭建FTP服务