ale*_*dam 6 upgrade desktop-environments 20.04
我目前陷入从 18.04 到 20.04 的升级过程中,无法继续。
\n\nAn upgrade might not succeed. Do you want to continue anyway?[y]esSome third party entries in your sources.list were disabled. [\xe2\x80\xa6] To continue please press [ENTER][ENTER]appstreamcli: symbol lookup error: appstreamcli: undefined symbol: AS_APPSTREAM_METADATA_PATHS之间出现几次。如下:Hit http://security.ubuntu.com/ubuntu focal-security InReleaseHit http://ch.archive.ubuntu.com/ubuntu focal InReleaseE:Problem executing scripts APT::Update::Post-Invoke-Success \'if\n/usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;\nthen appstreamcli refresh-cache > /dev/null; fi\', E:Sub-process\nreturned an error code\n\nRestoring original system state\n\nAborting\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\n=== Command terminated with exit status 1 (Thu Apr 30 11:54:41 2020) ===\nRun Code Online (Sandbox Code Playgroud)\n\n现在,如果我按[r](“复活窗口”),循环将再次开始。
PS:似乎还有官方问题1873713,但似乎还没有任何记录的解决方案。
\n\nPPS:我也想知道While scanning your repository information no entry about eoan could be found.在这个升级循环中看到什么。因为Eoan Ermine 似乎是 19.10,而我是从 18.04 LTS 更新到 20.04 LTS。它本身看起来像ubuntu-release-upgraderbug 1851040。
if /usr/bin/test -w /var/cache/app-info \xe2\x80\xa6我在文件中注释掉了/etc/apt/apt.conf.d/50appstream。
后来 GDM 出现并且不让我登录(尽管我正在使用 lightdm)。\n虽然我第二次陷入困境并不得不终止更新进程,但我还是能够完成安装。我确信如果我使用的话会更好
\n\nsudo do-release-upgrade -f DistUpgradeViewNonInteractive\nRun Code Online (Sandbox Code Playgroud)\n\n相反(注意该DistUpgradeViewNonInteractive选项!)。这是来自 @user.dz 的建议,但只有在您可以接受/etc并且~/.config将被覆盖的情况下才应该这样做。
另外,如果您遇到此错误:
\n\n查看
\n\nsudo appstreamcli refresh-cache\nRun Code Online (Sandbox Code Playgroud)\n\n(也是来自@user.dz的建议)
\n| 归档时间: |
|
| 查看次数: |
10375 次 |
| 最近记录: |