LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 07: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 10:01 AM.
 
Old 08-09-2016, 12:41 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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, 07:59 AM   #3
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,159
Blog Entries: 10

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

details? Thanks.
 
Old 08-09-2016, 05: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 05:51 PM.
 
Old 08-09-2016, 05: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 05:48 PM.
 
Old 08-09-2016, 06:16 PM   #6
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,209

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
Have you tried connecting to your router, and thence the internet, with an ethernet cable?
 
Old 08-09-2016, 06: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, 06:39 PM   #8
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,152
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
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 07:01 PM. Reason: Added request.
 
Old 08-09-2016, 06:50 PM   #9
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,209

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
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, 06:55 PM   #10
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,152
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
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 07:03 PM. Reason: Added wordage.
 
Old 08-09-2016, 06:55 PM   #11
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,159
Blog Entries: 10

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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, 10: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, 11:12 PM   #13
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,152
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
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 11:17 PM. Reason: Correction/Changed wordage.
 
Old 08-10-2016, 01: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, 02:08 AM   #15
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,152
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
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 02:16 AM. Reason: Added information and link.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:47 PM
[SOLVED] 14.1 interrupted upgrade, how to resume? Z038 Slackware 4 12-16-2013 06:23 PM
Finishing an interrupted "yum upgrade" RSpendl Linux - Software 2 07-14-2013 04:10 AM
[SOLVED] interrupted upgrade brtilley Linux - Newbie 5 03-26-2012 07:03 PM
yum upgrade interrupted longears Linux - Server 2 08-14-2008 11:21 AM


All times are GMT -5. The time now is 12:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration