AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[do-release-upgrade](ubuntu)

Martin Hope
floogy
Asked: 2024-10-17 07:27:02 +0800 CST

由于 usrmerge 和 Smartmatch,do-release-grade 失败

  • 5

我无法从 22.04 升级到 24.04.1,因为 do-release-upgrade 停止并且声称 usr 未合并。

但是如果我以 root 身份运行 usrmerge,它会出现一条消息,表明已成功合并 usr。

但还是有错误。我以为它可能会以 exit 1 退出,但事实似乎并非如此。echo $? 返回 0。

我创建了一个包装脚本,它调用 usrmerge 并以 0 退出。但 do-release-upgrade 仍然失败,声称 usr 未合并,我应该安装包 usrmerge 来解决这个问题。

$ sudo LANG=C do-release-upgrade
  Checking for a new Ubuntu release

  = Welcome to Ubuntu 24.04 LTS 'Noble Numbat' =
   
  [...]
  
  Reading state information... Done

  Cannot upgrade system with unmerged /usr 

  Please install the usrmerge package to fix this, and then try the 
  upgrade again. 


  Restoring original system state

  Aborting
  Reading package lists... Done    
  Building dependency tree... Done 
  Reading state information... Done
  === Command detached from window (Thu Oct 17 23:28:58 2024) ===
  === Command terminated with exit status 1 (Thu Oct 17 23:29:08      2024) ===

我编写了一个包装脚本,但是它像原始脚本一样返回 0,尽管原始脚本在第 172 行的 Smartmatch 上发出了警告。

$ sudo cat /usr/lib/usrmerge/convert-usrmerge
#!/bin/bash
/usr/lib/usrmerge/convert-usrmerge_bin 2> /dev/null
exit 0

运行包装器

$ sudo LANG=C /usr/lib/usrmerge/convert-usrmerge
The system has been successfully converted.

直接运行 usrmerge 脚本

$ sudo LANG=C /usr/lib/usrmerge/convert-usrmerge_bin
  Smartmatch is experimental at /usr/lib/usrmerge/convert-usrmerge_bin line 172.
  The system has been successfully converted.
$ echo $?
  0

$ LANG=C apt policy usrmerge
usrmerge:
  Installed: 25ubuntu2
  Candidate: 25ubuntu2
  Version table:
 *** 25ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu jammy/main amd64  Packages
        500 http://de.archive.ubuntu.com/ubuntu jammy/main i386 Packages
        100 /var/lib/dpkg/status

$ sudo LANG=C sha1sum /usr/lib/usrmerge/convert-usrmerge_bin
ddc18b09fdc448c2d8aa2c94669501500482388e  /usr/lib/usrmerge/convert-usrmerge_bin
$ sudo LANG=C cat -n /usr/lib/usrmerge/convert-usrmerge_bin | egrep '^[[:space:]]*172'
   172      if (-e "/usr$n" && $n ~~ @generated_files) {
$ sudo LANG=C cat -n /usr/lib/usrmerge/convert-usrmerge_bin | egrep -C10 '^[[:space:]]*172'
   162          fatal("Both $n and /usr$n exist");
   163      }
   164  
   165      # generated files
   166      # if it was already re-generated in the new place, clear the legacy location
   167      # Origin of generated files:
   168      # /lib/udev/hwdb.bin -> 'systemd-hwdb --usr update'
   169      my @generated_files = qw(
   170          /lib/udev/hwdb.bin
   171      );
   172      if (-e "/usr$n" && $n ~~ @generated_files) {
   173          rm('-f', "$n");
   174          return;
   175      }
   176  
   177      fatal("$n is a directory and /usr$n is not")
   178          if -d $n and -e "/usr$n";
   179      fatal("/usr$n is a directory and $n is not")
   180          if -d "/usr$n";
   181      fatal("Both $n and /usr$n exist")
   182          if -e "/usr$n";

以下是 strace 输出 https://pastebin.ubuntu.com/p/c3wghnxPJ7/

我编辑了 convert-usrmerge 以避免出现警告,它有效

use lib "/usr/lib/usrmerge/lib";
use warnings;

# https://www.reddit.com/r/perl/comments/60b3tr/ how_to_suppress_experimental_warning_for/
# to solve https://askubuntu.com/questions/1530232/do-release-upgrade-fails-due-to-usrmerge-and-smartmatch
no if $] >= 5.018, warnings =>  "experimental::smartmatch";
use feature "switch";

use strict;
use autodie;

但不幸的是,它并没有解决 do-release-upgrade 声称 usr 没有合并并对此抱怨并且没有启动升级过程的问题。

因此 Smartmatch 似乎不是罪魁祸首。

我不知道如何调试 perlscript,但我还是发布了我的尝试:

$ sudo LANG=C perl -d /usr/lib/usrmerge/convert-usrmerge

Loading DB routines from perl5db.pl version 1.60
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

main::(/usr/lib/usrmerge/convert-usrmerge:27):
27: my $Debug = 1;
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:28):
28: my $Program_RC = 0;
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:30):
30: check_free_space();
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:32):
32: go_faster();
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:35):
35: $SIG{__DIE__} = sub { fatal($_[0]); };
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:38):
38:     foreach my $name (early_conversion_files()) {
  DB<1> n
    main::(/usr/lib/usrmerge/convert-usrmerge:38):
38:     foreach my $name (early_conversion_files()) {
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:43):
43:     my @dirs = directories_to_merge();
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:46):
46:     foreach my $dir (@dirs) {
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:47):
47:         mkdir("/usr$dir") if not -e "/usr$dir";
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:47):
47:         mkdir("/usr$dir") if not -e "/usr$dir";
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:47):
47:         mkdir("/usr$dir") if not -e "/usr$dir";
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:47):
47:         mkdir("/usr$dir") if not -e "/usr$dir";
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:47):
47:         mkdir("/usr$dir") if not -e "/usr$dir";
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:47):
47:         mkdir("/usr$dir") if not -e "/usr$dir";
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:50):
50:     my @later;
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:51):
51:     my $rule = File::Find::Rule->mindepth(1)->maxdepth(1)->start(@dirs);
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:52):
52:     while (defined (my $name = $rule->match)) {
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:58):
58:     convert_file($_) foreach @later;
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:60):
60:     verify_links_only($_) foreach @dirs;
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:62):
62:     convert_directory($_) foreach @dirs;
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:64):
64:     exit($Program_RC) if $Program_RC;
  DB<1> n
main::(/usr/lib/usrmerge/convert-usrmerge:65):
65:     print "The system has been successfully converted.\n";
  DB<1> n
The system has been successfully converted.
main::(/usr/lib/usrmerge/convert-usrmerge:66):
66:     exit;
  DB<1> n
Debugged program terminated.  Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
  DB<1> q

据我所知 usr 已经合并

    lrwxrwxrwx   1 root    root           7 Jun 24  2022  bin -> usr/bin
    drwxr-xr-x  44 root    root        4096 Okt 16 11:59  boot
    drwxr-xr-x   2 root    root        4096 Okt  2  2012  cdrom
    drwxr-xr-x   3 root    root        4096 Okt 31  2019  custom
    drwxr-xr-x  22 root    root        5720 Okt 17 23:14  dev
    drwxr-xr-x   2 root    root        4096 Aug 29  2021  dracut
    drwxr-xr-x 244 root    root       20480 Okt 17 23:13  etc
    drwxr-xr-x   2 root    root        4096 Dez 19  2019  export
    drwxr-xr-x   6 root    root        4096 Okt 30  2012  export_ofs
    drwxr-xr-x   3 root    root        4096 Okt  2  2012  home
    drwxr-xr-x   2 root    root        4096 Jan 19  2020  images
    lrwxrwxrwx   1 root    root           8 Mai  6 15:35  lib -> /usr/lib
    lrwxrwxrwx   1 root    root           9 Jun 24  2022  lib32 -> usr/lib32
    lrwxrwxrwx   1 root    root           9 Jun 24  2022  lib64 -> usr/lib64
    lrwxrwxrwx   1 root    root          36 Mär 30  2014  libnss3.so -> /usr/lib/x86_64-linux-gnu/libnss3.so
    drwxr-xr-x   3 root    root        4096 Mai  5 01:02  lib-rootfolder
    lrwxrwxrwx   1 root    root          10 Jun 24  2022  libx32 -> usr/libx32
    drwx------   2 root    root       16384 Sep 30  2012  lost+found
    drwxr-xr-x   4 root    root        4096 Jul  2  2022  media
    drwxr-xr-x   8 root    root        4096 Feb 22  2022  mnt
    drwxr-xr-x   3 root    root        4096 Okt 31  2012  net
    drwxr-xr-x   2 root    root        4096 Jan 19  2020  NST
    drwxr-xr-x   5 root    root        4096 Jun 24  2022  opt
    dr-xr-xr-x 413 root    root           0 Okt 17 23:14  proc
    drwx------  17 root    root        4096 Okt 18 14:34  root
    drwxr-xr-x  51 root    root        1560 Okt 18 00:00  run
    lrwxrwxrwx   1 root    root           8 Jun 24  2022  sbin -> usr/sbin
    drwxr-xr-x  38 root    root        4096 Aug 10 17:54  snap
    drwxr-xr-x   2 root    root        4096 Apr 25  2012  srv
    dr-xr-xr-x  13 root    root           0 Okt 17 23:14  sys
    drwxrwxrwt  26 root    root       12288 Okt 18 14:45  tmp
    drwxr-xr-x  17 root    root        4096 Jun 24  2022  usr
    drwxr-xr-x  15 root    root        4096 Jun  3  2018  var
    drwxr-xr-x   2 root    root        4096 Sep  2  2020  zfspool
    $ ls -l /usr
    insgesamt 324
    drwxr-xr-x   2 root root 135168 Okt 17 23:13 bin
    drwxr-xr-x   2 root root   4096 Okt 17 23:09 games
    drwxr-xr-x   3 root root   4096 Jun 24  2022 i686-w64-mingw32
    drwxr-xr-x 105 root root  20480 Okt 14 14:33 include
    drwxr-xr-x 203 root root  57344 Okt 16 12:33 lib
    drwxr-xr-x   3 root root   4096 Jun 26 15:18 lib32
    drwxr-xr-x   3 root root   4096 Jun 26 15:18 lib64
    drwxr-xr-x  32 root root  12288 Okt 14 14:34 libexec
    drwxr-xr-x   2 root root   4096 Jun 24  2022 libx32
    drwxr-xr-x  12 root root   4096 Mai 21  2022 local
    drwxr-xr-x   3 root root   4096 Jul 31  2016 locale
    drwxr-xr-x   2 root root  32768 Okt 16 11:59 sbin
    drwxr-xr-x 555 root root  20480 Okt 17 23:09 share
    drwxr-xr-x  19 root root   4096 Okt 16 11:50 src
    drwxr-xr-x   3 root root   4096 Jun 24  2022 x86_64-w64-mingw32

我希望有人知道解决方法。

我只看到手动更新我的 sources.list 并进行升级而没有 do-release-upgrade,因为 usrmerge 说 usr 已成功转换而 do-release-upgrade 说相反,我不明白为什么。

短暂性脑缺血发作

弗洛吉

do-release-upgrade
  • 1 个回答
  • 42 Views
Martin Hope
Cse Rajesh
Asked: 2023-12-11 23:00:23 +0800 CST

Ubuntu 升级问题

  • 6

我在将 Ubuntu 版本从 20.04 升级到 22.04 时遇到以下错误。我尝试创建 Ubuntu 信息文件,但它没有帮助我。请帮助解决问题

错误

File "/tmp/ubuntu-release-upgrader-lw9k2sm2/jammy", line 8, in <module>
    sys.exit(main())   File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeMain.py", line 241, in main
    if app.run():   File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeController.py", line 2042, in run
    return self.fullUpgrade()   File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeController.py", line 1873, in fullUpgrade
    if not self.doPostInitialUpdate():   File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeController.py", line 906, in doPostInitialUpdate
    self.quirks.run("PostInitialUpdate")   File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeQuirks.py", line 99, in run
    func()   File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeQuirks.py", line 122, in jammyPostInitialUpdate
    self._test_and_fail_on_pam_tally()   File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeQuirks.py", line 394, in _test_and_fail_on_pam_tally
    with open(os.path.join('/etc/pam.d', f)) as f: FileNotFoundError: [Errno 2] No such file or directory: '/etc/pam.d/xrdp-sesman.dpkg-backup'
=== Command terminated with exit status 1 (Mon Dec 11 14:45:48 2023) ===

do-release-upgrade
  • 1 个回答
  • 94 Views
Martin Hope
guiverc
Asked: 2023-11-02 20:05:46 +0800 CST

我提前升级到Ubuntu 23.10;我注意到升级被延迟了;缺少什么吗?

  • 7

我在Ubuntu 23.10 发布公告中注意到,通过https://help.ubuntu.com/community/ManticUpgrades提供了提前升级的链接

我还在Ubuntu Mantic Minotaur (23.10) 发布状态跟踪中注意到它仍在进行中。

我使用ManticUpgrades链接(使用-d)强制升级,我的早期升级系统中是否缺少任何内容?

do-release-upgrade
  • 1 个回答
  • 153 Views
Martin Hope
dargaud
Asked: 2021-06-15 13:38:43 +0800 CST

do-release-upgrade 失败并显示“没有候选版本”等

  • 0

这次失败的升级尝试是怎么回事?该系统目前完全是最新的aptitude full-upgrade

$ sudo do-release-upgrade 
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]                                                                                                                                
Get:2 Upgrade tool [1,276 kB]                                                                                                                                       
Fetched 1,276 kB in 0s (0 B/s)                                                                                                                                      
authenticate 'hirsute.tar.gz' against 'hirsute.tar.gz.gpg' 
extracting 'hirsute.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Hit http://archive.ubuntu.com/ubuntu groovy InRelease                                                                                                               
Get:1 http://archive.ubuntu.com/ubuntu groovy-updates InRelease [115 kB]                                                                                            
Get:2 http://archive.ubuntu.com/ubuntu groovy-backports InRelease [101 kB]                                                                                          
Get:3 http://archive.ubuntu.com/ubuntu groovy-security InRelease [110 kB]                                                                                           
Fetched 326 kB in 0s (0 B/s)                                                                                                                                        
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Checking for installed snaps

Calculating snap size requirements
No candidate ver:  akonadi-contacts-data
No candidate ver:  akonadi-mime-data
...400 lines like that...
No candidate ver:  vlc-nox
No candidate ver:  xfonts-mathml

Updating repository information
Get:1 http://archive.ubuntu.com/ubuntu hirsute InRelease [269 kB]                                                                                                   
Get:2 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease [109 kB]                                                                                           
...
Get:110 http://archive.ubuntu.com/ubuntu hirsute-security/multiverse Translation-en [432 B]                                                                         
Get:111 http://archive.ubuntu.com/ubuntu hirsute-security/multiverse amd64 c-n-f Metadata [116 B]                                                                   
Fetched 184 MB in 6s (1,884 kB/s)                                                                                                                                   

Checking package manager
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Calculating the changes

Calculating the changes

Could not calculate the upgrade 

An unresolvable problem occurred while calculating the upgrade. 

If none of this applies, then please report this bug using the 
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If 
you want to investigate this yourself the log files in 
'/var/log/dist-upgrade' will contain details about the upgrade. 
Specifically, look at 'main.log' and 'apt.log'. 


Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree          
Reading state information... Done


$ cat /var/log/dist-upgrade/main.log     
2021-06-14 23:25:41,964 INFO Using config files '['./DistUpgrade.cfg', '/etc/update-manager/release-upgrades.d/ubuntu-advantage-upgrades.cfg', '/etc/update-manager/release-upgrades.d/neon.cfg']'
2021-06-14 23:25:41,964 INFO uname information: 'Linux antar 5.8.0-55-generic #62-Ubuntu SMP Tue Jun 1 08:21:18 UTC 2021 x86_64'
2021-06-14 23:25:42,407 INFO apt version: '2.1.10ubuntu0.3'
2021-06-14 23:25:42,407 INFO python version: '3.8.6 (default, May 27 2021, 13:28:02) 
[GCC 10.2.0]'
2021-06-14 23:25:42,409 INFO release-upgrader version '21.04.13' started
2021-06-14 23:25:42,419 INFO locale: 'en_SE' 'UTF-8'
2021-06-14 23:25:42,464 INFO screen could not be run
2021-06-14 23:25:42,519 DEBUG Using 'DistUpgradeViewText' view
2021-06-14 23:25:42,567 DEBUG enable dpkg --force-overwrite
2021-06-14 23:25:42,602 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2021-06-14 23:25:48,873 DEBUG lsb-release: 'groovy'
2021-06-14 23:25:48,874 DEBUG _pythonSymlinkCheck run
2021-06-14 23:25:48,875 DEBUG openCache()
2021-06-14 23:25:48,875 DEBUG quirks: running PreCacheOpen
2021-06-14 23:25:48,875 DEBUG running Quirks.PreCacheOpen
2021-06-14 23:25:49,653 DEBUG Comparing 5.8.0-50 with 
2021-06-14 23:25:49,653 DEBUG Comparing 5.8.0-55 with 5.8.0-50
2021-06-14 23:25:49,833 DEBUG /openCache(), new cache size 68613
2021-06-14 23:25:49,834 DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode
2021-06-14 23:25:49,834 DEBUG checkViewDepends()
2021-06-14 23:25:49,838 DEBUG running doUpdate() (showErrors=False)
2021-06-14 23:25:52,426 DEBUG openCache()
2021-06-14 23:25:53,202 DEBUG Comparing 5.8.0-50 with 
2021-06-14 23:25:53,202 DEBUG Comparing 5.8.0-55 with 5.8.0-50
2021-06-14 23:25:53,329 DEBUG /openCache(), new cache size 68613
2021-06-14 23:25:53,330 DEBUG doPostInitialUpdate
2021-06-14 23:25:53,330 DEBUG quirks: running hirsutePostInitialUpdate
2021-06-14 23:25:53,330 DEBUG running Quirks.hirsutePostInitialUpdate
2021-06-14 23:25:55,104 DEBUG Snap audio-recorder is installed
2021-06-14 23:25:55,104 DEBUG Snap audio-recorder is not tracking the release channel
2021-06-14 23:25:55,362 DEBUG Snap core18 is installed
2021-06-14 23:25:55,362 DEBUG Snap core18 is not tracking the release channel
2021-06-14 23:25:55,625 DEBUG Snap fontvuer is installed
2021-06-14 23:25:55,625 DEBUG Snap fontvuer is not tracking the release channel
2021-06-14 23:25:55,794 DEBUG Snap gnome-3-28-1804 is installed
2021-06-14 23:25:55,794 DEBUG Snap gnome-3-28-1804 is not tracking the release channel
2021-06-14 23:25:55,989 DEBUG Snap gtk-common-themes is installed
2021-06-14 23:25:55,989 DEBUG Snap gtk-common-themes is not tracking the release channel
2021-06-14 23:25:56,140 DEBUG Snap shotcut is installed
2021-06-14 23:25:56,140 DEBUG Snap shotcut is not tracking the release channel
2021-06-14 23:25:56,301 DEBUG Snap snapd is installed
2021-06-14 23:25:56,301 DEBUG Snap snapd is not tracking the release channel
2021-06-14 23:25:57,480 DEBUG MetaPkgs: 
2021-06-14 23:26:03,159 DEBUG no PkgRecord found for 'akonadi-contacts-data', skipping 
2021-06-14 23:26:03,159 DEBUG no PkgRecord found for 'akonadi-mime-data', skipping 
...
2021-06-14 23:26:04,361 DEBUG no PkgRecord found for 'vlc-nox', skipping 
2021-06-14 23:26:04,382 DEBUG no PkgRecord found for 'xfonts-mathml', skipping 
2021-06-14 23:26:04,398 DEBUG Foreign: 
2021-06-14 23:26:04,398 DEBUG Obsolete: amarok-common banish404 clang-6.0 clang-7 cnijfilter-common cnijfilter-ip2800series cpp-5 drkonqi-pk-debug-installer fvd-module gcc-5 gcc-5-base gimp-plugin-userfilter:i386 google-chrome-stable google-earth-pro-stable ippusbxd kde-runtime-data kdelibs5-data libasan2 libavcodec57 libavformat57 libavutil55 libboost-date-time1.67.0 libboost-filesystem1.67.0 libboost-iostreams1.67.0 libboost-locale1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libcdio18 libcfitsio5 libcfitsio8 libclang-common-6.0-dev libclang-common-7-dev libclang1-6.0 libclang1-7 libcloog-isl4 libdc1394-22 libdouble-conversion1 libdvdcss-dev libdvdcss2 libebml4v5 libffi7 libfreerdp-cache1.1 libfreerdp-client1.1 libfreerdp-codec1.1 libfreerdp-common1.1.0 libfreerdp-core1.1 libfreerdp-crypto1.1 libfreerdp-gdi1.1 libfreerdp-locale1.1 libfreerdp-plugins-standard libfreerdp-primitives1.1 libfreerdp-rail1.1 libfreerdp-utils1.1 libgcc-5-dev libgit2-26 libhavege1 libhttp-parser2.7.1 libhunspell-1.6-0 libicu60 libicu66 libilmbase12 libisl15 libjavascriptcoregtk-3.0-0 libkaccounts1 libkf5libkdepimakonadi5 libkf5texteditor5-libjs-underscore libkf5torrent6 libkonq5-templates libllvm6.0 libllvm7 libmatroska6v5 libmpx0 libmysqlclient20 libntdb1 libntrack0 libopenexr22 libparse-debianchangelog-perl libpipewire-0.2-1 libplacebo7 libprotobuf-lite17 libprotobuf17 libqrencode3 libraw16 libre2-5 libservlet3.0-java libssl1.0.0 libswresample2 libtidy-0.99-0 libtinyxml2-6a libvpx1 libvpx5 libwebkitgtk-3.0-0 libwinpr-crt0.1 libwinpr-dsparse0.1 libwinpr-environment0.1 libwinpr-file0.1 libwinpr-handle0.1 libwinpr-heap0.1 libwinpr-input0.1 libwinpr-interlocked0.1 libwinpr-library0.1 libwinpr-path0.1 libwinpr-pool0.1 libwinpr-registry0.1 libwinpr-rpc0.1 libwinpr-sspi0.1 libwinpr-synch0.1 libwinpr-sysinfo0.1 libwinpr-thread0.1 libwinpr-utils0.1 libx264-152 libx264-155 libx265-146 libxfreerdp-client1.1 libzip4 llvm-6.0 llvm-6.0-dev llvm-6.0-runtime llvm-7 llvm-7-dev llvm-7-runtime multiarch-support ntrack-module-libnl-0 python-apt python-attr python-cffi-backend python-characteristic python-crypto python-cryptography python-dateutil python-dbus python-dnspython python-enum34 python-gi python-gobject python-gobject-2 python-httplib2 python-idna python-ipaddress python-mako python-openssl python-pyasn1 python-pyasn1-modules python-pyparsing python-service-identity python-sip python-talloc python-yaml python-zope.interface syslinux-legacy ttf-dejavu-core x11proto-damage-dev x11proto-fixes-dev xserver-xorg-video-intel-arbiter zoom
2021-06-14 23:26:04,398 DEBUG updateSourcesList()
2021-06-14 23:26:04,407 DEBUG rewriteSourcesList() with mirror_check
2021-06-14 23:26:04,408 DEBUG ['ubuntu-minimal', 'ubuntu-standard']
2021-06-14 23:26:04,408 DEBUG Checking pkg: ubuntu-minimal
2021-06-14 23:26:04,410 DEBUG Checking pkg: ubuntu-standard
2021-06-14 23:26:04,414 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy main restricted'
2021-06-14 23:26:04,415 DEBUG verifySourcesListEntry: deb http://archive.ubuntu.com/ubuntu hirsute main restricted
2021-06-14 23:26:04,415 DEBUG url_downloadable: http://archive.ubuntu.com/ubuntu/dists/hirsute/Release
2021-06-14 23:26:04,415 DEBUG s='http' n='archive.ubuntu.com' p='/ubuntu/dists/hirsute/Release' q='' f=''
2021-06-14 23:26:04,469 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute main restricted' updated to new dist
2021-06-14 23:26:04,469 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy main restricted'
2021-06-14 23:26:04,469 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute main restricted' updated to new dist
2021-06-14 23:26:04,470 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy-updates main restricted'
2021-06-14 23:26:04,470 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute-updates main restricted' updated to new dist
2021-06-14 23:26:04,470 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy-updates main restricted'
2021-06-14 23:26:04,470 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute-updates main restricted' updated to new dist
2021-06-14 23:26:04,470 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy universe'
2021-06-14 23:26:04,470 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute universe' updated to new dist
2021-06-14 23:26:04,470 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy universe'
2021-06-14 23:26:04,470 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute universe' updated to new dist
2021-06-14 23:26:04,470 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy-updates universe'
2021-06-14 23:26:04,470 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute-updates universe' updated to new dist
2021-06-14 23:26:04,470 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy-updates universe'
2021-06-14 23:26:04,470 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute-updates universe' updated to new dist
2021-06-14 23:26:04,470 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy multiverse'
2021-06-14 23:26:04,470 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute multiverse' updated to new dist
2021-06-14 23:26:04,470 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy multiverse'
2021-06-14 23:26:04,470 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute multiverse' updated to new dist
2021-06-14 23:26:04,471 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy-updates multiverse'
2021-06-14 23:26:04,471 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute-updates multiverse' updated to new dist
2021-06-14 23:26:04,471 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy-updates multiverse'
2021-06-14 23:26:04,471 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute-updates multiverse' updated to new dist
2021-06-14 23:26:04,471 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy-backports main restricted universe multiverse'
2021-06-14 23:26:04,471 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute-backports main restricted universe multiverse' updated to new dist
2021-06-14 23:26:04,471 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy-backports main restricted universe multiverse'
2021-06-14 23:26:04,471 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute-backports main restricted universe multiverse' updated to new dist
2021-06-14 23:26:04,471 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy-security main restricted'
2021-06-14 23:26:04,471 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute-security main restricted' updated to new dist
2021-06-14 23:26:04,471 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy-security main restricted'
2021-06-14 23:26:04,471 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute-security main restricted' updated to new dist
2021-06-14 23:26:04,471 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy-security universe'
2021-06-14 23:26:04,471 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute-security universe' updated to new dist
2021-06-14 23:26:04,471 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy-security universe'
2021-06-14 23:26:04,471 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute-security universe' updated to new dist
2021-06-14 23:26:04,471 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu groovy-security multiverse'
2021-06-14 23:26:04,472 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu hirsute-security multiverse' updated to new dist
2021-06-14 23:26:04,472 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu groovy-security multiverse'
2021-06-14 23:26:04,472 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu hirsute-security multiverse' updated to new dist
2021-06-14 23:26:04,474 DEBUG running doUpdate() (showErrors=True)
2021-06-14 23:27:32,408 DEBUG openCache()
2021-06-14 23:27:33,222 DEBUG Comparing 5.8.0-50 with 
2021-06-14 23:27:33,222 DEBUG Comparing 5.8.0-55 with 5.8.0-50
2021-06-14 23:27:33,329 DEBUG /openCache(), new cache size 69997
2021-06-14 23:27:33,330 DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode
2021-06-14 23:27:33,330 DEBUG quirks: running PreDistUpgradeCache
2021-06-14 23:27:33,330 DEBUG running Quirks.PreDistUpgradeCache
2021-06-14 23:27:33,330 INFO checking for python-dbg (auto_inst=False)
2021-06-14 23:27:33,330 INFO checking for python-doc (auto_inst=False)
2021-06-14 23:27:33,330 INFO checking for python-minimal (auto_inst=False)
2021-06-14 23:27:33,331 INFO checking for python-dev (auto_inst=False)
2021-06-14 23:27:33,331 INFO checking for libpython-dev (auto_inst=False)
2021-06-14 23:27:33,331 INFO checking for libpython-stdlib (auto_inst=False)
2021-06-14 23:27:33,331 INFO checking for libpython-dbg (auto_inst=False)
2021-06-14 23:27:33,331 INFO checking for python-dbg (auto_inst=True)
2021-06-14 23:27:33,331 INFO checking for python-doc (auto_inst=True)
2021-06-14 23:27:33,331 INFO checking for python-minimal (auto_inst=True)
2021-06-14 23:27:33,331 INFO checking for python-dev (auto_inst=True)
2021-06-14 23:27:33,331 INFO checking for libpython-dev (auto_inst=True)
2021-06-14 23:27:33,331 INFO checking for libpython-stdlib (auto_inst=True)
2021-06-14 23:27:33,331 INFO checking for libpython-dbg (auto_inst=True)
2021-06-14 23:27:35,786 DEBUG Running KeepInstalledSection rules
2021-06-14 23:27:36,427 DEBUG Kernel uname: '5.8.0-55-generic' 
2021-06-14 23:27:36,440 DEBUG nvidiaUpdate()
2021-06-14 23:27:37,369 INFO no old nvidia driver installed, installing no new
2021-06-14 23:27:37,370 DEBUG quirks: running PostDistUpgradeCache
2021-06-14 23:27:37,370 DEBUG running Quirks.PostDistUpgradeCache
2021-06-14 23:27:37,577 DEBUG Comparing 5.11.0-18 with 
2021-06-14 23:27:37,578 DEBUG Comparing 5.8.0-50 with 5.11.0-18
2021-06-14 23:27:37,578 DEBUG Comparing 5.8.0-55 with 5.11.0-18
2021-06-14 23:27:37,781 DEBUG blacklist expr 'kubuntu-desktop' matches 'kubuntu-desktop'
2021-06-14 23:27:37,781 DEBUG The package 'kubuntu-desktop' is marked for removal but it's in the removal blacklist
2021-06-14 23:27:37,811 ERROR Dist-upgrade failed: 'The package 'kubuntu-desktop' is marked for removal but it is in the removal blacklist.'
2021-06-14 23:27:37,811 DEBUG abort called
2021-06-14 23:27:37,813 DEBUG openCache()
2021-06-14 23:27:40,102 DEBUG Comparing 5.8.0-50 with 
2021-06-14 23:27:40,102 DEBUG Comparing 5.8.0-55 with 5.8.0-50
2021-06-14 23:27:40,241 DEBUG /openCache(), new cache size 68613
dargaud@antar:/tmp

$ cat /var/log/dist-upgrade/apt.log 
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
MarkInstall blender:amd64 < 2.83.5+dfsg-1build2 -> 2.83.5+dfsg-5build1 @ii umU Ib > FU=0
Installing libboost-locale1.74.0:amd64 as Depends of blender:amd64
    MarkInstall libboost-locale1.74.0:amd64 < none -> 1.74.0-8ubuntu2 @un uN Ib > FU=0
...a lot more stuff...
MarkDelete plasma-widgets-addons:amd64 < 4:5.19.5-0ubuntu1 | 4:5.21.4-0ubuntu1 @ii umH Ib > FU=0
Investigating (3) kubuntu-settings-desktop:amd64 < 1:20.10.1 -> 1:21.04.5 @ii umU Ib >
Broken kubuntu-settings-desktop:amd64 Depends on plasma-workspace:amd64 < 4:5.19.5-0ubuntu2 @ii mR > (>= 4:5.18.0~)
Considering plasma-workspace:amd64 6542 as a solution to kubuntu-settings-desktop:amd64 1
MarkKeep kubuntu-settings-desktop:amd64 < 1:20.10.1 -> 1:21.04.5 @ii umU Ib > FU=0
Removing kubuntu-settings-desktop:amd64 rather than change plasma-workspace:amd64
MarkDelete kubuntu-settings-desktop:amd64 < 1:20.10.1 | 1:21.04.5 @ii umH Ib > FU=0
Done
nvidia-driver-418
Log time: 2021-06-14 23:27:40.224004
do-release-upgrade
  • 1 个回答
  • 729 Views
Martin Hope
Tristan Rhodes
Asked: 2021-04-15 11:18:56 +0800 CST

无法升级 Ubuntu 16.04,因为“需要重新启动”错误永远不会消失(即使在重新启动后)

  • 2

我无法升级 Ubuntu 16.04,因为它抱怨需要重新启动。但重新启动后,再次显示相同的错误消息。

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.7 LTS"

$ sudo apt update
...
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ sudo do-release-upgrade
Checking for a new Ubuntu release
You have not rebooted after updating a package which requires a reboot. Please reboot before upgrading.

$ uptime
 13:13:17 up 0 min,  3 users,  load average: 0.08, 0.02, 0.01

$ cat /var/run/reboot-required.pkgs | wc -l
480

$ cat /var/run/reboot-required.pkgs | head -n 10
linux-image-3.2.0-34-generic
linux-base
linux-image-3.2.0-35-generic
linux-base
linux-image-3.2.0-36-generic
linux-base
linux-image-3.2.0-37-generic
linux-base
libssl1.0.0
linux-image-3.2.0-38-generic

$ cat /var/run/reboot-required.pkgs | tail -n 10
linux-base
libssl1.0.0
linux-base
libssl1.0.0
linux-base
libssl1.0.0
linux-base
linux-base
linux-base
linux-base

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            2.9G     0  2.9G   0% /dev
tmpfs           597M  8.2M  589M   2% /run
/dev/sda1       9.2G  5.8G  3.0G  67% /
tmpfs           3.0G     0  3.0G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           3.0G     0  3.0G   0% /sys/fs/cgroup
/dev/sda6       257G  220G   24G  91% /usr/local/nfsen/profiles-data
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           597M     0  597M   0% /run/user/1002
do-release-upgrade
  • 1 个回答
  • 2196 Views
Martin Hope
Da Kong
Asked: 2021-02-12 06:25:20 +0800 CST

从 16.04 到 18.04 的依赖关系损坏(libpangoft2-1.0.so.0 中 hb_font_funcs_set_variation_glyph_func 的符号查找错误)

  • 1

我一直在分阶段升级我的操作系统以达到当前的 LTS 版本。昨天我在运行“sudo apt-get update”后运行了“do-release-upgrade”;sudo apt-get 升级;sudo apt-get dist-upgrade' 根据此处帖子中的建议。升级后,出现了许多损坏的依赖项。

现在,synaptic、apt-get和software-properties-gtk以及许多其他重要程序将无法运行,从而产生以下错误:

突触:符号查找错误:/usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0:未定义符号:hb_font_funcs_set_variation_glyph_func

apt --fix-broken installor之类的命令sudo apt-get install -f和其他常见的建议并没有解决这个问题。有不同的策略可以尝试吗?


$ which synaptic
/usr/sbin/synaptic

$ dpkg -S $(which synaptic)
synaptic: /usr/bin/synaptic

$ ldd $(which synaptic) | grep local
# produces no result. 

$ dpkg -S /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
libpangoft2-1.0-0:amd64: /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
$ apt-cache policy synaptic libpangoft2-1.0-0
synaptic:
  Installed: 0.83
  Candidate: 0.84.3ubuntu1
  Version table:
     0.84.3ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
 *** 0.83 100
        100 /var/lib/dpkg/status
libpangoft2-1.0-0:
  Installed: 1.40.14-1ubuntu0.1
  Candidate: 1.40.14-1ubuntu0.1
  Version table:
 *** 1.40.14-1ubuntu0.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.40.14-1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
spowell@raven:/etc/apt$ apt-cache policy synaptic libpangoft2-1.0-0
synaptic:
  Installed: 0.83
  Candidate: 0.84.3ubuntu1
  Version table:
     0.84.3ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
 *** 0.83 100
        100 /var/lib/dpkg/status
libpangoft2-1.0-0:
  Installed: 1.40.14-1ubuntu0.1
  Candidate: 1.40.14-1ubuntu0.1
  Version table:
 *** 1.40.14-1ubuntu0.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.40.14-1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

The output of 'dpkg -l | grep ^ii -v' is available at pastebin https://pastebin.com/HhJu3mZu

The output of 'sudo aptitude safe-upgrade' is:

> The following packages will be REMOVED:  
  groff-base{u} libgdbm5{u} libpipeline1{u} man-db{u} 
The following partially installed packages will be configured:
  bsdmainutils libbsd0 liblocale-gettext-perl libsmartcols1 libtinfo5 libuuid1 
0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 6,017 kB will be freed.
Do you want to continue? [Y/n/?] Y
dpkg: error: duplicate file trigger interest for filename '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders' and package 'libgdk-pixbuf2.0-0:i386'
E: Sub-process /usr/bin/dpkg returned an error code (2)
dpkg: error: duplicate file trigger interest for filename '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders' and package 'libgdk-pixbuf2.0-0:i386'


do-release-upgrade
  • 1 个回答
  • 151 Views
Martin Hope
Dan
Asked: 2021-01-27 07:43:51 +0800 CST

`--frontend` 在 `do-release-upgrade` 中有什么作用,我在哪里可以找到可能值的列表?

  • 7

在检查手册时do-release-upgrade,我发现它有一个--frontend参数可以与一个值一起传递给命令。但是,联机帮助页没有解释参数的确切作用,或者它的可用值是什么。

       -f FRONTEND, --frontend=FRONTEND
              Run the specified frontend

我的假设是它允许我们通过软件更新程序或命令行等特定应用程序。我可以找到更好的描述和该参数的可能值列表吗?

do-release-upgrade
  • 1 个回答
  • 1044 Views
Martin Hope
Bram
Asked: 2021-01-09 10:39:46 +0800 CST

分步强制升级操作系统

  • 0

Ubuntu 18.04 不会立即升级到 20.10 是设计使然吗?

我将我的操作系统更新设置设置为“正常”,这意味着它将匹配任何操作系统升级,而不仅仅是 lts。

然而,18.04 的操作系统更新将转到 20.04,而不是 20.10 版本。

我希望可以升级到最新版本。

do-release-upgrade
  • 1 个回答
  • 43 Views
Martin Hope
Leos313
Asked: 2020-12-21 01:11:19 +0800 CST

将 Xubuntu 16.04 升级到 20.04 时出错

  • 2

遵循以下程序:

  1. sudo apt update && sudo apt upgrade通过运行命令升级所有已安装的 Ubuntu 版本 18.04 的软件包。
  2. 通过绑定重新启动 Ubuntu Linux 系统sudo reboot command
  3. 安装 Ubuntu 更新工具,运行:sudo apt install update-manager-core
  4. 启动升级程序,运行:sudo do-release-upgrade

在这里我卡住了,这是输出:

$ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

但我完成了前面的步骤,没有任何错误。

如何将我的 Xubuntu 从 16.04 升级到 20.04?似乎有些软件包无法升级,这可能会导致升级失败。我会深入调查。同时,任何建议表示赞赏。

updates upgrade lts xubuntu do-release-upgrade
  • 1 个回答
  • 739 Views
Martin Hope
Yadnesh Salvi
Asked: 2020-10-19 07:43:35 +0800 CST

从 18.04 升级到 ubuntu 20.04 失败

  • 0

我尝试过sudo do-release-upgrade,但失败并出现以下错误

Calculating the changes

Calculating the changes

Could not calculate the upgrade 

An unresolvable problem occurred while calculating the upgrade. 

This was likely caused by: 
* Unofficial software packages not provided by Ubuntu 
Please use the tool 'ppa-purge' from the ppa-purge 
package to remove software from a Launchpad PPA and 
try the upgrade again. 

If none of this applies, then please report this bug using the 
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If 
you want to investigate this yourself the log files in 
'/var/log/dist-upgrade' will contain details about the upgrade. 
Specifically, look at 'main.log' and 'apt.log'. 


Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

处的输出/var/log/dist-upgrade/main.log如下

2020-10-18 20:54:09,188 INFO Using config files '['./DistUpgrade.cfg.bionic']'
2020-10-18 20:54:09,188 INFO uname information: 'Linux not-script-kiddie 5.4.0-48-generic #52~18.04.1-Ubuntu SMP Thu Sep 10 12:50:22 UTC 2020 x86_64'
2020-10-18 20:54:09,609 INFO apt version: '1.6.12ubuntu0.1'
2020-10-18 20:54:09,609 INFO python version: '3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0]'
2020-10-18 20:54:09,613 INFO release-upgrader version '20.04.28' started
2020-10-18 20:54:09,624 INFO locale: 'en_IN' 'ISO8859-1'
2020-10-18 20:54:09,670 INFO screen could not be run
2020-10-18 20:54:09,702 DEBUG Using 'DistUpgradeViewText' view
2020-10-18 20:54:09,749 DEBUG enable dpkg --force-overwrite
2020-10-18 20:54:09,778 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2020-10-18 20:54:14,187 DEBUG lsb-release: 'bionic'
2020-10-18 20:54:14,187 DEBUG _pythonSymlinkCheck run
2020-10-18 20:54:14,188 DEBUG openCache()
2020-10-18 20:54:14,188 DEBUG quirks: running PreCacheOpen
2020-10-18 20:54:14,188 DEBUG running Quirks.PreCacheOpen
2020-10-18 20:54:15,314 DEBUG Comparing 4.15.0-118 with
2020-10-18 20:54:15,332 DEBUG Comparing 5.4.0-47 with 4.15.0-118
2020-10-18 20:54:15,332 DEBUG Comparing 5.4.0-48 with 5.4.0-47
2020-10-18 20:54:15,594 DEBUG /openCache(), new cache size 100437
2020-10-18 20:54:15,595 DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode
2020-10-18 20:54:15,595 DEBUG checkViewDepends()
2020-10-18 20:54:15,677 DEBUG running doUpdate() (showErrors=False)
2020-10-18 20:54:31,823 DEBUG openCache()
2020-10-18 20:54:33,115 DEBUG Comparing 4.15.0-118 with
2020-10-18 20:54:33,121 DEBUG Comparing 5.4.0-47 with 4.15.0-118
2020-10-18 20:54:33,122 DEBUG Comparing 5.4.0-48 with 5.4.0-47
2020-10-18 20:54:33,484 DEBUG /openCache(), new cache size 100757
2020-10-18 20:54:33,484 DEBUG doPostInitialUpdate
2020-10-18 20:54:33,484 DEBUG quirks: running focalPostInitialUpdate
2020-10-18 20:54:33,484 DEBUG running Quirks.focalPostInitialUpdate
2020-10-18 20:54:37,160 DEBUG MetaPkgs:
2020-10-18 20:54:42,777 DEBUG Foreign: bluetooth bluez bluez-cups bluez-obexd cuda-repo-ubuntu1604 google-chrome-stable libbluetooth3 libcudnn7 libcudnn7-dev libvdpau1 libvulkan1 nvidia-machine-learning-repo-ubuntu1604 nvidia-opencl-icd-440 sublime-text teams teamviewer vdpau-driver-all
2020-10-18 20:54:42,777 DEBUG Obsolete: cuda-repo-ubuntu1604-9-0-local libcudnn7-doc zoom
2020-10-18 20:54:42,778 DEBUG updateSourcesList()
2020-10-18 20:54:42,817 DEBUG rewriteSourcesList() with mirror_check
2020-10-18 20:54:42,817 DEBUG ['ubuntu-minimal', 'ubuntu-standard']
2020-10-18 20:54:42,817 DEBUG Checking pkg: ubuntu-minimal
2020-10-18 20:54:42,820 DEBUG Checking pkg: ubuntu-standard
2020-10-18 20:54:42,822 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic main restricted'
2020-10-18 20:54:42,823 DEBUG verifySourcesListEntry: deb http://it-mirrors.evowise.com/ubuntu/ focal main restricted
2020-10-18 20:54:42,823 DEBUG url_downloadable: http://it-mirrors.evowise.com/ubuntu//dists/focal/Release
2020-10-18 20:54:42,823 DEBUG s='http' n='it-mirrors.evowise.com' p='/ubuntu//dists/focal/Release' q='' f=''
2020-10-18 20:54:43,384 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal main restricted' updated to new dist
2020-10-18 20:54:43,384 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic-updates main restricted'
2020-10-18 20:54:43,386 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal-updates main restricted' updated to new dist
2020-10-18 20:54:43,386 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic universe'
2020-10-18 20:54:43,387 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal universe' updated to new dist
2020-10-18 20:54:43,388 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic-updates universe'
2020-10-18 20:54:43,389 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal-updates universe' updated to new dist
2020-10-18 20:54:43,389 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic multiverse'
2020-10-18 20:54:43,390 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal multiverse' updated to new dist
2020-10-18 20:54:43,390 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic-updates multiverse'
2020-10-18 20:54:43,392 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal-updates multiverse' updated to new dist
2020-10-18 20:54:43,392 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic-backports main restricted universe multiverse'
2020-10-18 20:54:43,393 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal-backports main restricted universe multiverse' updated to new dist
2020-10-18 20:54:43,393 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic-security main restricted'
2020-10-18 20:54:43,394 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal-security main restricted' updated to new dist
2020-10-18 20:54:43,394 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic-security universe'
2020-10-18 20:54:43,396 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal-security universe' updated to new dist
2020-10-18 20:54:43,396 DEBUG examining: 'deb http://it-mirrors.evowise.com/ubuntu/ bionic-security multiverse'
2020-10-18 20:54:43,397 DEBUG entry 'deb http://it-mirrors.evowise.com/ubuntu/ focal-security multiverse' updated to new dist
2020-10-18 20:54:43,397 DEBUG examining: 'deb [arch=amd64] https://repo.skype.com/deb stable main'
2020-10-18 20:54:43,399 DEBUG entry '# deb [arch=amd64] https://repo.skype.com/deb stable main # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:43,399 DEBUG examining: 'deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main'
2020-10-18 20:54:43,400 DEBUG entry '# deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:43,400 DEBUG examining: 'deb http://ppa.launchpad.net/bluetooth/bluez/ubuntu bionic main'
2020-10-18 20:54:43,401 DEBUG entry '# deb http://ppa.launchpad.net/bluetooth/bluez/ubuntu focal main # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:43,401 DEBUG examining: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic main'
2020-10-18 20:54:43,402 DEBUG entry '# deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal main # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:43,402 DEBUG examining: 'deb file:///var/cuda-repo-9-0-local /'
2020-10-18 20:54:43,403 DEBUG entry '# deb file:///var/cuda-repo-9-0-local / # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:43,403 DEBUG examining: 'deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 /'
2020-10-18 20:54:43,404 DEBUG entry '# deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 / # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:43,404 DEBUG examining: 'deb https://download.sublimetext.com/ apt/stable/'
2020-10-18 20:54:43,405 DEBUG entry '# deb https://download.sublimetext.com/ apt/stable/ # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:43,405 DEBUG examining: 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main'
2020-10-18 20:54:43,406 DEBUG entry '# deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:43,406 DEBUG examining: 'deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /'
2020-10-18 20:54:43,408 DEBUG entry '# deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 / # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:43,408 DEBUG examining: 'deb http://linux.teamviewer.com/deb stable main'
2020-10-18 20:54:43,409 DEBUG entry '# deb http://linux.teamviewer.com/deb stable main # disabled on upgrade to focal' was disabled (unknown mirror)
2020-10-18 20:54:57,582 DEBUG running doUpdate() (showErrors=True)
2020-10-18 20:55:20,273 DEBUG openCache()
2020-10-18 20:55:21,086 DEBUG Comparing 4.15.0-118 with
2020-10-18 20:55:21,087 DEBUG Comparing 5.4.0-47 with 4.15.0-118
2020-10-18 20:55:21,087 DEBUG Comparing 5.4.0-48 with 5.4.0-47
2020-10-18 20:55:21,271 DEBUG /openCache(), new cache size 66663
2020-10-18 20:55:21,272 DEBUG need_server_mode(): can not find a desktop meta package or key deps, running in server mode
2020-10-18 20:55:21,274 DEBUG quirks: running PreDistUpgradeCache
2020-10-18 20:55:21,275 DEBUG running Quirks.PreDistUpgradeCache
2020-10-18 20:55:21,275 INFO checking for python-dbg
2020-10-18 20:55:21,275 INFO checking for python-doc
2020-10-18 20:55:21,275 INFO checking for python-minimal
2020-10-18 20:55:21,275 INFO installing python-is-python2 because python-minimal was installed
2020-10-18 20:55:21,275 DEBUG Installing 'python-is-python2' (python-minimal was installed on the system)
2020-10-18 20:55:21,631 ERROR Dist-upgrade failed: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'
2020-10-18 20:55:21,633 DEBUG abort called
2020-10-18 20:55:21,636 DEBUG openCache()
2020-10-18 20:55:26,258 DEBUG Comparing 4.15.0-118 with
2020-10-18 20:55:26,263 DEBUG Comparing 5.4.0-47 with 4.15.0-118
2020-10-18 20:55:26,263 DEBUG Comparing 5.4.0-48 with 5.4.0-47
2020-10-18 20:55:26,527 DEBUG /openCache(), new cache size 100757
do-release-upgrade 18.04 20.04
  • 1 个回答
  • 1392 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve