LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-06-2016, 11:46 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Rep: Reputation: 177Reputation: 177
Ubuntu 15.10 hangs when rebooting after apt-get upgrade


Monthly, I run a cron job that `apt-get updates/upgrades` my Ubuntu 15.10 Desktop system, then reboots. Consistently, the reboot hangs forever with the console screen showing the Ubuntu boot screen with the flashing colored dots. I have to cycle the power and then it comes up fine. I do have grub installed -- not sure if that matters.

Any idea what's going on?
 
Old 07-07-2016, 01:05 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
It takes some time to install the updates after download them.

I think it is not a good idea to run a cron job.

A background service is running to check, if updates are availaible.

Just install them manually.
 
Old 07-07-2016, 11:52 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by Keruskerfuerst View Post
It takes some time to install the updates after download them.
Yes, that's one reason I'm doing it in a cron. The idea is to periodically, automatically update all workstations in an office. Al la Windows Update.

Quote:
I think it is not a good idea to run a cron job.
Why?

Quote:
A background service is running to check, if updates are availaible.
Just install them manually.
Notice of available updates is only given if the logged-in user is a sudoer. Normal workstations users do not have this permission. It is impractical for the office sysadmin to log onto each workstation and manually update.

I've seen this issue about Ubuntu booting and hanging at the splash screen in quite a few posts elsewhere on the web, not related to software updates. Is this a general issue with Ubuntu? (anyone?)

Unrelated: I've asked this question and several others on askubuntu.com over the past 6 months, some of which have hundreds of views, but all of which have zero answers. I get most of my ubuntu help right here on LQ. Is Ask ubuntu a dead list?

Last edited by mfoley; 07-07-2016 at 11:58 PM.
 
Old 07-08-2016, 08:28 AM   #4
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Rep: Reputation: 147Reputation: 147
Updates are usually no problem with ubuntu, however upgrades can be.
I have had a variety of bugs, glitches, frozen screens, following upgrades.
The result being that I do update ubuntu but never upgrade, instead I do a new install
when I want the new version. This can be time consuming if you are using a lot of
additional programs and software.
From what I've read, Mint seems to have better success with the upgrades, since 17.0.
Edit;Regarding the upgrades, there is another perspective in this thread,
see post nu.12.
https://forums.linuxmint.com/viewtop...86269#p1186269

Last edited by offgridguy; 07-08-2016 at 08:43 AM. Reason: additional info.
 
Old 07-09-2016, 01:31 AM   #5
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by offgridguy View Post
Updates are usually no problem with ubuntu, however upgrades can be.
I have had a variety of bugs, glitches, frozen screens, following upgrades.
The result being that I do update ubuntu but never upgrade, instead I do a new install
when I want the new version. This can be time consuming if you are using a lot of
additional programs and software.
from the apt-get man page:

update is used to resynchronize the package index files from their sources.

upgrade is used to install the newest versions of all packages currently installed on the system ...

dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages.

I assume (hopefully) that you mean "dist-upgrade" in your comment. The "update" does no more than update the package list. The "upgrade" function actually updates the packages -- and a reboot is generally needed afterward to run the newer stuff.

I don't think you install from scratch to just get the "updates" so described, do you?

But, that is another question I was going to post if I didn't find an answer somewhere: Can I Upgrade my Distro version, e.g. from 15.10 to 16.04, without having to install 16.04 from scratch? I really hope so as I have lots of additional software and customizations I'd hate to do all over for every workstation. That's old-school Microsoft! Nowadays you can even Upgrade from WIN7 to WIN10 without losing everything.

Last edited by mfoley; 07-09-2016 at 01:32 AM.
 
Old 07-09-2016, 12:16 PM   #6
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Rep: Reputation: 147Reputation: 147
Yes you are correct about the upgrade, I use the term upgrade to mean system upgrade.
You can upgrade from 15.10 to 16.04, although I haven't done it myself.
http://www.ostechnix.com/upgrade-ubu...buntu-15-10-2/
The Windows upgrades worked well for me, upgrading to Windows 10.

Last edited by offgridguy; 07-09-2016 at 02:39 PM.
 
Old 07-20-2016, 02:00 PM   #7
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
It could be related to the Ubuntu computer being a laptop. I've had troubles with this in other cases, specifically, using apcups. When there is a power failure the Ubuntu laptop (a different one) either does not completely shut down, or, when power is restored, doesn't come up -- it's one or the other, I can't recall which. In any case, the "dots" splash screen stays up forever until the laptop is powered off and on -- just like this case with the update/reboot. I've not tried this on a desktop yet as I don't have any configured with Ubuntu.
 
Old 07-21-2016, 10:37 PM   #8
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by mfoley View Post
It could be related to the Ubuntu computer being a laptop. I've had troubles with this in other cases, specifically, using apcups. When there is a power failure the Ubuntu laptop (a different one) either does not completely shut down, or, when power is restored, doesn't come up -- it's one or the other, I can't recall which. In any case, the "dots" splash screen stays up forever until the laptop is powered off and on -- just like this case with the update/reboot. I've not tried this on a desktop yet as I don't have any configured with Ubuntu.
Just a question, maybe not relevant, does this mean that you are running the laptop on electrical grid power
constantly? As opposed to using the battery?
 
Old 07-24-2016, 09:58 PM   #9
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Well, it *is* a laptop, so whether it's plugged on or not, I suppose it's running on battery, no? But, to answer your question directly, the laptop I'm having the update/reboot issue with is plugged in always.

(Note: the apcups issue was a different laptop, I only cited that because it also hung with the dots-splash-screen forever on restart)
 
Old 07-24-2016, 10:20 PM   #10
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
I don't know about your issue however Cron seems a fine idea to me. Why update only once a month, not like it's LTS?
https://wiki.ubuntu.com/WilyWerewolf...s#Known_issues
https://en.wikipedia.org/wiki/Ubuntu...ly_Werewolf.29
 
Old 07-25-2016, 09:54 AM   #11
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by jamison20000e View Post
I don't know about your issue however Cron seems a fine idea to me. Why update only once a month, not like it's LTS?
https://wiki.ubuntu.com/WilyWerewolf...s#Known_issues
https://en.wikipedia.org/wiki/Ubuntu...ly_Werewolf.29
Interesting links, esp. the first one. thanks. I may pursue a bug report if I can confirm this problem occurs on other than just my laptop.

To answer your question, "Why update only once a month?" Well, for one thing, I don't want to have to cycle the power weekly or daily! I mainly access this computer remotely via VNC. This problem means a trip to the office to cycle the power every time I update.
 
Old 07-25-2016, 10:24 AM   #12
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Thumbs up

I found the links trying to see about Ubuntu's LTS verse experimental or cutting-edge, where security flaws could potentially pop up daily? I'm still unsure on it but would think your okay just number wise: http://www.ubuntu.com/info/release-end-of-life
maybe worth more digging if security is a big issue?
 
Old 07-25-2016, 12:56 PM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Based on the information at the Ubuntu site below, you might take a serious look at upgrading your 15.10.

https://lists.ubuntu.com/archives/ub...ly/000208.html
 
Old 07-26-2016, 11:50 AM   #14
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
The apcupsd problem I has was with 14.04 LTS. Yes, I've already burned the 16.04 DVD, just haven't had a chance to try it yet. I'm doing some research to see if I can upgrade without a wipe/install -- I have quite a few system configs I don't want to lose.
 
  


Reply

Tags
boot failure



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
[SOLVED] HELP: How do I restore all my files that got erased by "apt-get dselect-upgrade" after failed upgrade from 32 to 64 bit Ubuntu 14.04 LTS judoka Linux - Newbie 11 03-05-2016 05:03 PM
sudo apt-get upgrade not working 14.04 ubuntu zeeshanayub Linux - Newbie 1 10-21-2014 08:15 PM
Ubuntu upgrade to 8.04 failed -- now login hangs. monkeyboy Ubuntu 7 08-10-2008 04:17 PM
Apt-get upgrade hangs here... how to dlete or reinstall loninappleton Linux - Newbie 1 10-24-2005 11:46 PM
Apt Hangs when attempting upgrade shane25119 Debian 5 06-16-2004 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:04 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
Open Source Consulting | Domain Registration