我试图删除 Firefox,但这会让我安装 kde 库...我目前正在使用 ubuntu unity 17.04。如何解决?
user: ~$ sudo apt-get remove firefox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
breeze-icon-theme icoutils kate-data katepart kde-baseapps-bin kde-baseapps-data kde-runtime kde-runtime-data
kde-style-breeze kde-style-breeze-qt4 kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools kwayland-data
kwayland-integration libattica0.4 libclucene-core1v5 libdlrestrictions1 libfam0 libgpgme++2v5 libkactivities6
libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5
libkdnssd4 libkemoticons4 libkf5archive5 libkf5auth-data libkf5auth5 libkf5codecs-data libkf5codecs5 libkf5config-bin
libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data
libkf5coreaddons5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5
libkf5idletime5 libkf5itemviews-data libkf5itemviews5 libkf5style5 libkf5waylandclient5 libkf5widgetsaddons-data
libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkfile4 libkhtml5 libkio5 libkjsapi4 libkjsembed4
libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkparts4 libkpty4 libkrosscore4 libktexteditor4
libkxmlrpcclient4 libnl-route-3-200 libntrack-qt4-1 libntrack0 libphonon4 libplasma3 libpolkit-qt-1-1 libpolkit-qt5-1-1
libqca2 libqca2-plugins libqoauth1 libqt4-opengl libqt4-qt3support libqt5script5 libqtwebkit4 libsolid4 libstreamanalyzer0v5
libstreams0v5 libthreadweaver4 ntrack-module-libnl-0 oxygen-icon-theme phonon phonon-backend-gstreamer
phonon-backend-gstreamer-common plasma-scriptengine-javascript rekonq
Suggested packages:
libterm-readline-gnu-perl | libterm-readline-perl-perl djvulibre-bin finger fam hspell phonon-backend-mplayer
phonon-backend-vlc phonon4qt5-backend-gstreamer kget
The following packages will be REMOVED:
firefox
The following NEW packages will be installed:
breeze-icon-theme icoutils kate-data katepart kde-baseapps-bin kde-baseapps-data kde-runtime kde-runtime-data
kde-style-breeze kde-style-breeze-qt4 kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools kwayland-data
kwayland-integration libattica0.4 libclucene-core1v5 libdlrestrictions1 libfam0 libgpgme++2v5 libkactivities6
libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5
libkdnssd4 libkemoticons4 libkf5archive5 libkf5auth-data libkf5auth5 libkf5codecs-data libkf5codecs5 libkf5config-bin
libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data
libkf5coreaddons5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5
libkf5idletime5 libkf5itemviews-data libkf5itemviews5 libkf5style5 libkf5waylandclient5 libkf5widgetsaddons-data
libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkfile4 libkhtml5 libkio5 libkjsapi4 libkjsembed4
libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkparts4 libkpty4 libkrosscore4 libktexteditor4
libkxmlrpcclient4 libnl-route-3-200 libntrack-qt4-1 libntrack0 libphonon4 libplasma3 libpolkit-qt-1-1 libpolkit-qt5-1-1
libqca2 libqca2-plugins libqoauth1 libqt4-opengl libqt4-qt3support libqt5script5 libqtwebkit4 libsolid4 libstreamanalyzer0v5
libstreams0v5 libthreadweaver4 ntrack-module-libnl-0 oxygen-icon-theme phonon phonon-backend-gstreamer
phonon-backend-gstreamer-common plasma-scriptengine-javascript rekonq
0 upgraded, 99 newly installed, 1 to remove and 0 not upgraded.
Need to get 80.0 MB of archives.
After this operation, 142 MB of additional disk space will be used.
Do you want to continue? [Y/n]
答案1
该firefox
软件包提供了www-browser
。当您删除firefox
时(如果系统中没有其他软件包提供 )www-browser
,apt 将自动选择另一个软件包提供www-browser
进行安装。在您的例子中,它选择了rekonq
,即 KDE 浏览器。
如果您不想安装 KDE,您应该先安装另一个浏览器,比如 Chrome,然后再删除 Firefox。