Ubuntu下,误删libxml2文件,导致系统无法正常进入GNOME工作的解决办法。
Assuming you are root during recovery (# instead of $), if not, append every command with
sudo
This will turn on your Wired connection
ifconfig eth0 up
Connect
dhclient eth0
Check that we are online
ping -c 4 google.com
If we are not online, no need to continue with the commands since they will error out.
Update the package list, re-install the default Ubuntu-Desktop and libxml2
apt-get update
apt-get install ubuntu-desktop libxml2
And finally reboot.
reboot
Assuming you are root during recovery (# instead of $), if not, append every command with
sudo
This will turn on your Wired connection
ifconfig eth0 up
Connect
dhclient eth0
Check that we are online
ping -c 4 google.com
If we are not online, no need to continue with the commands since they will error out.
Update the package list, re-install the default Ubuntu-Desktop and libxml2
apt-get update
apt-get install ubuntu-desktop libxml2
And finally reboot.
reboot
本文提供了一套在Ubuntu系统中误删除libxml2文件后,通过启动恢复模式、网络连接、更新软件包列表、重新安装默认Ubuntu桌面环境及libxml2,并最终重启系统的解决方案。
1731

被折叠的 条评论
为什么被折叠?



