从Ubuntu Gnome 16.04切换到Ubuntu 16.04
我最近从16.04切换到Gnome版本,我想回滚,是否可能?
试试这个:
从纯文本模式开始
- 打开电脑。 等到BIOS完成加载,然后按住Shift键 ,这将打开Grub菜单。
- 选择以
Advanced options
开头的行。 - 选择以
(recovery mode)
结尾的行 - 按Return键 ,您的机器将开始启动过程。
- 片刻之后,您的PC应该显示一个菜单,其中包含许多选项,包括
Drop to root shell prompt
。 按下返回并突出显示此选项。 - PC将从终端开始。
运行以下命令:
以读写模式挂载分区
mount -o remount,rw / mount --all
更新存储库
apt-get update
安装aptitude
和deborphan
apt-get install --reinstall aptitude deborphan
消除Ubuntu中不需要的gnome
组件
aptitude remove '?and(?reverse-depends(gnome),?not(?reverse-depends(?exact-name(ubuntu-desktop))))'
重新安装ubuntu-desktop
apt-get install --reinstall ubuntu-desktop
消除孤儿包
deborphan apt-get --purge remove $(deborphan) deborphan --libdevel apt-get --purge remove $(deborphan --libdevel) deborphan --find-config dpkg --purge $(deborphan --find-config)
删除不必要的包
apt-get autoremove
删除下载的包
apt-get clean
重启系统
reboot