不知何故,我设法卸载了一些不该卸载的东西。
当我重新启动时,登录屏幕正常显示,但之后桌面变黑(虽然有一些图标,我可以启动那些程序),没有启动器,也无法打开终端窗口。
在文本界面 ( Alt++ ) 上,我重新安装了Ctrl,它让我恢复了 GUI,但现在它看起来有点过时,并且处理方式不同(例如,++打开一个终端窗口,但没有聚焦)。并告诉我,有许多未使用的依赖项(见下文)。F1unity
CtrlAltTapt
你知道我无意中删除了哪个包吗?我可能还需要记住其他什么吗?
非常感谢。
The following packages were automatically installed and are no longer required:
accountsservice-ubuntu-schemas
accountsservice-ubuntu-touch-schemas address-book-service
app-install-data apparmor-easyprof apparmor-easyprof-ubuntu
apport-symptoms aptdaemon-data apturl-common biometryd-bin
cgmanager click-apparmor content-hub dpkg-repack dvd+rw-tools
ethtool evolution-data-server-utouch folks-common gedit-common
gir1.2-javascriptcoregtk-3.0 gir1.2-javascriptcoregtk-4.0
gnome-software-common gnome-terminal-data growisofs
history-service hplip-data indicator-network indicator-transfer
indicator-transfer-download-manager intel-gpu-tools
libaccount-plugin-generic-oauth libbiometryd1
libboost-locale1.61.0 libboost-log1.61.0 libboost-python1.61.0
libboost-regex1.61.0 libboost-serialization1.61.0 libcapnp-0.5.3
libconnectivity-qt1 libcontent-hub0 libdbus-cpp5 libfolks-eds25
libfolks25 libgflags2v5 libgoogle-glog0v5 libgspell-1-1
libgspell-1-common libgtkspell3-3-0 libhardware2
libhistoryservice0 libhud2 libhybris libhybris-common1
libindicator-transfer0 libjavascriptcoregtk-3.0-0 libjsoncpp1
libleveldb1v5 liblightdm-qt5-3-0 libmedia1
libmission-control-plugins0 libnet-cpp2
libonline-accounts-client1 libonline-accounts-daemon1
libonline-accounts-qt1 liboxideqt-qmlplugin liboxideqtcore0
liboxideqtquick0 libpam-cgfs libpay2 libpkcs11-helper1
libprocess-cpp3 libqdjango-db0 libqgsttools-p1 libqmenumodel0
libqofono-qt5-0 libqt5concurrent5 libqt5contacts5 libqt5feedback5
libqt5multimedia5-plugins libqt5multimediaquick-p5
libqt5multimediawidgets5 libqt5organizer5 libqt5positioning5
libqt5quicktest5 libqt5sensors5 libqt5systeminfo5 libqt5versit5
libqt5xmlpatterns5 libsane-hpaio libsystemsettings1
libtelepathy-qt4-2 libtelepathy-qt5-0 libthumbnailer-qt1.0
libtrust-store2 libubuntu-application-api3
libubuntu-download-manager-client1
libubuntu-download-manager-common1 libubuntu-location-service3
libubuntu-platform-hardware-api3 libubuntugestures5
libubuntumetrics5 libubuntutoolkit5 libudm-common1
libudm-priv-common1 libunity-action-qt1 libunity-api0
libunity-scopes1.0 libunity-webapps0 libunwind8
libusermetricsinput1 libusermetricsoutput1 libwebkitgtk-3.0-0
libx86-1 libzmqpp4 mir-client-platform-mesa5
mir-graphics-drivers-desktop mir-platform-graphics-mesa-kms10
mir-platform-graphics-mesa-x10 mir-platform-input-evdev5
network-manager-openvpn openvpn plainbox-secure-policy pm-utils
policykit-unity8 pyotherside python-cffi-backend python-configobj
python-cryptography python-debian python-defer python-enum34
python-idna python-ipaddress python-ndg-httpsclient
python-openssl python-pyasn1 python-pycurl python-pyexiv2
python-pyexiv2-doc python-requests python-urllib3
python3-apparmor python3-apparmor-click python3-apport
python3-brlapi python3-defer python3-guacamole python3-jinja2
python3-keyrings.alt python3-lazr.restfulclient python3-lazr.uri
python3-libapparmor python3-louis python3-markupsafe
python3-oauth python3-padme python3-pexpect python3-pil
python3-plainbox python3-problem-report python3-progressbar
python3-ptyprocess python3-pyparsing python3-renderpm
python3-reportlab python3-reportlab-accel python3-simplejson
python3-software-properties python3-speechd python3-systemd
python3-wadllib python3-xdg python3-xlsxwriter
python3-zope.interface qmenumodel-qml qml-module-biometryd
qml-module-io-thp-pyotherside qml-module-ofono
qml-module-pamauthentication0.1 qml-module-qmltermwidget1.0
qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings
qml-module-qtfeedback qml-module-qtgraphicaleffects
qml-module-qtmultimedia qml-module-qtquick-layouts
qml-module-qtquick-window2 qml-module-qtquick-xmllistmodel
qml-module-qtquick2 qml-module-qtsysteminfo qml-module-qttest
qml-module-ubuntu-components qml-module-ubuntu-components-labs
qml-module-ubuntu-connectivity qml-module-ubuntu-layouts
qml-module-ubuntu-onlineaccounts
qml-module-ubuntu-onlineaccounts-client
qml-module-ubuntu-onlineaccounts2
qml-module-ubuntu-performancemetrics
qml-module-ubuntu-settings-components qml-module-ubuntu-test
qml-module-ubuntu-thumbnailer0.1 qml-module-ubuntu-web qmlscene
qtcontact5-galera qtdeclarative5-accounts-plugin
qtdeclarative5-dev-tools qtdeclarative5-gsettings1.0
qtdeclarative5-qtmir-plugin qtdeclarative5-qtquick2-plugin
qtdeclarative5-test-plugin qtdeclarative5-ubuntu-content1
qtdeclarative5-ubuntu-settings-components
qtdeclarative5-ubuntu-telephony0.1
qtdeclarative5-ubuntu-ui-toolkit-plugin
qtdeclarative5-ubuntu-web-plugin
qtdeclarative5-unity-action-plugin
qtdeclarative5-unity-notifications-plugin qtmir-desktop
qtubuntu-desktop signon-keyring-extension signon-plugin-password
sqlite3 suru-icon-theme syslinux syslinux-common syslinux-legacy
telepathy-mission-control-5 telephony-service thumbnailer-service
tone-generator ubuntu-app-launch ubuntu-app-launch-tools
ubuntu-application-api3-desktop ubuntu-application-api3-test
ubuntu-download-manager ubuntu-keyboard-data ubuntu-mobile-icons
ubuntu-terminal-app ubuntu-ui-toolkit-theme ubuntuone-client-data
ubuntuone-credentials-common unattended-upgrades
unity-plugin-scopes unity-webapps-qml unity-webapps-service
unity8-common usermetricsservice vbetool webapp-container
webbrowser-app xbrlapi xmir
Use 'sudo apt autoremove' to remove them.
答案1
虽然该unity
软件包足以满足 Unity 窗口管理器、桌面合成器和基本窗口主题的需求,但它不包含或依赖于整个 Ubuntu 桌面。要恢复它,您需要安装该ubuntu-desktop
软件包:
sudo apt install ubuntu-desktop
注销你的图形用户会话并重新登录,然后一切就绪了。
可能会有一些挥之不去的影响:update-alternatives
系统可能在删除某些软件包后选择了下一个最佳替代方案。当您重新安装它们时,它们通常会恢复如果他们的替代方案具有更高的优先级。如果它们具有相同的优先级值,则先前的设置将保持有效。
控制台字体就是这样一种设置。请搜索有关更改控制台字体的问题。