I was having some trouble with R so I thought I'd just remove it and re-install it. So I did:
sudo apt-get remove r-base*
and mindlessly hit return (why??).
I sat there as my system was immediately stripped of the following:
accountsservice elementary-standard evolution-data-server
evolution-data-server-online-accounts filelight gcr geary
gnome-control-center gnome-keyring gnome-settings-daemon indicator-bluetooth
indicator-datetime indicator-keyboard indicator-sound kde-runtime
kolourpaint4 kubuntu-debug-installer language-selector-common
libaccountsservice0 libebackend-1.2-7 libebook-1.2-14
libebook-contacts-1.2-0 libecal-1.2-16 libedata-book-1.2-20
libedata-cal-1.2-23 libedataserver-1.2-18 libfolks-eds25 libgcr-base-3-1
libgcr-ui-3-1 libgdata13 libgoa-backend-1.0-1 libmaya-calendar0
maya-calendar maya-calendar-plugin-caldav maya-calendar-plugin-google
midori-granite modemmanager okular oneconf pantheon-shell
pantheon-xsession-settings python-ubuntu-sso-client qapt-batch r-base
r-base-core r-base-dev r-base-html r-cran-boot r-cran-class r-cran-cluster
r-cran-codetools r-cran-foreign r-cran-kernsmooth r-cran-lattice r-cran-mass
r-cran-matrix r-cran-mgcv r-cran-nlme r-cran-nnet r-cran-rpart
r-cran-spatial r-cran-survival r-recommended software-center
switchboard-plug-gcc-bluetooth switchboard-plug-gcc-color
switchboard-plug-gcc-mouse switchboard-plug-gcc-network
switchboard-plug-gcc-printer switchboard-plug-gcc-sound
switchboard-plug-gcc-ua switchboard-plug-gcc-wacom switchboard-plug-locale
switchboard-plug-useraccounts switchboard-plug-users ubuntu-sso-client
and had the following installed:
apparmor-easyprof apparmor-easyprof-ubuntu click click-apparmor
gir1.2-click-0.4 gir1.2-gee-0.8 gir1.2-json-1.0 hud libandroid-properties1
libboost-program-options1.54.0 libcapnp-0.4.0 libclick-0.4-0 libcolumbus1
libcolumbus1-common libdbus-cpp2 libdbusmenu-qt5 libdee-qt5-3 libgflags2
libglewmx1.10 libgoogle-glog0 libgsettings-qt1 libhud-client2 libhud2
libhybris-common1 libjsoncpp0 liblttng-ust-ctl2 liblttng-ust0
libmediascanner-2.0-0 libmirclient7 libmirclientplatform-mesa libmirplatform
libmirplatformgraphics-mesa libmirprotobuf0 libmirserver18 libnux-4.0-0
libnux-4.0-common libpocketsphinx1 libprocess-cpp1 libprotobuf8
libqdjango-db0 libqmenumodel0 libqt5core5a libqt5dbus5 libqt5feedback5
libqt5gui5 libqt5multimedia5 libqt5network5 libqt5organizer5
libqt5qml-graphicaleffects libqt5qml5 libqt5quick5 libqt5sql5
libqt5sql5-sqlite libqt5svg5 libqt5widgets5 libqt5xmlpatterns5
libsphinxbase1 libthumbnailer0 libubuntu-application-api-mirserver1
libubuntu-location-service0 libubuntu-platform-hardware-api1
libunity-action-qt1 libunity-api0 libunity-core-6.0-9 libunity-mir1
libunity-scopes1 libunityvoice1 libunwind8 libupstart-app-launch2 liburcu1
libusermetricsoutput1 libxcb-icccm4 libxcb-image0 libxcb-render-util0
libxcb-xkb1 libxkbcommon-x11-0 libzmqpp3 mediascanner2.0 python3-apparmor
python3-apparmor-click python3-click python3-debian python3-libapparmor
qmenumodel-qml qtdeclarative5-dee-plugin qtdeclarative5-gsettings1.0
qtdeclarative5-qtfeedback-plugin qtdeclarative5-qtquick2-plugin
qtdeclarative5-ubuntu-settings-components
qtdeclarative5-ubuntu-settings-components-assets
qtdeclarative5-ubuntu-thumbnailer0.1 qtdeclarative5-ubuntu-ui-toolkit-plugin
qtdeclarative5-unity-action-plugin qtdeclarative5-unity-notifications-plugin
qtdeclarative5-window-plugin qtdeclarative5-xmllistmodel-plugin
sphinx-voxforge-hmm-en sphinx-voxforge-lm-en sqlite3 thumbnailer-service
ubuntu-ui-toolkit-theme unity-plugin-scopes unity-scope-mediascanner2
unity-scope-scopes unity-services unity-voice-service unity8 unity8-private
upstart-app-launch upstart-app-launch-tools usermetricsservice
After it was finished removing whatever it decided to remove, I did:
sudo apt-get install <all packages in the "removed" block>
Apparently it re-installed the removed packages without issues, but now I'm afraid of restarting my system and finding out I bricked it.
I now get the message that all the following can be safely removed via autoremove
:
freeglut3 gir1.2-peas-1.0 gtk3-engines-unico hud libandroid-properties1
libboost-program-options1.54.0 libcapnp-0.4.0 libcolumbus1
libcolumbus1-common libdbus-cpp2 libdbusmenu-qt5 libdee-qt5-3 libgflags2
libglewmx1.10 libgoogle-glog0 libgrip0 libgsettings-qt1 libhud-client2
libhud2 libhybris-common1 libjsoncpp0 libmediascanner-2.0-0 libmirclient7
libmirclientplatform-mesa libmirplatform libmirplatformgraphics-mesa
libmirprotobuf0 libmirserver18 libnux-4.0-0 libnux-4.0-common
libpocketsphinx1 libprocess-cpp1 libprotobuf8 libqdjango-db0 libqmenumodel0
libqt5core5a libqt5dbus5 libqt5feedback5 libqt5gui5 libqt5multimedia5
libqt5network5 libqt5organizer5 libqt5qml-graphicaleffects libqt5qml5
libqt5quick5 libqt5sql5 libqt5sql5-sqlite libqt5svg5 libqt5widgets5
libqt5xmlpatterns5 libsphinxbase1 libthumbnailer0
libubuntu-application-api-mirserver1 libubuntu-location-service0
libubuntu-platform-hardware-api1 libunity-action-qt1 libunity-api0
libunity-core-6.0-9 libunity-mir1 libunity-scopes1 libunityvoice1 libunwind8
libusermetricsoutput1 libxcb-icccm4 libxcb-image0 libxcb-render-util0
libxcb-xkb1 libxkbcommon-x11-0 libzmqpp3 linux-headers-3.13.0-53
linux-headers-3.13.0-53-generic linux-headers-3.16.0-34
linux-headers-3.16.0-34-generic linux-headers-generic-lts-utopic
linux-image-3.13.0-53-generic linux-image-3.16.0-34-generic
linux-image-extra-3.13.0-53-generic linux-image-extra-3.16.0-34-generic
linux-image-generic-lts-utopic linux-signed-image-3.13.0-53-generic
mediascanner2.0 python-colorama python-distlib python-html5lib python-opengl
python-wheel qmenumodel-qml qtdeclarative5-dee-plugin
qtdeclarative5-gsettings1.0 qtdeclarative5-qtfeedback-plugin
qtdeclarative5-qtquick2-plugin qtdeclarative5-ubuntu-settings-components
qtdeclarative5-ubuntu-settings-components-assets
qtdeclarative5-ubuntu-thumbnailer0.1 qtdeclarative5-ubuntu-ui-toolkit-plugin
qtdeclarative5-unity-action-plugin qtdeclarative5-unity-notifications-plugin
qtdeclarative5-window-plugin qtdeclarative5-xmllistmodel-plugin
sphinx-voxforge-hmm-en sphinx-voxforge-lm-en sqlite3 thumbnailer-service
ubuntu-ui-toolkit-theme unity-scope-mediascanner2 unity-scope-scopes
unity-services unity-voice-service unity8-private usermetricsservice
which of course I'm too afraid to do.
Is there something I should do? Any recommendations on how to fix this mess? Should I install some other package? Can I autoremove
the bazillion packages listed?