Frequent updating

Questions about the project and the distribution - obviously no support questions here please
Windowbreaker
Level 1
Level 1
Posts: 33
Joined: Sun May 11, 2014 12:08 pm
Location: Wisconsin USA

Frequent updating

Post by Windowbreaker » Wed Apr 08, 2015 9:47 pm

I appreciate the time and effort that goes into updating Ubuntu/Mint, I really do. But would it be possible to bundle all of a day's updates into one? There have been several days where I've gotten 3-4 updates hours apart. They are rarely large, so bundling 4 into one download cycle shouldn't strain anyone.
It has now been 18 years since I first installed Linux (Corel Linux, June 2000) and 9 years since Linux has been on at least one of my computers (currently Mint 18.3, Raspbian Jessie, and <cough> Windows 7)

User avatar
richyrich
Level 18
Level 18
Posts: 8712
Joined: Mon May 04, 2009 8:31 pm

Re: Frequent updating

Post by richyrich » Wed Apr 08, 2015 10:42 pm

All you have to do is adjust your Mint Update program to check for updates less frequently.

User avatar
DataMan
Level 6
Level 6
Posts: 1234
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Midwest USA at /var/www
Contact:

Re: Frequent updating

Post by DataMan » Thu Apr 09, 2015 5:48 am

Just kick off the updates on your schedule. I run the week's accumulation of updates on Saturday mornings. You do not have to install every available update the nano second that it's released.

-DataMan
Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015

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

Re: Frequent updating

Post by Pjotr » Thu Apr 09, 2015 6:24 am

Good advice, but in Mint 17.x increasing the update notification frequency might cause a perennial postponement of the updates. See this GitHub issue report by karlchen:
https://github.com/linuxmint/mintupdate/issues/98
Forum thread about it: http://forums.linuxmint.com/viewtopic.p ... 5#p1000626

There's a workaround, however:
https://sites.google.com/site/easylinux ... ew-updates
(item 2, left column)
Last edited by Pjotr on Thu May 28, 2015 1:07 pm, edited 1 time in total.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
NeoGeo64
Level 4
Level 4
Posts: 224
Joined: Sun Nov 02, 2014 12:00 pm
Location: SW Georgia, USA
Contact:

Re: Frequent updating

Post by NeoGeo64 » Sun May 24, 2015 1:02 pm

I usually update my 17.1 Cinnamon 64-bit every two to three weeks. I have it set to check for updates every 60 days but I always have it manually refresh to look for updates every 14-21 days.

And then I reboot because I don't know how to start/stop the necessary services or whatever needs to be done to avoid a reboot. It doesn't really matter since this isn't some mission critical server. It's just a home use desktop computer.

User avatar
MagicMint
Level 3
Level 3
Posts: 140
Joined: Fri May 31, 2013 1:29 pm

Re: Frequent updating

Post by MagicMint » Mon May 25, 2015 10:25 am

NeoGeo64 wrote:And then I reboot because I don't know how to start/stop the necessary services or whatever needs to be done to avoid a reboot.
You don’t (ever) need to reboot, unless you’ve updated the kernel. Fortunately, this is not Windows :wink:

@Pjotr: Refreshing the list at boot time wouldn’t work out in some settings, e.g. when you don’t reboot for quite a long time. As far as I’m concerned, I do this with a cron job. But the votes on that tutorial suggest to me, that nobody really cares about the Update Manager :o

User avatar
DrHu
Level 17
Level 17
Posts: 7541
Joined: Wed Jun 17, 2009 8:20 pm

Re: Frequent updating

Post by DrHu » Mon May 25, 2015 2:45 pm

I do manual updates only
--so that I have complete control over how often and which types of updates to apply
  • Of course that means I have to be responsible for the updating on the system
    --and I am usually only really concerned about security update; as applications updates I can always wait for or choose when to install..

DeMus
Level 6
Level 6
Posts: 1029
Joined: Sat Aug 15, 2009 5:11 pm

Re: Frequent updating

Post by DeMus » Thu May 28, 2015 12:26 pm

Pjotr wrote:There's a workaround, however:
https://sites.google.com/site/easylinux ... ew-updates
(item 1.2.2, left column)
I have read your story about changing the rc.local file and setting the interval in the updater to 1 day, but what does it do exactly?
When you change the rc.local file to make the updater check for updates 50 seconds after boot and after that, through the preferences in the updater, wait one day, doesn't this mean it will check for updates at every boot? What is the difference with changing nothing to the system and leave it the way it is?
Maybe I am missing something but the way I see it it will check for updates 50 seconds after every boot. Please explain Pjotr, as I said, maybe I am missing something.
Last edited by DeMus on Thu May 28, 2015 1:18 pm, edited 1 time in total.

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

Re: Frequent updating

Post by Pjotr » Thu May 28, 2015 1:06 pm

DeMus wrote:
Pjotr wrote:There's a workaround, however:
https://sites.google.com/site/easylinux ... ew-updates
(item 2, left column)
I have read your story about changing the rc.local file and setting the interval in the updater to 1 day, but what does it do exactly?
When you change the rc.local file to make the updater check for updates 50 seconds after boot and after that, through the preferences in the updater, wait one day, doesn't this mean it will check for updates at every boot? What is the difference with changing nothing to the system and leave it the way it is?
Maybe I am missing something but the way I see it is will check for updates 50 seconds after every boot. Please explain Pjotr, as I said, may I am missing something.
The database will be refreshed 50 seconds after boot. Update Manager will then check that updated database once a day and not every 30 minutes. :)
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Hoser Rob
Level 11
Level 11
Posts: 3831
Joined: Sat Dec 15, 2012 8:57 am

Re: Frequent updating

Post by Hoser Rob » Sun May 31, 2015 9:55 am

Also remember that linux updates all software including apps, unlike in Windoze where it just updates the OS. This is not only convenient (IMO) but an important security feature. So many of those are not really ubuntu/mint updates.

User avatar
BigEasy
Level 6
Level 6
Posts: 1146
Joined: Mon Nov 24, 2014 9:17 am
Location: Chrząszczyżewoszyce, powiat Łękołody

Re: Frequent updating

Post by BigEasy » Tue Jun 02, 2015 3:47 pm

There is no any corelation between updates of all and security in Linux. For example in Fedora everyone get about 100 updates per week. Every week during life time of release. If every of this updates is about security, then be sure you every day working on dangerous OS which never became safe. After 8 month released new Fedora and everything goes around again.
Windows assumes I'm stupid but Linux demands proof of it

User avatar
MtnDewManiac
Level 6
Level 6
Posts: 1303
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: Frequent updating

Post by MtnDewManiac » Sun Jun 21, 2015 12:55 pm

BigEasy wrote:There is no any corelation between updates of all and security in Linux. For example in Fedora everyone get about 100 updates per week. Every week during life time of release. If every of this updates is about security, then be sure you every day working on dangerous OS which never became safe. After 8 month released new Fedora and everything goes around again.
I'm not sure I entirely understand the point you were trying to make.

People find new bugs/security exploits in existing versions of applications/components, lol. If they didn't, the only updates would be for new features, "hacking" would be limited to fiction novels/movies, and the world would be a far safer and boring place.
BigEasy wrote:If every of this updates is about security
Not knowing Fedora, I can only speculate, but I doubt that every update is directly related to security (unless one chooses to use a broader definition of the term, of course).
BigEasy wrote:then be sure you every day working on dangerous OS which never became safe.
The only truly "safe" OS is one which is never used, lol. Or, at the least, one that is locked down in such a way that there is NO outside access and the only interaction is with the user who must be physically present. And, even then, a Faraday Cage might be called for :roll: . Alas(?), we live in a connected world, a dynamic world, and while linux in general is safer (and more secure, which is not the same thing) than (for example) one of Microsoft's OS, there is no "ultimate, never needs updated, all components guaranteed to be 100% non-exploitable" in linux - nor should there be any expectation of same.

Regards,
MDM


Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.

parsma
Level 1
Level 1
Posts: 35
Joined: Sun Aug 22, 2010 3:00 am

Re: Frequent updating

Post by parsma » Mon Jul 06, 2015 4:59 pm

I honestly don't understand the original problem. I mean, it's (usually, at least) not like you have to restart the system or anything, like on some other "operating system" I can think of, and could mention if pressured about it. ;)

I usually let that blue icon shine me in the eye for a bit, and I'll get around to clicking on it when I have the time.
I do not believe in supernatural beings. Therefore: http://atheism.org/

User avatar
MagicMint
Level 3
Level 3
Posts: 140
Joined: Fri May 31, 2013 1:29 pm

Re: Frequent updating

Post by MagicMint » Tue Jul 07, 2015 6:17 am

parsma wrote:I honestly don't understand the original problem. I mean, it's (usually, at least) not like you have to restart the system or anything, like on some other "operating system" I can think of, and could mention if pressured about …
It’s probably that vicious Windows mindset after all :wink:

User avatar
SleeperService
Level 3
Level 3
Posts: 102
Joined: Fri Mar 20, 2015 12:06 pm

Re: Frequent updating

Post by SleeperService » Thu Jul 09, 2015 11:17 am

MagicMint wrote: You don’t (ever) need to reboot, unless you’ve updated the kernel. Fortunately, this is not Windows :wink:
I'm not entirely sure this is true. Ubuntu's update system will occasionally prompt the user that a restart is necessary after updates (although to be fair, this may be only after kernel updates, I haven't paid that close attention when updating my virtual machines). CentOS,for example, through yum will update components that are loaded into memory which cannot be stopped and reloaded to the newer version without causing the system to be unstable, so the only way to actually apply the updates is to restart.
Think Penguin Korora, i5-4200U, Intel HD 4400, 4gb DDR3, Crucial MX100 SSD, Mint 17.2 Cinnamon 64-bit

User avatar
MtnDewManiac
Level 6
Level 6
Posts: 1303
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: Frequent updating

Post by MtnDewManiac » Thu Jul 09, 2015 11:47 am

I remember being prompted to reboot, but it has been a long time (and may have been with a different distro). Maybe not every single update is immediately "activated" and, instead of being told to reboot, the files are not used until the user next (re)boots? Or at least logs out and back in?

Seems like I've seen troubleshooting threads where a user made changes, reported no improvement, and was told to log out/in or reboot - and the user did, whereupon he/she reported success.

I may (cannot remember) have seen a mention or two of people installing something via Synaptic and doing the same thing, IDK.

I'll freely admit that having my system tell me I need to reboot during the update process is very rare. And, in any case, it certainly has never appeared to be the "checking for updates... {wait}, downloading updates... {wait} installing updates... {wait} still installing updates {wait} still installing updates {wait} some updates could not be blah blah blah, please reboot to complete the installing of updates. Reboot now? {reboot} System is installing updates, please wait {wait some more}" that Microsoft has been known to do (on somewhat of a regular basis, at least in previous versions of its OS which I used). Additionally, when I update through mint-Update/Update Manager, I'm done. No checking most applications to see if there's a menu command to have them check for their own individual updates.

So I'm pretty happy with the way things occur in Mint :D . I could - and, occasionally, do - wish that we were not on the "three(?)-year LTS version release cycle," but I foresee being able to add a PPA if I want a newer version of a given application than is in our "stock" repositories.

To the OP: I believe that LMDE, the set of Mint editions that are based on Debian, might have less frequent updates. I cannot remember if they still use the "Update Pack" strategy or not. If so, switching to that is an option. Might be a little drastic, though (assuming you are happy, otherwise, now).

Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.

User avatar
NChewie
Level 4
Level 4
Posts: 212
Joined: Wed Oct 15, 2014 8:46 am
Location: Ireland

Re: Frequent updating

Post by NChewie » Fri Jul 10, 2015 8:29 am

@MDM

You carelessly missed: "Do not power off or disconnect your laptop" [for up to an hour] [before shutdown] ... and the [no message, but your system is locked up while I check for updates just after boot up] scenarios.
And I miss having to look at the update log to see which updates failed, so that I can do them again! And again with a few more reboots, a couple of system restores and a lot of cold sweats.

With regards to Mint, I love the snappy updates without killing the other processes or requiring multiple (or any) reboots.
... And as I've said before, if all gets corrupted, it reinstalls from DVD in less time than it takes to do a Super Tuesday update on my old OS :wink:
Toshiba Satellite Pro C650-191 LM17.3 Cinnamon

parsma
Level 1
Level 1
Posts: 35
Joined: Sun Aug 22, 2010 3:00 am

Re: Frequent updating

Post by parsma » Fri Jul 10, 2015 2:02 pm

SleeperService wrote:
MagicMint wrote: You don’t (ever) need to reboot, unless you’ve updated the kernel. Fortunately, this is not Windows :wink:
I'm not entirely sure this is true. Ubuntu's update system will occasionally prompt the user that a restart is necessary after updates (although to be fair, this may be only after kernel updates, I haven't paid that close attention when updating my virtual machines). CentOS,for example, through yum will update components that are loaded into memory which cannot be stopped and reloaded to the newer version without causing the system to be unstable, so the only way to actually apply the updates is to restart.
Seriously? I've never encountered that. Perhaps you're one of them specialists that run things close to the edge, so to speak. I'm not. Perhaps there lies the difference. :)
I do not believe in supernatural beings. Therefore: http://atheism.org/

User avatar
SleeperService
Level 3
Level 3
Posts: 102
Joined: Fri Mar 20, 2015 12:06 pm

Frequent updating

Post by SleeperService » Fri Jul 10, 2015 2:13 pm

When updating certain libraries that are in use when the updates are installed, only new instances of software will load the new libraries after the update. To get the system fully working on the new libraries a reboot is required, although if an administrator knows which daemons load which libraries that are updated, it is sufficient to restart only those processes if they can be restarted without bringing the whole system down.
Think Penguin Korora, i5-4200U, Intel HD 4400, 4gb DDR3, Crucial MX100 SSD, Mint 17.2 Cinnamon 64-bit

User avatar
Ranthe
Level 2
Level 2
Posts: 85
Joined: Fri Sep 05, 2014 9:01 pm
Location: Paraparaumu, New Zealand

Re: Frequent updating

Post by Ranthe » Fri Jul 10, 2015 11:59 pm

I have noticed a truckload of Mint-related updates coming out in the last week after I upgraded from 17.1 to 17.2...

... not that I consider it a problem or anything as I don't have to reboot after every update like Windows does. Just slightly unusual to see a bit more stuff than usual coming down the pipe lately.

Post Reply

Return to “Non-technical Questions”