如何恢复到最小安装(Ububtu 18.04.1)?

如何恢复到最小安装(Ububtu 18.04.1)?

我完成了 Ubuntu 18.04.1 的全新最小安装,安装了所有程序和数据,然后重启。它只出现了非图形登录提示。在尝试一点一点修复这个问题后,我放弃了,安装了 ubuntu-desktop。这解决了所有问题,但它也安装了最小安装中没有的所有“额外内容”。

我知道如何删除已安装的附加程序,但不知道如何卸载那些可能不明显的程序。有没有办法删除这些额外的程序,只保留最小安装时的内容?

答案1

以下是完整安装中包含但不包含在最小安装中的软件包名称列表。这是我生成列表的方式。

我在虚拟机上进行了完整安装并运行

apt list --installed > onefile

然后我在虚拟机上进行了最小安装,再次运行该命令到第二个文件,比较了文件并找到了不在最小安装中的文件。

使用此信息,您可以将其与您自己的已安装列表进行比较,并决定要使用哪些软件包进行卸载

apt-get remove package_name

或 apt-get purge package_name

这是完整安装中包含但不包含在最小安装中的软件包名称列表。

aisleriot
baobab
branding-ubuntu
cheese
deja-dup
example-content
gir1.2-rb-3.0
gir1.2-totem-1.0
gir1.2-totemplparser-1.0
gnome-calendar
gnome-mahjongg
gnome-mines
gnome-sudoku
gnome-todo
gnome-todo-common
gnome-video-effects
guile-2.0-libs
hyphen-en-us
libabw-0.1-1
libavahi-ui-gtk3-0
libdmapsharing-3.0-2
libexttextcat-2.0-0
libexttextcat-data
libfreehand-0.1-1
libgnome-games-support-1-3
libgnome-games-support-common
libgnome-todo
libmessaging-menu0
libmhash2
libminiupnpc10
libmwaw-0.3-3
libmythes-1.2-0
libnatpmp1
libneon27-gnutls
liborcus-0.13-0
libpagemaker-0.0-0
libraptor2-0
librasqal3
librdf0
libreoffice-avmedia-backend-gstreamer
libreoffice-base-core
libreoffice-calc
libreoffice-common
libreoffice-core
libreoffice-draw
libreoffice-gnome
libreoffice-gtk3
libreoffice-help-en-us
libreoffice-impress
libreoffice-math
libreoffice-ogltrans
libreoffice-pdfimport
libreoffice-style-breeze
libreoffice-style-galaxy
libreoffice-style-tango
libreoffice-writer
librhythmbox-core10
libtotem0
libvisio-0.1-1
libwpd-0.10-10
libwpg-0.3-3
libwps-0.4-4
libyajl2
mythes-en-us
python3-uno
remmina
remmina-common
remmina-plugin-rdp
remmina-plugin-secret
remmina-plugin-vnc
rhythmbox
rhythmbox-data
rhythmbox-plugin-alternative-toolbar
rhythmbox-plugins
shotwell
shotwell-common
simple-scan
thunderbird
thunderbird-gnome-support
thunderbird-locale-en
thunderbird-locale-en-us
totem
totem-common
totem-plugins
transmission-common
transmission-gtk
ubuntu-web-launchers
uno-libs3
ure
usb-creator-gtk
vino
zeitgeist-core

相关内容