我的电脑上一直在运行 Ubuntu 18.04,由于某些情况需要,我停止使用它一段时间了。我终于能够再次开始使用它了,但我希望电脑拥有最新的 Ubuntu 20.04 版本。我启动了它,并使用 apt-get 将软件包升级到最新版本。一切顺利,所以我决定update-manager
通过以 root 身份发出命令来升级到 Ubuntu 20.04 update-manager -c -d 2>&1 | tee /root/"20.04 Upgrade Output.txt"
。
升级过程进展顺利,它要求我确认由于软件包升级而需要重新启动的一些软件包libc
。确认后,我离开并回来发现命令行中有一个我不明白的错误。我试图重新发出命令update-manager
两次。每次我都收到相同的错误。我不明白这个错误,也不知道该怎么做才能完成升级。我关闭了电脑,没有继续进行。我可以下载 Ubuntu 20.04 iso 映像并将其刻录到 DVD,但我根本没有尝试对电脑做任何事情。我将所有输出重定向到的日志文件上传到我的 Box 帐户,并创建了一个链接,我将在下面包含该链接。这些loading .desktop file
错误没有导致任何崩溃。最后一个double free detected
错误是发生崩溃的错误。我怎样才能成功完成升级?
正如我回复第一条评论时所说,我已经成功chroot
地使用此链接中的信息进入了系统LiveCD 恢复(标题为“更新失败”)。我可以正常发出命令。我正在附加文件/var/log/dpkg.log
和/var/log/apt/history.log
文件。日志文件中的日期似乎不正确(可能是计算机时钟设置不正确),但我很确定日志与升级有关。也许现在有某种方法可以apt-get
恢复升级?
我还将该/var/log/apt/term.log
文件与我已附加的其他日志文件一起附加。
https://app.box.com/s/bztzwo352vq2l1czxd8ihcrno87f53c7 /var/log/dpkg.log /var/log/apt/history.log /var/log/apt/term.log
[06:45][root@jose-desktop: ~]# update-manager -c -d 2>&1 | tee /root/"20.04 Upgrade Output.txt"
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/ardour:ardour.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/bluedevil:bluedevil-monolithic.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/five-or-more.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/five-or-more:five-or-more.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/four-in-a-row.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/four-in-a-row:four-in-a-row.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/gbrainy.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gbrainy:gbrainy.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/gnome-chess.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gnome-chess:gnome-chess.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/gnome-klotski.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gnome-klotski:gnome-klotski.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/gnome-mahjongg.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gnome-mahjongg:gnome-mahjongg.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/gnome-mines.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gnome-mines:gnome-mines.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/org.gnome.Nibbles.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gnome-nibbles:gnome-nibbles.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/gnome-robots.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gnome-robots:gnome-robots.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/gnome-sudoku.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gnome-sudoku:gnome-sudoku.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/gnome-tetravex.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gnome-tetravex:gnome-tetravex.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gnome-user-share:gnome-user-share-properties.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/gparted:gparted.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/org.gnome.Hitori.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/hitori:hitori.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/iagno.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/iagno:iagno.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/imagemagick-6.q16:display-im6.q16.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/kio:kmailservice5.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/openshot:openshot.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/quadrapassel.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/quadrapassel:quadrapassel.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/tali.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/tali:tali.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/vino:vino-preferences.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/xboard-config.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/xboard-fen-viewer.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/xboard-pgn-viewer.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/xboard-tourney.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/applications/xboard.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/xboard:xboard-fen-viewer.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/xboard:xboard.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/xboard:xboard-config.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/xboard:xboard-pgn-viewer.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/xboard:xboard-tourney.desktop: constructor returned NULL
WARNING:root:Error loading .desktop file /usr/share/app-install/desktop/xjadeo:xjadeo.desktop: constructor returned NULL
free(): double free detected in tcache 2
Aborted (core dumped)