SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-04-19 22:29:45

joejohnston3
Member
From: Chandler, AZ
Registered: 2014-03-25
Posts: 35
Website

Crunchbang Auto Updater

Hi All,

I am wanting to have an auto updater like the ones in Ubuntu, Mint and such. Is that possible with #!? I went into Synaptic and downloaded the update notifier but I cannot find where to configure it and I want an icon that stays in the taskbar and makes me aware if my system is updated or not. Can anyone give me some guidance? Thank you.


Joe Johnston
#! Crunchbang
"All the best people in life seem to like LINUX."
Steve Wozniak

Offline

Be excellent to each other!

#2 2014-04-19 22:43:50

joejohnston3
Member
From: Chandler, AZ
Registered: 2014-03-25
Posts: 35
Website

Re: Crunchbang Auto Updater

Okay, I may have answered my own question but if anyone has anything to add please let me know. Here is what I did from a Google search. If this is adequate or my only alternative please let me know but a GUI would be more what I want. Thank you.

Installing Cron-apt
You can get cron-apt from the Universe Repositories using Synaptic, or from the command line:

sudo apt-get install cron-apt

By default, cron-apt will execute automatically at 4am.


Joe Johnston
#! Crunchbang
"All the best people in life seem to like LINUX."
Steve Wozniak

Offline

#3 2014-04-20 05:04:08

Alad
Software Satan
Registered: 2014-02-20
Posts: 1,512

Re: Crunchbang Auto Updater

There's so many ways to do this - personally I just use RSS feeds on LWN tongue

A few examples

1. cron-apt like you said - or unattended-upgrades
2. apticron - notifies you by mail, can combine with zenity for more pretty
3. Linux Mint autoupdater - does weird stuff (unneeded sudoers entry, pings to google, doesn't drop privilege, connects even with network manager disconnected, gpg checks fail) so I wouldn't use it.
4. gnome-packagekit - more complex, adds a useless package manager
5. upgrade-manager - works but I found it annoying - shows up on every package install
6. mx-14 front-end to synaptic - don't recall the name

Last edited by Alad (2014-04-20 05:07:31)

Offline

#4 2014-04-20 05:32:49

joejohnston3
Member
From: Chandler, AZ
Registered: 2014-03-25
Posts: 35
Website

Re: Crunchbang Auto Updater

Thank you for the input and cron-apt seems to be the best fit.


Joe Johnston
#! Crunchbang
"All the best people in life seem to like LINUX."
Steve Wozniak

Offline

#5 2016-02-25 00:38:04

saljut7
#! CrunchBanger
Registered: 2013-10-31
Posts: 101

Re: Crunchbang Auto Updater

joejohnston3 wrote:

I went into Synaptic and downloaded the update notifier but I cannot find where to configure it and I want an icon that stays in the taskbar and makes me aware if my system is updated or not. Can anyone give me some guidance? Thank you.

Hello,

found this thread accidently. At the moment I'm running Debian Jessy with i3 window manager and an update notifier is something I would really like.

I've tried https://packages.debian.org/wheezy/update-notifier before but there is no man update-notifier so I have no idea how to use it and didn't find any useful information how to use this package.

So following your thread I tried cron-apt. I've found a note that cron-apt can cause a broken system if you accidently shutdown your system while there is a silent upgrade process. To avoid this there is a note on https://wiki.ubuntuusers.de/cron-apt/ to use https://wiki.debian.org/UnattendedUpgrades and a script...

#!/bin/sh

# create lockfile so the shutdown ist postponed when cron-apt is running

python -c 'import apt_pkg, gtk; apt_pkg.get_lock("/var/run/unattended-upgrades.lock"); gtk.main()' &

# execute cron-apt
/usr/sbin/cron-apt

# remove lockfile after end of cron-apt
rm -rf /var/run/unattended-upgrades.lock

...but it is not clear for me if the intention of this is to use both unattended-upgrades and the script in combination or either the first or the second.

Any ideas to clarify this? Thx alot!

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo