LMDE is just great!!
I'd like to be able to automate the mintupdate process for a laptop which a relative is using.
If I knew what the command was for selecting the updates which are displayed in the mintupdate gui, then I could automate this process in a weekly cron job.
It would be nice to be able select the priority 1,2 and maybe 3 updates automatically.
Thanks
Mintupdates for grandma
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Mintupdates for grandma
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Mintupdates for grandma
This could work:
or you can use debdelta to save some bandwidth, which I'd recommend:
(requires 'debdelta' package installed)
chmod +x it, place it to the PATH
and put into cron
you can make some error logging too
Code: Select all
#!/bin/bash
apt update -qq && apt dist-upgrade -y -q
Code: Select all
#!/bin/bash
apt update -qq && (debdelta-upgrade; apt dist-upgrade -y -q)
chmod +x it, place it to the PATH
and put into cron
you can make some error logging too
Code: Select all
#!/bin/bash
LOG=/var/log/mupdates.log
apt update -qq 2>> $LOG && (debdelta-upgrade; apt dist-upgrade -y -qq 2>> $LOG )
Re: Mintupdates for grandma
Although that way lvl 4 and 5 updates would also be included which isn't something the OP wanted. Akthough those levels and everything are still in ubuntu-mode so to say so that might even be better so I'd do it like kwevej explained. Although if it was my grandmother I'd switch her repos to point to squeeze instead of testing
Re: Mintupdates for grandma
I like the idea of pointing the repos at squeeze rather than testing however will this breaking the 'rolling' capability of LMDE if I do this?gotjazz wrote:Although that way lvl 4 and 5 updates would also be included which isn't something the OP wanted. Akthough those levels and everything are still in ubuntu-mode so to say so that might even be better so I'd do it like kwevej explained. Although if it was my grandmother I'd switch her repos to point to squeeze instead of testing
Re: Mintupdates for grandma
Probably not but I'm looking for a system setup that is easy to maintain.gotjazz wrote:yeah well it will of course. but does grandma really care?
I look after a number of boxes and a rolling distro sounds easier to maintain that the alternative of reinstalling LTS Ubuntu every couple of years, as the upgrade process has not worked successfully yet.
Re: Mintupdates for grandma
hrm well i'd prefer the lts route (or debian stable) - a couple of years is a couple of years and while testing isn't exactly known for wild breakage I could imagine little problems that do come up being more frequent than lts releases reaching the end of their life-cycle.
THat's a pure guess though.
THat's a pure guess though.
Re: Mintupdates for grandma
What do you think of a standard LMDE install but instead of using mintupdate on a regular basis (as Grandma won't want too) using say 'unattended-upgrades' in a weekly cron job?
Would this keep the system secure but also stable (ish)?
Would this keep the system secure but also stable (ish)?