我如何删除 lubuntu-desktop?

我如何删除 lubuntu-desktop?

可能重复:
如何彻底删除桌面?

我想尝试 lubuntu-desktop 所以我用 安装了它sudo apt-get install lubuntu-desktop

但是当我不喜欢它时,我想用它删除它sudo apt-get remove lubuntu-desktop(然后用自动删除),但我的启动/关机屏幕仍然显示 lubuntu。

那么我该如何删除 lubuntu-desktop?

  • 尝试一:

sudo apt-get remove lubuntu-desktop

我也尝试过删除并安装 ubuntu-desktop,但是没有成功。

答案1

http://www.psychocats.net/ubuntu/puregnom

注意,这仅适用于 Ubuntu 11.10 (Oneiric)

如果您正在使用 kubuntu 或 xubuntu,请检查 purekubuntu/xubuntu 条目。

sudo apt-get remove abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview ace-of-penguins audacious audacious-plugins chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg elementary-icon-theme esound-common galculator gdebi gdebi-core giblib1 gnome-icon-theme-full gnome-mplayer gnome-system-tools gnome-time-admin gnumeric gnumeric-common gnumeric-doc gpicview gtk2-engines-pixbuf guvcview hardinfo indicator-status-provider-pidgin leafpad libabiword-2.8 libaiksaurus-1.2-0c2a libaiksaurus-1.2-data libaiksaurusgtk-1.2-0c2a libaudclient2 libaudcore1 libaudiofile0 libavcodec53 libavformat53 libavutil51 libbinio1ldbl libcddb2 libcompfaceg1 libcue1 libdca0 libdirectfb-1.2-9 libdiscid0 libdvdnav4 libdvdread4 libenca0 libencode-locale-perl libept1 libesd0 libexo-1-0 libexo-common libfaad2 libfile-listing-perl libfluidsynth1 libfm-data libfm-gtk-data libfm-gtk1 libfm1 libfont-afm-perl libgdome2-0 libgdome2-cpp-smart0c2a libglade2-0 libgoffice-0.8-8 libgoffice-0.8-8-common libgringotts2 libgsf-1-114 libgsf-1-common libgsm1 libgtkmathview0c2a libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libid3tag0 libimlib2 libio-socket-ssl-perl libjpeg-progs liblink-grammar4 libloudmouth1-0 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libmcrypt4 libmcs1 libmenu-cache1 libmms0 libmowgli2 libmusicbrainz3-6 libnet-dbus-perl libnet-http-perl libnet-ssleay-perl libobrender27 libobt0 libonig2 liboobs-1-5 libopenal1 libopts25 libots0 libpisock9 libpolkit-gtk-1-0 libpostproc52 libresid-builder0c2a libschroedinger-1.0-0 libsidplay2 libsvga1 libswscale2 libtar0 libtie-ixhash-perl libtimedate-perl libts-0.0-0 libuniconf4.6 liburi-perl libva1 libvdpau1 libvpx0 libwebcam0 libwv-1.2-3 libwvstreams4.6-base libwvstreams4.6-extras libwww-perl libwww-robotrules-perl libxfce4ui-1-0 libxfce4util-bin libxfce4util-common libxfce4util4 libxfcegui4-4 libxfconf-0-2 libxml-parser-perl libxml-twig-perl libxml-xpath-perl libxss1 libxvidcore4 link-grammar-dictionaries-en lm-sensors lubuntu-artwork lubuntu-core lubuntu-default-settings lubuntu-desktop lubuntu-icon-theme lxappearance lxappearance-obconf lxde-common lxde-core lxdm lxinput lxkeymap lxlauncher lxmenu-data lxpanel lxpanel-indicator-applet-plugin lxrandr lxsession lxsession-edit lxshortcut lxtask lxterminal mplayer mtpaint ntp obconf openbox openbox-themes osmo pcmanfm pidgin pidgin-data pidgin-libnotify pidgin-microblog plymouth-theme-lubuntu-logo plymouth-theme-lubuntu-text scrot sylpheed sylpheed-doc sylpheed-i18n sylpheed-plugins synaptic system-tools-backends transmission tsconf ttf-lyx uvcdynctrl uvcdynctrl-data wvdial xfburn xfce-keyboard-shortcuts xfce4-power-manager xfce4-power-manager-data xfconf xfonts-100dpi xpad xscreensaver xscreensaver-data && sudo apt-get install ubuntu-desktop

对于 Ubuntu 13.04 使用此命令

sudo apt-get remove abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview ace-of-penguins audacious audacious-plugins chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg elementary-icon-theme esound-common galculator gdebi gdebi-core giblib1 gnome-icon-theme-full gnome-mplayer gnome-system-tools gnome-time-admin gnumeric gnumeric-common gnumeric-doc gpicview gtk2-engines-pixbuf guvcview hardinfo indicator-status-provider-pidgin leafpad libabiword-2.9 libaiksaurus-1.2-0c2a libaiksaurus-1.2-data libaiksaurusgtk-1.2-0c2a libaudclient2 libaudcore1 libaudiofile1 libavcodec53 libavformat53 libavutil51 libbinio1ldbl libcddb2 libcompfaceg1 libcue1 libdca0 libdirectfb-1.2-9 libdiscid0 libdvdnav4 libdvdread4 libenca0 libencode-locale-perl libept1.4.12 libesd0 libexo-1-0 libexo-common libfaad2 libfile-listing-perl libfluidsynth1 libfm-data libfm-gtk-data libfm-gtk3 libfm3 libfont-afm-perl libgdome2-0 libgdome2-cpp-smart0c2a libglade2-0 libgoffice-0.8-8 libgoffice-0.8-8-common libgringotts2 libgsf-1-114 libgsf-1-common libgsm1 libgtkmathview0c2a libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libid3tag0 libimlib2 libio-socket-ssl-perl libjpeg-progs liblink-grammar4 libloudmouth1-0 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libmcrypt4 libmcs1 libmenu-cache2 libmms0 libmowgli2 libmusicbrainz3-6 libnet-dbus-perl libnet-http-perl libnet-ssleay-perl libobrender27 libobt0 libonig2 liboobs-1-5 libopenal1 libopts25 libots0 libpisock9 libpolkit-gtk-1-0 libpostproc52 libresid-builder0c2a libschroedinger-1.0-0 libsidplay2 libsvga1 libswscale2 libtar0 libtie-ixhash-perl libtimedate-perl libts-0.0-0 libuniconf4.6 liburi-perl libva1 libvdpau1 libvpx1 libwebcam0 libwv-1.2-4 libwvstreams4.6-base libwvstreams4.6-extras libwww-perl libwww-robotrules-perl libxfce4ui-1-0 libxfce4util-bin libxfce4util-common libxfce4util4 libxfcegui4-4 libxfconf-0-2 libxml-parser-perl libxml-twig-perl libxml-xpath-perl libxss1 libxvidcore4 link-grammar-dictionaries-en lm-sensors lubuntu-artwork lubuntu-core lubuntu-default-settings lubuntu-desktop lubuntu-icon-theme lxappearance lxappearance-obconf lxde-common lxde-core lxdm lxinput lxkeymap lxlauncher lxmenu-data lxpanel lxpanel-indicator-applet-plugin lxrandr lxsession lxsession-edit lxshortcut lxtask lxterminal mplayer mtpaint ntp obconf openbox openbox-themes osmo pcmanfm pidgin pidgin-data pidgin-libnotify pidgin-microblog plymouth-theme-lubuntu-logo plymouth-theme-lubuntu-text scrot sylpheed sylpheed-doc sylpheed-i18n sylpheed-plugins synaptic system-tools-backends transmission tsconf ttf-lyx uvcdynctrl uvcdynctrl-data wvdial xfburn xfce-keyboard-shortcuts xfce4-power-manager xfce4-power-manager-data xfconf xfonts-100dpi xpad xscreensaver xscreensaver-data && sudo apt-get install ubuntu-desktop

答案2

显然 lubuntu 软件包覆盖了一些文件。我将重新安装 ubuntu-desktop 及其所有依赖项,例如

sudo apt-cache depends ubuntu-desktop | awk -F ":" '{print $2}' | sed '/^$/d' | grep -v 'i386' | xargs sudo apt-get install --reinstall --install-recommends --yes

答案3

因此要删除 lubuntu-desktop 你只需要:

sudo apt-get remove lubuntu-desktop lubuntu-artwork plymouth-theme-lubuntu-logo plymouth-theme-lubuntu-text

然后sudo apt-get auto-remove剩下的。

答案4

此链接对我来说很管用。非常容易遵循,只是过程有点冗长……我不知道你是否需要,但以防万一,在完成上述链接中的所有操作后,我也输入了以下命令:

sudo apt-get update && sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get install --reinstall ubuntu-desktop

Lubuntu 已彻底删除 ^_^

相关内容