Recovery from failed upgrade from Ubuntu 14.10 to 15.10
2016-04-15 23:16
549 查看
Why upgrade failed?
When the upgrade is ongoing, I plugged out the power and the network wire, then Ubuntu hanged and the upgrade stopped there without any response.We know there are several steps in the upgrade process, such as downloading the packages and installing the package locally.
Since the download seems finished, I think the packages are installed in local and the network is not needed in this step.
But I was wrong.
What the consequence?
After I reboot the laptop by pressing the power button for several seconds, Ubuntu can not started into GUI normal desktop environment! And there is some error output in the command line window.What should I do to recover Ubuntu?
recovery mode
If your system fails to boot for whatever reason, it may be useful to boot it into recovery mode. This mode just loads some basic services and drops you into command line mode. You are then logged in as root (the superuser) and can repair your system using command line tools. If booting into recovery mode does not work you can still use your installation CD (if it is a live cd) as described in LivecdRecovery.How to enter recovery mode?
After turn on the power, and just before entering the Ubuntu, quick click the Shift button.Commands to recover the original version of Ubuntu
sudo dpkg –get-selections | grep linuxsudo apt-get remove linux-image-3.16.0-xx-generic
sudo apt-get autoremove
sudo reboot -f
NOTE: the method here is only for reference. The command may destroy your Ubuntu.
相关文章推荐
- IBM在人工智能方面的新进展,理解谈话情景和感知情绪
- x265探索与研究(八):x265中的并行处理机制函数关系分析
- ZOJ 3802 Easy 2048 Again(状压DP)
- 通过按钮跳过SplashActivity(启动画面),延时自动跳过SplashActivity进入MainActivity
- 通过按钮跳过SplashActivity(启动画面),延时自动跳过SplashActivity进入MainActivity
- Light OJ 1296 - Again Stone Game (博弈sg函数递推)
- UVA 10651 Pebble Solitaire
- Training Deep Neural Networks
- Leetcode题解 217. Contains Duplicate
- CPaintDC、CClientDC、CWindowDC和CMetaFileDC类的主要特点及区别
- 进行删除文件操作时碰到错误:open failed: EBUSY (Device or resource busy)
- saiku执行速度慢
- saiku执行速度慢
- 服务器知识:RAID技术图解
- spark 源码里面的sealed trait 存在原因
- 172. Factorial Trailing Zeroes
- 浅谈RAII&智能指针
- UVA_10245_ The Closest Pair Problem
- 调用http://apistore.baidu.com网站的接口
- a、button、input点击出现蓝色边框,如何去掉