无法从16.04升级到18.04,没有真正的错误?


10

我收到通知,说我的桌面安装有更新,但无法这样做。我看不到真正的错误消息。我已经跑了sudo apt autoremovesudo apt upgrade而且sudo apt install,它给了0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded。这是我运行时的屏幕do-release-upgrade

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit http://archive.canonical.com xenial InRelease
Hit http://security.ubuntu.com/ubuntu xenial-security InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Mon Aug 20 20:34:56 2018) ===

这是我的main.log:

2018-08-20 20:34:50,649 INFO Using config files '['./DistUpgrade.cfg.xenial']'
2018-08-20 20:34:50,649 INFO uname information: 'Linux egwene 4.4.0-133-generic #159-Ubuntu SMP Fri Aug 10 07:26:31 UTC 2018 i686'
2018-08-20 20:34:50,862 INFO apt version: '1.2.15ubuntu0.2'
2018-08-20 20:34:50,862 INFO python version: '3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609]'
2018-08-20 20:34:50,864 INFO release-upgrader version '18.04.24' started
2018-08-20 20:34:50,868 INFO locale: 'en_US' 'UTF-8'
2018-08-20 20:34:51,059 DEBUG Using 'DistUpgradeViewText' view
2018-08-20 20:34:51,111 DEBUG enable dpkg --force-overwrite
2018-08-20 20:34:51,150 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2018-08-20 20:34:54,329 DEBUG lsb-release: 'xenial'
2018-08-20 20:34:54,330 DEBUG _pythonSymlinkCheck run
2018-08-20 20:34:54,331 DEBUG openCache()
2018-08-20 20:34:54,332 DEBUG No such plugin directory: ./plugins
2018-08-20 20:34:54,332 DEBUG plugins for condition 'PreCacheOpen' are '[]'
2018-08-20 20:34:54,332 DEBUG plugins for condition 'bionicPreCacheOpen' are '[]'
2018-08-20 20:34:54,332 DEBUG plugins for condition 'from_xenialPreCacheOpen' are '[]'
2018-08-20 20:34:54,333 DEBUG quirks: running PreCacheOpen
2018-08-20 20:34:54,333 DEBUG running Quirks.PreCacheOpen
2018-08-20 20:34:54,721 DEBUG /openCache(), new cache size 56038
2018-08-20 20:34:54,721 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2018-08-20 20:34:54,721 DEBUG checkViewDepends()
2018-08-20 20:34:54,721 DEBUG running doUpdate() (showErrors=False)
2018-08-20 20:34:55,529 DEBUG openCache()
2018-08-20 20:34:55,939 DEBUG /openCache(), new cache size 56038
2018-08-20 20:34:55,940 DEBUG doPostInitialUpdate
2018-08-20 20:34:55,940 DEBUG plugins for condition 'PostInitialUpdate' are '[]'
2018-08-20 20:34:55,940 DEBUG plugins for condition 'bionicPostInitialUpdate' are '[]'
2018-08-20 20:34:55,940 DEBUG plugins for condition 'from_xenialPostInitialUpdate' are '[]'
2018-08-20 20:34:55,940 DEBUG quirks: running bionicPostInitialUpdate
2018-08-20 20:34:55,940 DEBUG running Quirks.bionicPostInitialUpdate
2018-08-20 20:34:55,951 DEBUG abort called
2018-08-20 20:34:55,951 DEBUG openCache()
2018-08-20 20:34:55,951 DEBUG failed to SystemUnLock() (E:Not locked)
2018-08-20 20:34:56,356 DEBUG /openCache(), new cache size 56038

这可能是什么问题?

编辑

使用WinEunuuchs2Unix提供的链接,这是我的PPA链接:

'http://us.archive.ubuntu.com/ubuntu/ xenial main restricted'
'http://us.archive.ubuntu.com/ubuntu/ xenial universe'
'http://us.archive.ubuntu.com/ubuntu/ xenial multiverse'
'http://security.ubuntu.com/ubuntu xenial-security main restricted'
'http://security.ubuntu.com/ubuntu xenial-security universe'
'http://security.ubuntu.com/ubuntu xenial-security multiverse'
'http://archive.canonical.com/ xenial partner'

我正在比较成功升级后的日志;直到排队为止看起来都像你的一样running Quirks.bionicPostInitialUpdate。我的下一行是MetaPkgs lubuntu-core lubuntu-desktop。该日志不提供信息!
有机大理石

嗯,由于您谨慎地将它包含在问题中的某些命令中,但不是这个命令,您确实做了sudo do-release-upgrade,对吗?
有机大理石'18

1
是的,这两个日志来自于此。我已经在有和没有sudo的情况下完成了它,并且给出了完全相同的输出。
aynber

sudo apt update以前跑过sudo do-release-upgrade吗?如果是这样,您可以列出在此问答中找到的所有ppa以及命令:askubuntu.com/questions/148932/…–
WinEunuuchs2Unix

您尝试使用sudo update-manager还是没有台式机?
pbhj

Answers:


0

尝试:

sudo apt-get install lsb-core

然后升级

有时,此软件包已丢失或损坏,并且安装程序很难确定当前正在运行哪个版本。如果您使用Google进行搜索,则会有很多抱怨。在Debian中可能会发生同样的情况。


有时,该软件包丢失或损坏,并且安装程序很难确定当前正在运行哪个版本。如果您使用Google进行搜索,则会有很多抱怨。
喷射

软件包lsb-core不可用,但由另一个软件包引用。这可能意味着该软件包已丢失,已被废弃或只能从其他来源获得。E:“ lsb-core”软件包没有安装候选软件
aynber


0

哇我真瞎

我想念xenial-updates软件包的源代码。

展开/etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse

更新xenial

sudo apt update && sudo apt full-upgrade

然后再试一次。如果这不起作用,我就没主意了。

而且您知道备份1。


我已经通过完全安装来修复它,因为Ubuntu不再支持32位安装。
aynber

Öhm,我的仿生设备是xenial的32位升级
没人
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.