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

Help fund CrunchBang, donate to the project!

#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

#!/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

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: bleh

Debian Logo