Mintupdates for grandma

Post your update and upgrade related errors here
Forum rules
Before you post please read this

Mintupdates for grandma

Postby madwoollything on Thu Nov 25, 2010 9:00 am

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
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Linux Mint is funded by ads and donations.
 

Re: Mintupdates for grandma

Postby kwevej on Thu Nov 25, 2010 10:56 am

This could work:

Code: Select all
#!/bin/bash
apt update -qq && apt dist-upgrade -y -q


or you can use debdelta to save some bandwidth, which I'd recommend:
Code: Select all
#!/bin/bash
apt update -qq && (debdelta-upgrade; apt dist-upgrade -y -q)

(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
LOG=/var/log/mupdates.log
apt update -qq 2>> $LOG && (debdelta-upgrade; apt dist-upgrade -y -qq 2>> $LOG )
User avatar
kwevej
Level 5
Level 5
 
Posts: 624
Joined: Mon Mar 22, 2010 3:35 pm
Location: Delft / Prague [@ LMDE]

Re: Mintupdates for grandma

Postby gotjazz on Thu Nov 25, 2010 1:31 pm

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 ;)
Image
User avatar
gotjazz
Level 4
Level 4
 
Posts: 386
Joined: Fri May 28, 2010 11:38 am
Location: Vienna, Austria

Re: Mintupdates for grandma

Postby madwoollything on Sun Dec 12, 2010 10:43 am

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 ;)


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?
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Re: Mintupdates for grandma

Postby gotjazz on Sun Dec 12, 2010 10:49 am

yeah well it will of course. but does grandma really care?
Image
User avatar
gotjazz
Level 4
Level 4
 
Posts: 386
Joined: Fri May 28, 2010 11:38 am
Location: Vienna, Austria

Re: Mintupdates for grandma

Postby madwoollything on Tue Dec 14, 2010 12:05 pm

gotjazz wrote:yeah well it will of course. but does grandma really care?


Probably not but I'm looking for a system setup that is easy to maintain.

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.
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Re: Mintupdates for grandma

Postby gotjazz on Wed Dec 15, 2010 3:42 am

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.
Image
User avatar
gotjazz
Level 4
Level 4
 
Posts: 386
Joined: Fri May 28, 2010 11:38 am
Location: Vienna, Austria

Re: Mintupdates for grandma

Postby madwoollything on Sun Dec 26, 2010 4:19 am

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)?
madwoollything
Level 3
Level 3
 
Posts: 158
Joined: Sun Jul 20, 2008 8:46 am

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 8 guests