Debian11/KDE를 Debian12로 업그레이드한 후 재부팅하고 실행하면 다음과 같은 메시지 sudo apt-get upgrade
가 나타납니다 The following packages have been kept back: sysv-rc-conf
. Plasma-workspace와 같은 많은 중요한 패키지를 제거해야 하기 때문에 설치할 수 없습니다. 무엇을 해야 합니까?
답변1
Debian 11 Bullseye에서 Debian 12 Bookworm으로 업그레이드한 후에도 동일한 문제가 발생했습니다.
# apt upgrade
--- cut ---
Calculating upgrade... Done
The following packages have been kept back: sysv-rc-conf
이 경우 여러 패키지 충돌에 대한 솔루션을 제안할 수 있는 Aptitude 명령을 사용합니다.
# aptitude dist-upgrade
The following packages will be upgraded:
sysv-rc-conf{b}
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 21,6 kB of archives. After unpacking 1 024 B will be freed.
The following packages have unmet dependencies:
sysv-rc-conf : Depends: sysvinit-core but it is not going to be installed
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) sysv-rc-conf [0.99-7.1 (now)]
나는 패키지를 보관하라는 제안된 해결책을 받아들이지 않았습니다.
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Remove the following packages:
1) sysv-rc-conf [0.99-7.1 (now)]
Aptitude는 패키지 제거를 위한 새로운 솔루션을 제시했기 때문에 이를 수락했습니다.
Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
libcurses-ui-perl{u} sysv-rc-conf{a}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 750 kB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 510305 files and directories currently installed.)
Removing sysv-rc-conf (0.99-7.1) ...
Removing libcurses-ui-perl (0.9609-1.1) ...
Processing triggers for man-db (2.11.2-2) ...
Current status: 0 (-1) upgradable.
sysv-rc-conf 패키지는 더 이상 유지되지 않습니다.
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded