ubuntu错误解决E: Sub-process /usr/bin/dpkg returned an error code (1)
lwk@qwfys ~ $ sudo apt-get update --fix-missing
Hit:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
Ign:2 http://mirrors.ustc.edu.cn/linuxmint sylvia InRelease
Hit:3 http://mirrors.ustc.edu.cn/ubuntu xenial InRelease
Get:4 http://mirrors.ustc.edu.cn/ubuntu xenial-updates InRelease [109 kB]
Get:5 http://mirrors.ustc.edu.cn/ubuntu xenial-backports InRelease [107 kB]
Get:6 http://mirrors.ustc.edu.cn/linuxmint sylvia Release [24.2 kB]
Get:7 http://mirrors.ustc.edu.cn/linuxmint sylvia Release.gpg [819 B]
Get:8 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/main amd64 Packages [775 kB]
Get:9 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/main i386 Packages [713 kB]
Get:10 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/universe amd64 Packages [626 kB]
Get:11 http://mirrors.ustc.edu.cn/ubuntu xenial-updates/universe i386 Packages [576 kB]
Hit:12 http://download.virtualBox.org/virtualBox/debian xenial InRelease
Hit:13 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Get:14 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:15 http://archive.canonical.com/ubuntu xenial InRelease
Fetched 3,038 kB in 1min 7s (44.7 kB/s)
Reading package lists... Done
lwk@qwfys ~ $ sudo apt-get autoremove && sudo apt-get clean && sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded,0 newly installed,0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded,0 to remove and 0 not upgraded.
lwk@qwfys ~ $
参考文献