从 Debian 11 升级到 Debian 12 时的依赖问题

从 Debian 11 升级到 Debian 12 时的依赖问题

我正在尝试将我的系统从 Debian 11 升级到 Debian 12。当我运行 sudo apt full-upgrade 时,

λ ~/ main* sudo apt full-upgrade                                           
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libboost-thread1.74.0 : Breaks: libboost-regex1.74.0-icu67
libc6-dev : Breaks: libnetcdf-dev (<= 1:4.9.0-3) but 1:4.7.4-1 is to be installed
libgirepository-1.0-1 : Breaks: libgjs0g (< 1.68.4-1+b1) but 1.66.2-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我担心如果我尝试单独解决它会破坏我的系统。谁能帮我弄清楚如何解决依赖性问题?

/etc/apt/sources.list

# deb cdrom:[Official Debian GNU/Linux Live 11.3.0 standard 2022-03-26T17:04]/ bullseye main

#deb cdrom:[Official Debian GNU/Linux Live 11.3.0 standard 2022-03-26T17:04]/ bullseye main

deb http://mirror.csclub.uwaterloo.ca/debian/ bookworm main non-free contrib #non-free-firmware
deb-src http://mirror.csclub.uwaterloo.ca/debian/ bookworm main non-free contrib #non-free-firmware
 
deb http://mirror.csclub.uwaterloo.ca/debian-security/ bookworm-security main non-free contrib #non-free-firmware
deb-src http://mirror.csclub.uwaterloo.ca/debian-security/ bookworm-security main non-free contrib #non-free-firmware

deb http://mirror.csclub.uwaterloo.ca/debian/ bookworm-updates main #non-free-firmware
deb-src http://mirror.csclub.uwaterloo.ca/debian/ bookworm-updates main #non-free-firmware

#deb https://deb.debian.org/debian bullseye contrib non-free

deb http://mirror.csclub.uwaterloo.ca/debian/ bookworm-backports main contrib non-free
deb-src http://mirror.csclub.uwaterloo.ca/debian/ bookworm-backports main contrib non-free

/etc/apt/sources.list.d/google-chrome.list

λ ~/ main* sudo cat /etc/apt/sources.list.d/*.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

apt list '?narrow(?installed, ?not(?origin(Debian)))' 的输出有 2239 行长:(

https://drive.google.com/file/d/11D21kCt_2vy3MsaTU-gA5JEj2U5iNRoZ/view?usp=sharing

相关内容