我怀疑安装xfce4
会在Ubuntu中引起一些问题,因此我使用删除了它们apt-get remove xfce4 xfce4-goodeis
。
但是当我运行'dpkg -l'时,我仍然可以看到xfce4的一些库和软件包:
$ dpkg -l | grep -i xfce
rc libexo-1-0:amd64 0.10.2-2 amd64 Library with extensions for Xfce
rc libgarcon-1-0 0.2.1-1 amd64 freedesktop.org compliant menu implementation for Xfce
rc libxfce4ui-1-0 4.11.0-0ubuntu1~ppa0.13.10.1 amd64 widget library for Xfce - Gtk+2 variant
rc libxfce4ui-common 4.11.0-0ubuntu1~ppa0.13.10.1 all common files for libxfce4ui
rc libxfce4util6 4.10.1-1 amd64 Utility functions library for Xfce4
rc libxfcegui4-4 4.10.0-2 amd64 Basic GUI C functions for Xfce4
rc libxfconf-0-2 4.10.0-2 amd64 Client library for Xfce4 configure interface
rc mousepad 0.3.0-2 amd64 simple Xfce oriented text editor
rc thunar 1.6.3-1ubuntu1 amd64 File Manager for Xfce
rc xfce4-appfinder 4.10.1-1 amd64 Application finder for the Xfce4 Desktop Environment
rc xfce4-clipman 2:1.2.3-2ubuntu1 amd64 clipboard history utility
rc xfce4-mixer 1:4.10.0-1ubuntu2 amd64 Xfce mixer application
rc xfce4-notes 1.7.7-3ubuntu2 amd64 Notes application for the Xfce4 desktop
rc xfce4-panel 4.10.1-1ubuntu1 amd64 panel for Xfce4 desktop environment
rc xfce4-power-manager 1.2.0-2ubuntu1 amd64 power manager for Xfce desktop
rc xfce4-session 4.10.1-1ubuntu1 amd64 Xfce4 Session Manager
rc xfce4-settings 4.11.1-0ubuntu1~ppa0.13.10.1 amd64 graphical application for managing Xfce settings
rc xfce4-terminal 0.6.2-3ubuntu1.1 amd64 Xfce terminal emulator
rc xfce4-volumed 0.2.0-0ubuntu1 amd64 volume keys daemon
rc xfdesktop4 4.11.2-0ubuntu1~ppa0.13.10.1 amd64 xfce desktop background, icons and root menu manager
rc xfwm4 4.11.1-0ubuntu1~ppa0.13.10.1 amd64 window manager of the Xfce project
我复制粘贴了所有这些package \ libraries以形成apt-get remove
删除所有这些依赖项的命令,该命令正常运行,但是运行dpkg -l | grep -i xfce
再次显示了这些依赖项!
为什么仍然安装这些依赖项?
请注意rc
列表的开头。
r
:删除(标记为删除)
c
:存在配置文件。
apt-get remove
和purge
(From man apt-get
)之间的区别
remove
remove is identical to install except that packages are removed instead of installed.
Note the removing a package leaves its configuration files in system.
purge
purge is identical to remove except that packages are removed and purged (any
configuration files are deleted too).
当您选择时apt-get remove
,您会dpkg -l
反映出来。如果您曾经被使用过apt-get purge
,则可以避免这种情况。要摆脱这些问题,请在终端中尝试,
dpkg --list | grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge
它将清除所有标记为可移除的包装。在清除它们之前,您可以检查要清除的列表,
dpkg --list | grep "^rc" | cut -d " " -f 3
我猜您没有其他要删除的软件包,除非这些软件包来自xfce
。如果您不确定。请改用以下内容:
dpkg --list | grep -i xfce | cut -d " " -f 3 | xargs sudo dpkg --purge
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句