[SOLVED] Is there a way to find out if my interrupted upgrade is complete?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there a way to find out if my interrupted upgrade is complete?
I recently tried to upgrade to xubuntu 16.04. My computer froze in the process, and I had to reboot. When the computer came back on, it gave me just a black screen like the terminal. I tried to finish the upgrade from there by trying get install upgrade (I don't remember the exact wording). To all appearances, it was successful, but I'd like to be sure. I'm having problems with my internet (I know that's a common bug, but none of the fixes is working for me. I'd like to at least be able to eliminate upgrade incompleteness as a possible cause of those problems.
Addendum: My computer is notifying me that a couple of updates are still undone. It says it needs internet to do them . Right now, I can't connect. I'm. Not sure how basic they are to my system, and I don't know how to find out.
I was still using Xubuntu 12.something. My computer prompted me to upgrade. I clicked the button and put in my password. I didn't do it from the command line.
After the computer stalled and I turned it off and back on, it went to a black screen like the terminal. I tried sudo apt-get upgrade, in the hope that it would finish itself. To my computer illiterate eyes, it looked like it picked up more or less where it had left off, but I would never really be able to tell.
It had a minor problem with Gimp. I don't remember what it was. Sorry, it's been a few days. At any rate, I found my error on the internet and applied a commonly suggested fix, which seemed to work. The upgrade seemed to finish normally, although it told me "some index files failed to download. They have been ignored, or old ones used instead."
I get that message every time I install something. Usually, the program still works fine. I've been meaning to try to figure out what to do about it, but I just haven't gotten around to it. I don't know if it's a problem in this case or not.
When I rebooted the computer, it went straight into what looks like Xubuntu 16.04. It really seems to have been successful. My word processor, PDF viewer, and CD/DVD player are all working normally. When I opened a document in my word processor, it did so with LibreOffice 5, which is a newer version than what I had before.
When I typed "cat /etc/issue" into my terminal, it gave me Ubuntu 16.04.01 LTS /n /l.
Only the internet isn't working normally, and I know that's an issue that several people have had with the upgrade. I'd just like to make sure, if there's a way to do that. Interrupting an OS upgrade is potentially serious, and I find it a little hard to believe that I managed to fix the whole thing so easily.
I have another question. When I first logged in to my computer after upgrading, it prompted me that there were two more updates that required an internet connection to install. It hasn't prompted me since then. Is there a command I can use to find out what they are?
When I go to the software updates in my menu, it just says "Failed to download repository information. Check your internet connection."
In addition to ardvark's advice, I would also advise you, if the internet connection works over ethernet, to run sudo apt-get update and sudo apt-get upgrade. This could well solve your connection problem by, for example, downloading the relevant wifi driver. Worth trying first before hitting the diagnostics (in my humble opinion; if ardvark naysays this then no problem).
In addition to ardvark's advice, I would also advise you, if the internet connection works over ethernet, to run sudo apt-get update and sudo apt-get upgrade. This could well solve your connection problem by, for example, downloading the relevant wifi driver. Worth trying first before hitting the diagnostics (in my humble opinion; if ardvark naysays this then no problem).
Hi...
I agree with your suggestion, that actually would be worth a shot.
Regards...
Last edited by ardvark71; 08-09-2016 at 06:03 PM.
Reason: Added wordage.
Wow. Thanks for all of the responses. I connected to the internet using a cable. The first thing I tried to do (I hadn't logged on here yet) was to navigate to my software updater via the menu and install updates that way. It gave me this error message:
Quote:
Not all updates can be installed. Run a partial upgrade, to install as many as possible. This can be caused by:
-a previous upgrade which didn't complete
-problems with some of the installed software
-unofficial software packages not provided by Ubuntu
-normal changes of a pre-release version of Ubuntu.
I did nothing and logged on here, instead. Per hydrurga's suggestion, I started with apt-get update and apt-get upgrade. When that finished, I restarted my computer. It absolutely solved my internet problem, which is an enormous relief.
Out of curiosity, though, I clicked again on my software updater through the menu. It gave me the same error message as before. Should I do a "partial upgrade"?
I did nothing and logged on here, instead. Per hydrurga's suggestion, I started with apt-get update and apt-get upgrade. When that finished, I restarted my computer. It absolutely solved my internet problem, which is an enormous relief.
Awesome! I'm glad that worked.
Quote:
Originally Posted by audduck
Out of curiosity, though, I clicked again on my software updater through the menu. It gave me the same error message as before. Should I do a "partial upgrade"?
Try this command first...
Code:
sudo dpkg --configure -a
If that doesn't resolve the issue, try these commands, entering them one at a time...
Disclaimer: Be careful with these commands. Ones that are prefaced with "su" or "sudo" will essentially allow root access to your system. Mistakes could possibly damage or even destroy your OS.
Let us know how it turns out...
Regards...
Last edited by ardvark71; 08-09-2016 at 10:17 PM.
Reason: Correction/Changed wordage.
Does the solution here help? If not, take a look at the bottom solution (using Synaptic) here.
Just for future reference, when upgrading to a new version of a distribution, it is always advisable to do this by burning a new DVD of the (new) distribution and installing it from scratch.
Regards...
Last edited by ardvark71; 08-10-2016 at 01:16 AM.
Reason: Added information and link.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.