LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-08-2016, 06:56 PM   #1
audduck
LQ Newbie
 
Registered: Aug 2016
Posts: 7

Rep: Reputation: Disabled
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.

Last edited by audduck; 08-10-2016 at 09:01 AM.
 
Old 08-08-2016, 11:41 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
We'll need the EXACT cmd and err msgs, even if it means typing them in by hand.
Otherwise its going to be very tricky
 
Old 08-09-2016, 06:59 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Describe this upgrade process please?
from/to
inplace/bootable media...

details? Thanks.
 
Old 08-09-2016, 04:40 PM   #4
audduck
LQ Newbie
 
Registered: Aug 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.

Last edited by audduck; 08-09-2016 at 04:51 PM.
 
Old 08-09-2016, 04:45 PM   #5
audduck
LQ Newbie
 
Registered: Aug 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
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."

Last edited by audduck; 08-09-2016 at 04:48 PM.
 
Old 08-09-2016, 05:16 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Have you tried connecting to your router, and thence the internet, with an ethernet cable?
 
Old 08-09-2016, 05:18 PM   #7
audduck
LQ Newbie
 
Registered: Aug 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
I haven't. Let me go home and try that.
 
Old 08-09-2016, 05:39 PM   #8
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by audduck View Post
Only the internet isn't working normally, and I know that's an issue that several people have had with the upgrade.
Hello and welcome to the forum

EDIT: Please try hydrurga's and Habitual's suggestion below and see if that works before posting the information I've requested below.

Also, if you would, if the ethernet connection works, please open a terminal and post the results of these commands...

Code:
lspci -nnk | grep -i net -A2
Code:
lsmod
Code:
iwconfig
If this is a laptop, please also include the results from...

Code:
rfkill list
I'm glad the rest of it works well, though.

Regards...

Last edited by ardvark71; 08-09-2016 at 06:01 PM. Reason: Added request.
 
Old 08-09-2016, 05:50 PM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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).
 
Old 08-09-2016, 05:55 PM   #10
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by hydrurga View Post
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.
 
Old 08-09-2016, 05:55 PM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by audduck View Post
I recently tried to upgrade to xubuntu 16.04.
to check what's "available" for upgrade, you can issue:
Code:
sudo apt-get update && sudo apt-get upgrade -s
-s is "simulate" so you can get a nice idea of the upgrade.
Code:
sudo do-release-upgrade
should tell you what's going on and whether or not your system is considered a candidate.
If it is not,
then issue
Code:
sudo lsb_release -dc
and show us the output.
We may have to get dirty.
You have an bootable installation disk, if necesary?
 
Old 08-09-2016, 09:16 PM   #12
audduck
LQ Newbie
 
Registered: Aug 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
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"?
 
Old 08-09-2016, 10:12 PM   #13
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by audduck View Post
Wow. Thanks for all of the responses.
You're welcome

Quote:
Originally Posted by audduck View Post
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 View Post
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...

Code:
sudo apt-get install aptitude
sudo aptitude update
sudo aptitude dist-upgrade
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.
 
Old 08-10-2016, 12:52 AM   #14
audduck
LQ Newbie
 
Registered: Aug 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
When I tried
Quote:
sudo dpkg --configure -a
nothing happened. It asked for my password, then did nothing. It just gave me
Quote:
[my username]:~$
Then, I put in
Quote:
sudo apt-get install aptitude
Quote:
sudo aptitude update
and
Quote:
sudo aptitude dist-upgrade.
At the end, it gave me
Quote:
Current status: 1 (-69) upgradable.
 
Old 08-10-2016, 01:08 AM   #15
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi audduck...

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to upgrade OS - just run upgrade command or complete reinstall? sneakyimp Linux - Desktop 14 10-12-2015 01:47 PM
[SOLVED] 14.1 interrupted upgrade, how to resume? Z038 Slackware 4 12-16-2013 05:23 PM
Finishing an interrupted "yum upgrade" RSpendl Linux - Software 2 07-14-2013 03:10 AM
[SOLVED] interrupted upgrade brtilley Linux - Newbie 5 03-26-2012 06:03 PM
yum upgrade interrupted longears Linux - Server 2 08-14-2008 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration