LinuxQuestions.org
Visit Jeremy's Blog.
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 11-20-2017, 12:25 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,718

Rep: Reputation: 136Reputation: 136
Not getting any software updates on one computer


I have two 64 bit computers both running Xubuntu 16.04LTS. One gets updates (that I have to manually run) just about every single day. The other one (the computer I'm on now) never gets them.

I've looked at the updates window on both computers and the only difference (see attachments) is the "When there are other updates" entry. And sure, it makes sense that the one set to 'display immediately' gets them all the time, but why would the other computer never get them?

It's nice not getting the updates that have to be manually installed (I'm tempted to set the computer that's getting them all the time to 'display weekly'), but I'm concerned that something's not quite right about not getting them at all.

I do apt-get update and apt-get upgrade every week.

Both computers are completely functional.

Questions:

1) Am I missing something with the computer that's not getting any manual updates?

2) Would it be safe (especially since they're not security updates) to go with 'display weekly' on the computer that's getting them all the time?

Thanks.
Attached Thumbnails
Click image for larger version

Name:	Selection_019.png
Views:	11
Size:	42.6 KB
ID:	26352   Click image for larger version

Name:	Selection_005.png
Views:	9
Size:	35.4 KB
ID:	26353  
 
Old 11-20-2017, 01:52 PM   #2
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 907

Rep: Reputation: 246Reputation: 246Reputation: 246
Hi Gregg,

it would definitely be safe to reduce the frequency to "weekly" for non-security related updates.
Note that the weekly apt-get update and apt-get upgrade is actually sufficient by itself and kind of makes the GUI prompt redundant.

I agree it's a bit weird that one computer never prompts for updates though. It could be that everytime it checks it does not find anything because you just upgraded on the command line already.
The safest way to diagnose this would be if you posted the output of apt-get update && apt-get upgrade of both computers.

E.g. it could be that actually the computer that prompts for updates every day is the broken one in that it might be prompting for the same updates everyday because it fails to install them correctly.

Last edited by joe_2000; 11-20-2017 at 01:53 PM. Reason: Fix typo
 
1 members found this post helpful.
Old 11-20-2017, 05:36 PM   #3
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,718

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by joe_2000 View Post
Hi Gregg,

it would definitely be safe to reduce the frequency to "weekly" for non-security related updates.
Note that the weekly apt-get update and apt-get upgrade is actually sufficient by itself and kind of makes the GUI prompt redundant.

I agree it's a bit weird that one computer never prompts for updates though. It could be that everytime it checks it does not find anything because you just upgraded on the command line already.
The safest way to diagnose this would be if you posted the output of apt-get update && apt-get upgrade of both computers.

E.g. it could be that actually the computer that prompts for updates every day is the broken one in that it might be prompting for the same updates everyday because it fails to install them correctly.
Hey Joe. Good to see you! Okay here is the terminal report of the computer that gets a lot of manual updates:

https://hastebin.com/seqofuyome.sql

And here is the terminal report of the computer that gets no updates:

https://hastebin.com/fediruwoju.sql

Thanks!
 
Old 11-20-2017, 07:49 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,533
Blog Entries: 20

Rep: Reputation: 2628Reputation: 2628Reputation: 2628Reputation: 2628Reputation: 2628Reputation: 2628Reputation: 2628Reputation: 2628Reputation: 2628Reputation: 2628Reputation: 2628
What happens when you do

Code:
 sudo apt-get -f install
on the one that does get any updates?

Mine for reference. I just dist-upgraded it.

Code:
root@posersuk:/home/riffraff# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Last edited by rokytnji; 11-20-2017 at 07:51 PM.
 
1 members found this post helpful.
Old 11-21-2017, 04:50 PM   #5
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,718

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by rokytnji View Post
What happens when you do

Code:
 sudo apt-get -f install
on the one that does get any updates?

Mine for reference. I just dist-upgraded it.

Code:
root@posersuk:/home/riffraff# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Thanks rokytnji.

Did you mean for me to run the command on the computer that gets updates all the time or on the computer that doesn't get any updates?

And what does the command mean? I tried to find it and got kind of concerned when I saw that the -f meant "force." Thanks.
 
Old 11-21-2017, 05:30 PM   #6
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 907

Rep: Reputation: 246Reputation: 246Reputation: 246
The -f means fix-broken.

What rokytnji wants to see here is whether or not your system reports any packages to be broken on your system. I'd say it's safe to run the command. If it wants to do anything scary it'll ask you for confirmation anyways.

If you are really scared you can run it as a dry-run first:

Code:
apt-get -f -s install
The bottom line is that if this command has an output as boring as on rokytnji's system then everything is ok. You might want to run it on both systems just out of curiosity.

That being said, the output you posted looks perfectly fine to me. Do note however that if you run the upgrade commands twice in a row the second iteration should report something like "nothing to do". If it produces the same output again then something's wrong...
 
1 members found this post helpful.
Old 11-21-2017, 06:18 PM   #7
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,718

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by joe_2000 View Post
The -f means fix-broken.

What rokytnji wants to see here is whether or not your system reports any packages to be broken on your system. I'd say it's safe to run the command. If it wants to do anything scary it'll ask you for confirmation anyways.

If you are really scared you can run it as a dry-run first:

Code:
apt-get -f -s install
The bottom line is that if this command has an output as boring as on rokytnji's system then everything is ok. You might want to run it on both systems just out of curiosity.

That being said, the output you posted looks perfectly fine to me. Do note however that if you run the upgrade commands twice in a row the second iteration should report something like "nothing to do". If it produces the same output again then something's wrong...
Okay, everything played out just like you said. I ran those sudo-less commands on both computers and they came out as boring as rokytnji's. Then I ran the sudo apt-get upgrade twice in succession and the second came up with nothing to do. And I did it on both computers. So all is well. Many thanks Joe and rokytnji.
 
Old 11-22-2017, 01:08 AM   #8
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 907

Rep: Reputation: 246Reputation: 246Reputation: 246
Ok great. Note however that the notable change I proposed was the -s for "dry-run" not the missing sudo (which was actually unintentional as I am not using sudo very much personally) :-)
 
1 members found this post helpful.
Old 11-22-2017, 10:40 AM   #9
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,718

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by joe_2000 View Post
Ok great. Note however that the notable change I proposed was the -s for "dry-run" not the missing sudo (which was actually unintentional as I am not using sudo very much personally) :-)
Okay. Got it. Thanks. (And I ran the -s command with sudo and it worked out just as well.)
 
  


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
[SOLVED] This computer will stop receiving Google Chrome updates because this Linux system will no longer be supported. glorsplitz Slackware 55 03-16-2016 08:51 AM
Removing all portable computer related software in a desktop computer. stf92 Slackware 8 06-23-2010 09:24 AM
computer crashed after updates - multiple flavors of linux installed? hvmork Linux - Newbie 14 01-15-2010 06:26 PM
Existing java updates required to remain on computer? colinstu General 1 02-19-2007 11:44 PM

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

All times are GMT -5. The time now is 07:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration