Topic: update-notifier in Statler Openbox Alpha2

I installed update-notifier in Statler Openbox Alpha2, and added 'update-notifier &' to autostart.sh
It's working, but not fully.

When updates are available it shows a gray sun in the system tray. On mouse over it shows the amount of available updates.
I can choose from several options on right click:
- show updates --> not working
- install all updates --> starts synaptic and installs updates
- check for updates --> starts synaptic
- start package manager --> starts synaptic
- show notifications --> enabled, but no notification is shown
- preferences --> not working

I tried starting update-notifier in a terminal, which gives the following error:
DEBUG: error during dbus call: The name org.debian.apt was not provided by any .service files

I looked for a config file, but ~/.update-notifier is empty.

Edit: i forgot to add a question: Can i make update-notifier run better... or is there an other way to be notified for updates and
install them easily. It's not for myself, but for a friend who needs something more easy..

Tuna.

Last edited by Tunafish (2010-07-08 14:47:26)

Re: update-notifier in Statler Openbox Alpha2

^ I think maybe update-notifier expects update-manager-gnome (the stripped-down APT gui interface) to be installed?

while ( ! ( succeed = try() ) );

Re: update-notifier in Statler Openbox Alpha2

^ update-manager-gnome is already a depends for update-notifier.

@Tunafish - have you tried going to Synaptic > Settings > Preferences > Updates?

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: update-notifier in Statler Openbox Alpha2

try running it from the terminal, what errors does it give you then, when clicking on non working elements

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: update-notifier in Statler Openbox Alpha2

anonymous wrote:

@Tunafish - have you tried going to Synaptic > Settings > Preferences > Updates?

I don't know what you mean... nothing called Updates in Preferences.

benj1 wrote:

try running it from the terminal, what errors does it give you then, when clicking on non working elements

When i click 'Show Updates' i get this error:

[CRITICAL:UpdateManager.Application] Invalid implementation name Crunchbang

'Preferences' it results in:

(gksu:2715):GLib-CRITICAL **: g_str_has_prefix: assertion 'str !=NULL' failed

Re: update-notifier in Statler Openbox Alpha2

I found this bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559000

But the package with the fix has already been released. I tried getting update-notifier from unstable and it still gives that GLib-CRITICAL error.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: update-notifier in Statler Openbox Alpha2

im using statler xfce4 is there a script that lets me update my system using command line like how it does in openbox when u press super + u thanks in advance

Re: update-notifier in Statler Openbox Alpha2

tinee wrote:

im using statler xfce4 is there a script that lets me update my system using command line like how it does in openbox when u press super + u thanks in advance

Easy commands you should memorize:

sudo apt-get update 
sudo apt-get dist-upgrade

If you are looking for a fun way to automate the process, I personally am a big fan of the scripts at smxi.org (though I am not currently using them with Statler as I do not find them necessary).

Re: update-notifier in Statler Openbox Alpha2

thanks for the quick reply



so would i add this to a file and make it executable?

#!/bin/bash
sudo apt-get update && apt-get dist-upgrade

Last edited by tinee (2010-08-04 22:40:33)

Re: update-notifier in Statler Openbox Alpha2

Ive been using this bash script since alpha1 and it works.

http://crunchbanglinux.org/forums/topic … m-updates/
And have even made a Keybind for it like in 9.04.