KDE Plasma で firefox-esr をインストールせずに Konqueror を削除する

KDE Plasma で firefox-esr をインストールせずに Konqueror を削除する

KDE Plasma デスクトップから Konqueror をアンインストールしようとしています。シェル コマンドを実行すると、次の結果が表示されますsudo apt remove konqueror

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  libkf5konq6
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  firefox-esr
Suggested packages:
  fonts-stix | otf-stix fonts-lmodern
The following packages will be REMOVED:
  konq-plugins konqueror
The following NEW packages will be installed:
  firefox-esr
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 55.4 MB of archives.
After this operation, 180 MB of additional disk space will be used.
Do you want to continue? [Y/n]

すでにデフォルトに設定されている Brave ブラウザを使用しているため、 firefox-esr をインストールしたくありません。

出力apt-cache policy konq-plugins konqueror firefox-esr:

konq-plugins:
  Installed: 4:20.12.0-4
  Candidate: 4:20.12.0-4
  Version table:
 *** 4:20.12.0-4 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
        100 /var/lib/dpkg/status
konqueror:
  Installed: 4:20.12.0-4
  Candidate: 4:20.12.0-4
  Version table:
 *** 4:20.12.0-4 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
        100 /var/lib/dpkg/status
firefox-esr:
  Installed: (none)
  Candidate: 78.14.0esr-1~deb11u1
  Version table:
     78.14.0esr-1~deb11u1 500
        500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
        100 /var/lib/dpkg/status
     78.12.0esr-1 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages

答え1

わかりました。解決しました。dpkg を使用して konqueror を削除しようとしたsudo dpkg -r konq-plugins konquerorところ、libreoffice-help-en-us は firefox-esr、epiphany-browser、konqueror、chromium、firefox のいずれかに依存していることがわかりました。

(Reading database ... 211190 files and directories currently installed.)
Removing konq-plugins (4:20.12.0-4) ...
dpkg: dependency problems prevent removal of konqueror:
 libreoffice-help-en-us depends on firefox-esr | epiphany-browser | konqueror | chromium | firefox; however:
  Package firefox-esr is not installed.
  Package epiphany-browser is not installed.
  Package konqueror is to be removed.
  Package chromium is not installed.
  Package firefox is not installed.

dpkg: error processing package konqueror (--remove):
 dependency problems - not removing
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 konqueror

libreoffice-help-en-us を削除した後、konqueror を削除できました。

関連情報