Debian12にアップグレードしてソフトウェアパッケージaptをアップグレードすると、次のソフトウェアパッケージが維持されました:sysv-rc-confが表示されます。

Debian12にアップグレードしてソフトウェアパッケージaptをアップグレードすると、次のソフトウェアパッケージが維持されました:sysv-rc-confが表示されます。

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

おすすめ記事