如何刪除Unity 7.4.5

如何刪除Unity 7.4.5

我的電腦上安裝了 Unity 和 Gnome (Ubuntu 16.04.4)。如何在不造成任何損壞的情況下刪除 Unity?當我搜尋 Synaptic Manager(搜尋統一)時,結果是 500 行,我無法理解要刪除哪些套件...

答案1

試試這個:以純文字模式啟動

Switch on your computer. Wait until the BIOS has finished loading, and press and hold Shift, which will bring up the Grub menu.

Select the line which starts with Advanced options.

Select the line ending with (recovery mode)

Press Return and your machine will begin the boot process.

After a few moments, your PC should display a menu with a number of options, including Drop to root shell prompt. Press Return with this option highlighted.

The PC will start in a terminal.

運行這些命令:

以讀寫模式掛載分割區

mount -o remount,rw /
mount --all

更新儲存庫

apt update

安裝 aptitude 和 deborphan

apt install --reinstall aptitude deborphan

消除 gnome 中不需要的 unity 組件

aptitude remove '?and(?reverse-depends(unity),?not(?reverse-depends(?exact-name(gnome))))'

重新安裝侏儒

apt install --reinstall gnome

消除孤立包

deborphan
apt --purge remove $(deborphan)
deborphan --libdevel
apt --purge remove $(deborphan --libdevel)
deborphan --find-config
dpkg --purge $(deborphan --find-config)

刪除不需要的包

apt autoremove

刪除下載的套件

apt clean

重啟系統

reboot

相關內容