我正在尝试使用命令从 22.04 升级到 23.04 do-release-upgrade
。每当我这样做时,命令都会将我转回 shell,而根本不会更改我的系统。
/var/log/dist-upgrade/apt.log
(内容粘贴如下)告诉我,名为 的软件包util-linux-extra:amd64
依赖于 的版本libsmartcols1:amd64
,但无法安装。但是当我尝试安装它想要的版本时,apt 似乎找不到它。我真正不明白的是,这个util-linux-extra
软件包也无法安装。
sudo apt install libsmartcols1:amd64=2.38
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libsmartcols1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libsmartcols1:i386
E: Version '2.38' for 'libsmartcols1' was not found
我记不清我到底做了什么,但是当我因为一些我已记不清的原因试图回滚我的 nvidia 驱动程序时,我弄坏了一些东西。我的软件包显然完全崩溃了,我完全无法修复它。我本来应该重新安装的,但是移动我的 docker 容器和小 Angular 实验似乎会非常麻烦。我是否忽略了一些显而易见的东西,或者不值得尝试保存,我应该进行全新安装?
我没有保留包裹。apt-mark showhold
什么也没有返回。
sudo apt update
输出:
Hit:1 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Ign:2 https://repo.vivaldi.com/stable/deb stable InRelease
Hit:3 https://repo.vivaldi.com/stable/deb stable Release
Hit:5 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:6 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:7 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:9 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:10 https://ppa.launchpadcontent.net/agornostal/ulauncher/ubuntu jammy InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
sudo apt upgrade
并sudo apt dist-upgrade
输出:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
#
# News about significant security updates, features and services will
# appear here to raise awareness and perhaps tease /r/Linux ;)
# Use 'pro config set apt_news=false' to hide this and future APT news.
#
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/var/log/dist-upgrade/main.log
(第 63 行错误)
https://pastebin.com/4eKb6BSF
/var/log/dist-upgrade/apt.log
Log time: 2023-09-21 23:57:43.490509
Log time: 2023-09-21 23:57:46.919395
Log time: 2023-09-21 23:58:34.013454
MarkInstall xubuntu-desktop-minimal:amd64 < 2.248 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on pipewire-pulse:amd64
ignore old unsatisfied important dependency on snapd:amd64
ignore old unsatisfied important dependency on wireplumber:amd64
MarkInstall gnome-sudoku:amd64 < 1:42.0-1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on yelp:amd64
MarkInstall gnome-software:amd64 < 41.5-2ubuntu2 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on gnome-software-plugin-snap:amd64
MarkInstall nvidia-driver-535:amd64 < 535.86.05-0ubuntu0.22.04.1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on libnvidia-decode-535:i386:any
ignore old unsatisfied important dependency on libnvidia-encode-535:i386:any
ignore old unsatisfied important dependency on libnvidia-fbc1-535:i386:any
ignore old unsatisfied important dependency on libnvidia-gl-535:i386:any
MarkInstall baobab:amd64 < 41.0-2 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on yelp:amd64
MarkInstall language-selector-gnome:amd64 < 0.219 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on yelp:amd64
MarkInstall gucharmap:amd64 < 1:14.0.3-1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on yelp:amd64
MarkInstall xserver-xorg:amd64 < 1:7.7+23ubuntu2 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on xserver-xorg-legacy:amd64
ignore old unsatisfied important dependency on xserver-xorg-video-all:amd64
MarkInstall deluge-gtk:amd64 < 2.0.3-3.1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on python3-pygame:amd64
MarkInstall gnome-mines:amd64 < 1:40.1-1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on yelp:amd64
MarkInstall rhythmbox:amd64 < 3.4.4-5ubuntu1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on yelp:amd64
ignore old unsatisfied important dependency on rhythmbox-plugins:amd64
MarkInstall lightdm-gtk-greeter:amd64 < 2.0.8-2ubuntu1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on gnome-themes-standard:amd64
MarkInstall wine64:amd64 < 6.0.3~repack-1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on wine32:amd64
MarkInstall libreoffice-base-drivers:amd64 < 1:7.3.7-0ubuntu0.22.04.1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on libreoffice-sdbc-hsqldb:amd64
MarkInstall gnome-system-tools:amd64 < 3.0.0-9.1ubuntu1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on yelp:amd64
MarkInstall xrdp:amd64 < 0.9.17-2ubuntu2 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on xorgxrdp:amd64
MarkInstall libc-dev-bin:amd64 < 2.35-0ubuntu3.1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on libc-devtools:amd64
MarkInstall ubuntu-restricted-addons:amd64 < 26 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on gstreamer1.0-fluendo-mp3:amd64
ignore old unsatisfied important dependency on gstreamer1.0-vaapi:amd64
MarkInstall libreoffice-base:amd64 < 1:7.3.7-0ubuntu0.22.04.1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on default-jre:amd64
MarkInstall libreoffice-gtk3:amd64 < 1:7.3.7-0ubuntu0.22.04.1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on gstreamer1.0-gtk3:amd64
MarkInstall ure-java:amd64 < 1:7.3.7-0ubuntu0.22.04.1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on default-jre:amd64
MarkInstall inxi:amd64 < 3.3.13-1-1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on mesa-utils:amd64
MarkInstall e2fsprogs:amd64 < 1.46.5-2ubuntu1.1 @ii mK NPb IPb > FU=0
ignore old unsatisfied important dependency on e2fsprogs-l10n:amd64
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Entering ResolveByKeep
util-linux-extra:amd64 Depends on libsmartcols1:amd64 < 2.37.2-4ubuntu3 @ii mK > (>= 2.38) can't be satisfied!
nvidia-driver-535
Log time: 2023-09-21 23:58:40.881871