This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Ubuntu 12.04 to 14.04 LTS Upgrade Crash!

Tags: None
(comma "," separated)
User avatar
hermantowawan
Registered Member
Posts
70
Karma
0
I'm in a pretty bad situation right now. I ran the following terminal commands to upgrade my Laptop from 12.04 LTS to 14.04 LTS, and left my computer to let it sit to do its thing. When I came back, the terminal window that was running the upgrade contained some prompt about installing an upgrade to the package manager. The moment I touched my keyboard to respond to said prompt, the terminal window closed mid upgrade...

Commands I ran:
Code: Select all
$ sudo apt-get update
$ sudo apt-get install update-manager-core
$ sudo do-release-upgrade

I'm not to concerned about those, since they were working. Only felt the need to use them because my update manage still hadn't picked up 14.04 by like 4:00PM today and that's the way I know to make it grab it.

How can I fix things and get my system sane again? I'm currently able to use it, it's just the following issues are present: Any time I try to access the update manager, I see a prompt with the header "Not all Updates can be installed" with details and the options "Partial Upgrade" and "Continue". Clicking continue gets me the following message.
Software Index is Broken:

It is impossible to install or remove any software. Please use the package manager
"Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first."

Trying to run the mentioned command generates the terminal error:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily
unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

lsb_release.a lists that I am on 14.04, but I definitely appear to be between versions. I've tried to re-start the upgrade process but get greeted with the same error in the terminal window that I mentioned earlier when I do. I haven't attempted a system reboot, but I'm scared to, since I think it will break my OS.

How on earth can I fix this mess?

Last edited by hermantowawan on Mon Dec 15, 2014 10:35 am, edited 1 time in total.


I Am Still Learning About KDE
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you please verify that no "dpkg" processes are running on your system? It sounds like it was forced to exit when the terminal abruptly closed - leaving the package database locked.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
hermantowawan
Registered Member
Posts
70
Karma
0
bcooksley wrote:Can you please verify that no "dpkg" processes are running on your system? It sounds like it was forced to exit when the terminal abruptly closed - leaving the package database locked.

Thank very much for your help,problem has solved :)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Thanks for the update - i've now marked the topic as solved.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]