Software Update Manager should run after boot or wake-up

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
simplex
Level 3
Level 3
Posts: 133
Joined: Sat Oct 06, 2012 2:32 pm

Software Update Manager should run after boot or wake-up

Post by simplex » Sat Oct 17, 2015 6:06 am

(The following holds for all versions of Ubuntu, too, but I ask it here.)

Currently, I use my Mint 17.2 only 2-3 times a week to read my email and to do other every-day tasks such as doing bank transfers. All this takes no more than 5 minutes. Then I tell my Mint to go to sleep into hibernate mode or shut it down completely.

I have just observed that, in this way, I never get updates by the update manager. I set it a long time ago to update in a period of 3 days. So I have to click on the manger icon and tell it to look whether there are any updates (this means that I have to do some work of my own).

Why does the update system not get aware of the fact that the last time it ran was 17 days ago? It only starts counting from the boot/reanimate time.

Thank you in advance!

S.

User avatar
turtlebay777
Level 5
Level 5
Posts: 550
Joined: Tue Apr 15, 2014 4:56 pm

Re: Software Update Manager should run after boot or wake-up

Post by turtlebay777 » Sat Oct 17, 2015 7:39 pm

Automatic updates don't happen in Linux, that's a Windows thing for people who aren't experienced computer users.

It is normally accepted that someone choosing to use Linux instead of Windoze, knows what they're doing around computers and is not happy just to let the system take over. You are expected to do a manual update when it is convenient for you.

If you want your operating system to take over may I respectfully suggest that Linux is not for you?

User avatar
Reorx
Level 11
Level 11
Posts: 3934
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Software Update Manager should run after boot or wake-up

Post by Reorx » Sat Oct 17, 2015 8:54 pm

The best place for feature suggestions is the Community Website (http://community.linuxmint.com/).

Create a login and then log in... then in My Place > My Ideas, click "Add a new idea" and type away. Then the Mint dev team and other community website members will see the suggestion, comment on the suggestion, and take appropriate action on the suggestion...

Good luck...

- R -
Full time Linux Mint user since 2011 - Currently running LM19 Cinnamon.

Image Image

simplex
Level 3
Level 3
Posts: 133
Joined: Sat Oct 06, 2012 2:32 pm

Re: Software Update Manager should run after boot or wake-up

Post by simplex » Sun Oct 18, 2015 3:18 am

Reorx wrote:The best place for feature suggestions is the Community Website (http://community.linuxmint.com/).
I cannot create an account there, because a registration code is needed, and you only get it via the IRC chat channel. But nobody answers there, and there are only 7 members logged in currently.

I wonder whether you all do

Code: Select all

$ sudo apt-get update && apt-get upgrade
every day by hand or whether you have set the update interval to the smallest possible value (daily) and run your machines 24h/d. Then you get propositions for updates, just how the update manager should do. But what if you use your Mint only 5 minutes a day?

Still logged in in #linuxmint-help with 5 other users, but no one gives ma an answer to my request of a registration code. So the Community Website will stay closed for me.

Greetings,
S.
Last edited by simplex on Sun Oct 18, 2015 11:34 am, edited 1 time in total.

User avatar
Pjotr
Level 21
Level 21
Posts: 13850
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Software Update Manager should run after boot or wake-up

Post by Pjotr » Sun Oct 18, 2015 4:38 am

This is indeed a problem in Mint, but thankfully it's easy to fix: you can set Update Manager to check for new updates at boot time. Like this:
https://sites.google.com/site/easylinux ... ew-updates
(item 2, left column)

That forces Mint to run "apt-get update" at each boot (not at wake-up from hibernation, though).

You might also make the available updates more prominent, because the "blue icon" is easily overlooked:
https://sites.google.com/site/easylinux ... -prominent
(item 3.8, right column)
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

simplex
Level 3
Level 3
Posts: 133
Joined: Sat Oct 06, 2012 2:32 pm

Re: Software Update Manager should run after boot or wake-up

Post by simplex » Sun Oct 18, 2015 7:07 am

Pjotr wrote:This is indeed a problem in Mint, but thankfully it's easy to fix: you can set Update Manager to check for new updates at boot time. Like this:
https://sites.google.com/site/easylinux ... ew-updates
(item 2, left column)

That forces Mint to run "apt-get update" at each boot (not at wake-up from hibernation, though).
Thank you. This is a good answer in the Lunix community's spirit. :wink:

I just wonder whether "apt-get update" in the rc.local scipt will make "the blue icon blue".
You might also make the available updates more prominent, because the "blue icon" is easily overlooked:
https://sites.google.com/site/easylinux ... -prominent
(item 3.8, right column)
Because I use MATE, and your link refers to Cinammon, But there is luckily an "analogous site" for MATE with the same hint: https://sites.google.com/site/easylinux ... -prominent
I will try it and report...

Thank you!

User avatar
killer de bug
Level 14
Level 14
Posts: 5415
Joined: Tue Jul 08, 2008 1:49 pm
Location: Leuven, Belgium

Re: Software Update Manager should run after boot or wake-up

Post by killer de bug » Sun Oct 18, 2015 7:13 am

simplex wrote: I have just observed that, in this way, I never get updates by the update manager. I set it a long time ago to update in a period of 3 days. [...]

Why does the update system not get aware of the fact that the last time it ran was 17 days ago? It only starts counting from the boot/reanimate time.
That's the way it works. If you place 3 days, then your system need to be running for 3 days before it checks updates.
If it ain't broke, fix it until it is.

JeremyB
Level 20
Level 20
Posts: 11097
Joined: Fri Feb 21, 2014 8:17 am

Re: Software Update Manager should run after boot or wake-up

Post by JeremyB » Sun Oct 18, 2015 9:08 am

simplex wrote:
Reorx wrote:The best place for feature suggestions is the Community Website (http://community.linuxmint.com/).
I cannot create an account there, because a registration code is needed, and you only get it via the IRC chat channel. But nobody answers there, and there are only 7 members logged in currently.

The answer of turtlebay777 is offending and does not fit to Linux community style.

I wonder whether you all do

Code: Select all

$ sudo apt-get update && apt-get upgrade
every day by hand or whether you have set the update interval to the smallest possible value (daily) and run your machines 24h/d. Then you get propositions for updates, just how the update manager should do. But what if you use your Mint only 5 minutes a day?

Still logged in in #linuxmint-help with 5 other users, but no one gives ma an answer to my request of a registration code. So the Community Website will stay closed for me.

Greetings,
S.
Usually all you have to say in the chat room is

I need a registration code

And the mintbot will send it

simplex
Level 3
Level 3
Posts: 133
Joined: Sat Oct 06, 2012 2:32 pm

Re: Software Update Manager should run after boot or wake-up

Post by simplex » Sun Oct 18, 2015 11:31 am

turtlebay777 wrote:If you want your operating system to take over may I respectfully suggest that Linux is not for you?
Yes, you are absolutely right. I shall delete now my Mint partition and add the freed space to my Windows 7 partition with gparted booted from a live USB stick and created with the outstanding mkusb script, hoping that I am too unexperienced for what I do, and then I shall wait for my update of Win7 to Win10 to come.

Linux is not made for me...

Thank you!
S.

User avatar
BenTrabetere
Level 6
Level 6
Posts: 1030
Joined: Sat Jul 19, 2014 12:04 am
Location: Hattiesburg, MS USA

Re: Software Update Manager should run after boot or wake-up

Post by BenTrabetere » Sun Oct 18, 2015 11:40 am

Have you considered reducing the update interval to 3 minutes? If the length of a typical session is <5 minutes, the system would have enough time to check for updates before you ended the session.

simplex
Level 3
Level 3
Posts: 133
Joined: Sat Oct 06, 2012 2:32 pm

Re: Software Update Manager should run after boot or wake-up

Post by simplex » Sun Oct 18, 2015 11:43 am

JeremyB wrote: Usually all you have to say in the chat room is

I need a registration code

And the mintbot will send it
I am in the chat room now with Xchat, since many minutes, said your magic words, but nothing happens...

simplex
Level 3
Level 3
Posts: 133
Joined: Sat Oct 06, 2012 2:32 pm

Re: Software Update Manager should run after boot or wake-up

Post by simplex » Sun Oct 18, 2015 11:46 am

BenTrabetere wrote:Have you considered reducing the update interval to 3 minutes? If the length of a typical session is <5 minutes, the system would have enough time to check for updates before you ended the session.
Of course I have, but then, in a (not so often) longer session, after all 3 minutes Mint searches for updates, slowing my machine down. That is what the problem is all about!

User avatar
killer de bug
Level 14
Level 14
Posts: 5415
Joined: Tue Jul 08, 2008 1:49 pm
Location: Leuven, Belgium

Re: Software Update Manager should run after boot or wake-up

Post by killer de bug » Sun Oct 18, 2015 11:49 am

simplex wrote: I am in the chat room now with Xchat, since many minutes, said your magic words, but nothing happens...
I don't see you there. What is your name? Are in #help channel?
If it ain't broke, fix it until it is.

User avatar
Pjotr
Level 21
Level 21
Posts: 13850
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Software Update Manager should run after boot or wake-up

Post by Pjotr » Sun Oct 18, 2015 11:54 am

simplex wrote:Of course I have, but then, in a (not so often) longer session, after all 3 minutes Mint searches for updates, slowing my machine down. That is what the problem is all about!
The solution that I've described to you, should fix your problem.... Entirely, except for the hibernation wake-up.

I've set the interval for Update Manager at "once a day" on all of my machines, and although they never run longer than three hours or thereabouts, I never have to check for updates manually. :)
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

simplex
Level 3
Level 3
Posts: 133
Joined: Sat Oct 06, 2012 2:32 pm

Re: Software Update Manager should run after boot or wake-up

Post by simplex » Sun Oct 18, 2015 12:01 pm

killer de bug wrote: I don't see you there. What is your name? Are in #help channel?
I do not see you there either :) I am in #linuxmint-help as user "ziegler".

User avatar
killer de bug
Level 14
Level 14
Posts: 5415
Joined: Tue Jul 08, 2008 1:49 pm
Location: Leuven, Belgium

Re: Software Update Manager should run after boot or wake-up

Post by killer de bug » Sun Oct 18, 2015 12:05 pm

simplex wrote:
killer de bug wrote: I don't see you there. What is your name? Are in #help channel?
I do not see you there either :) I am in #linuxmint-help as user "ziegler".
You are not in the channel. That's why you can't receive a code. I don't know where you are connected, but it's not in Linuxmint-chat or linuxmint-help.
If it ain't broke, fix it until it is.

User avatar
helloimustbegoing
Level 4
Level 4
Posts: 404
Joined: Tue Apr 15, 2014 7:21 pm

Re: Software Update Manager should run after boot or wake-up

Post by helloimustbegoing » Sun Oct 18, 2015 12:39 pm

Pjotr wrote:
This is indeed a problem in Mint, but thankfully it's easy to fix: you can set Update Manager to check for new updates at boot time. Like this:
https://sites.google.com/site/easylinux ... ew-updates
(item 2, left column)
Great write-up, Pjotr. Thanks!
________________________________________________________________________

EDIT: (writing this one day later)
It works like a charm! Shortly after boot-up, I noticed there was an update (for Firefox).

User avatar
helloimustbegoing
Level 4
Level 4
Posts: 404
Joined: Tue Apr 15, 2014 7:21 pm

Re: Software Update Manager should run after boot or wake-up

Post by helloimustbegoing » Sat Oct 24, 2015 1:20 am

It appears that it is no longer working. Tonight I booted into Mint, and about 15-20 minutes later I opened Update Manager and clicked Refresh, and then it showed that there were updates. What happened? I checked the rc.local file and it hasn't changed. :?

User avatar
Pjotr
Level 21
Level 21
Posts: 13850
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Software Update Manager should run after boot or wake-up

Post by Pjotr » Sat Oct 24, 2015 4:40 am

helloimustbegoing wrote:It appears that it is no longer working. Tonight I booted into Mint, and about 15-20 minutes later I opened Update Manager and clicked Refresh, and then it showed that there were updates. What happened? I checked the rc.local file and it hasn't changed. :?
There's this possibility: the updates were just added to the Mint repo's in the 20 minutes *after* booting. It's a small chance, but it can happen....

Other possibility: due to the way Update Manager works, "my" tweak could cause the updates to show only "automatically" at the next boot: http://forums.linuxmint.com/viewtopic.p ... 0#p1018443
(the message of Frankus333)
That would cause a relatively small delay as well. Small enough to be acceptable to me.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Post Reply

Return to “Newbie Questions”