Mint auto update

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
justy39
Level 1
Level 1
Posts: 48
Joined: Thu Nov 22, 2012 7:32 pm
Location: usa

Mint auto update

Post by justy39 » Wed Jul 24, 2013 12:13 am

My mom is now using mint. She is up there in age, and doesn't get all that technical with computers all that much other than browsing, and emails she does fine. But to make life easier for her, I wanted to set it up so her mint auto updates instead of every time I visit she has 126 updates. I found a webpage that tells you how, but not sure if done correctly or not. http://community.linuxmint.com/tutorial/view/1217


So I edited what I think will auto update by itself. I also have her computer auto back up to a secondary hard drive every couple days. So if a bad update occurs, I usually have about 3-4 backup images I can restore. So below is what I changed, removed //.


// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}-security";
"${distro_id}:${distro_codename}-updates";
"${distro_id}:${distro_codename}-proposed";
"${distro_id}:${distro_codename}-backports";
};

// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
// "vim";
// "libc6";
// "libc6-dev";
// "libc6-i686";
};

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run
// dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";

// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed.
//Unattended-Upgrade::Mail "root@localhost";

// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
//Unattended-Upgrade::MailOnlyOnError "true";

// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";

// Automatically reboot *WITHOUT CONFIRMATION* if a
// the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";


// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";
Odin's Oath Keepers.

wayne128
Level 10
Level 10
Posts: 3412
Joined: Tue Jul 13, 2010 12:15 am

Re: Mint auto update

Post by wayne128 » Wed Jul 24, 2013 12:41 am

My mom is now using mint. She is up there in age, and doesn't get all that technical with computers all that much other than browsing, and emails she does fine. But to make life easier for her, I wanted to set it up so her mint auto updates instead of every time I visit she has 126 updates.

Just my opinion, I would simple leave it so no 'management works'

Autoupdate might end up with some issues and then you still need to manage it.


I had one old laptop set up for an old lady, for listening to some songs and watch videos over youtube.

She coped fine, no update, for close to 2 years..

Recently another old lady had a free gift, an old laptop but with non-working winXP, I reinstall for her, but one issue, she did not have win key because the giver did not provide, and there is no sticker on that old laptop.
So i let her use WinXP for 30 days without activation.

However I install a Linux OS dual boot, told her when WinXP stops working just switch to Linux..I set it up so that all she need is select linux, click firefox icon, that is all.
Haha so far to my surprise, still working..no management requirement for last 6 months.
Same thing, I turn off any update, because all she need is surf net with firefox.

User avatar
Pierre
Level 17
Level 17
Posts: 7280
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Mint auto update

Post by Pierre » Wed Jul 24, 2013 1:19 am

if you click on the update manager ( the white shield),
- edit - preferences - there are five levels of updates.

levels 1-3 are visible / downloadable & levels 4 & 5 are not.

- click on level three visible? - to un-check that box.
- click on apply & click on refresh.

now only levels 1 & 2 will be downloadable
& they are much smaller both in size & in number of.

I do this with all Mint PCs - that I give away .. ..
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

CaptainMark
Level 3
Level 3
Posts: 105
Joined: Mon Nov 28, 2011 8:19 am

Re: Mint auto update

Post by CaptainMark » Thu Jul 25, 2013 2:26 am

I've tried to configure unattended-upgrades before and nothing ever seems to install by itself.

I've given a mint laptop to my mum too and I've had to fall back to adding an anancron script for apt-get upgrade, it's 99% safe but every now and again an update will require intervention

EDIT: I just spent 30 seconds thinking of why its not running, perhaps its a simple as the service is not starting so I've run sudo service unattended-upgrades and we shall see how this goes

It's not that simple, I'm still having trouble getting the unattended-upgrade to work, it reports that there are no packages to update
Regards
Mark

Post Reply

Return to “Software & Applications”