Topic: suggestion: available update notification

After installing, I guess it would be recommended to immediately do an update?
If so, it might be a nice idea to somehow add an automated message that appears after installing #!?

#!+mocp=music in my ears

Re: suggestion: available update notification

I hope this is never the default (I hate anything that automatically pops up on my computer screen) but if you want, you can install Ubuntu's update manager and add it to your autostart.

sudo apt-get install update-manager
leafpad ~/.config/openbox/autostart.sh

Crunchbang has its own unique update tool, which you can read more about here:

http://crunchbanglinux.org/forums/topic … te-script/

It is a simple script instead of a clunky graphical application like Ubuntu uses.

Re: suggestion: available update notification

snowpine wrote:

...Crunchbang has its own unique update tool, which you can read more about here:

http://crunchbanglinux.org/forums/topic … te-script/...

I assume using the superkey+u, as the shortcut keys on #!'s desktop show, will have the same effect?
I'm just barely getting my feet wet with the terminal and scripts, so not too advanced will do for me at this stage smile

#!+mocp=music in my ears

Re: suggestion: available update notification

Yup, super+U launches the update script.

I personally just type:

sudo apt-get update && sudo apt-get upgrade

Mostly out of habit. smile

Re: suggestion: available update notification

You could also add an update notification to your conky panel. that won't help you with the after-install problem, but might be an option for further use.

I bet it's buried somewhere in the "My conky config" threads.

Here's my "script", credits to the guy with the original idea (sorry, forgot the name/website)

Updates:$alignr${execi 3600 aptitude search "~U" | wc -l}
Cheers,

Joe

Re: suggestion: available update notification

Joe-Doe wrote:

You could also add an update notification to your conky panel. that won't help you with the after-install problem, but might be an option for further use.

I bet it's buried somewhere in the "My conky config" threads.

Here's my "script", credits to the guy with the original idea (sorry, forgot the name/website)

Updates:$alignr${execi 3600 aptitude search "~U" | wc -l}

The after-install thing is not a problem. It was just a suggestion to add a notification to a first time time install for immediately doing an update.

Anyway... I pasted the script, but it doesn't seem to do much, except show "Updates: 5" (and the 5 is almost completely off screen BTW in my case).
When I do superkey+u, after the upgrade (and refresh Conky) the number is still 5...

#!+mocp=music in my ears

Re: suggestion: available update notification

You have to add a blank behind the line in your conkyrc

The superkey+u won't work because the 5 updates are the ones that are noted as "x upgraded, x newly installed, x to remove and 5 not upgraded"

You get rid of it by using apt-get dist-upgrade or installing the noted packages manually with apt-get install.

Cheers,

Joe

Re: suggestion: available update notification

Joe-Doe wrote:

You have to add a blank behind the line in your conkyrc

The superkey+u won't work because the 5 updates are the ones that are noted as "x upgraded, x newly installed, x to remove and 5 not upgraded"

You get rid of it by using apt-get dist-upgrade or installing the noted packages manually with apt-get install.

cool, the blank puts the 5 in place smile

so how do I know what the 5 offered packages are?

#!+mocp=music in my ears

Re: suggestion: available update notification

Simply open your terminal and type

sudo apt-get update && sudo apt-get upgrade

, that should print the packages that were kept back

Cheers,

Joe

Re: suggestion: available update notification

Joe-Doe wrote:

Simply open your terminal and type

sudo apt-get update && sudo apt-get upgrade

, that should print the packages that were kept back

then I get a list of this and that, and at the end again:
0 newly installed, 0 to remove and 5 not upgraded.
so the number is still 5... (puzzled smiley)

#!+mocp=music in my ears

Re: suggestion: available update notification

The correct command is:

sudo apt-get dist-upgrade

The 5 packages are kernel-related, so they are not pulled in by regular apt-get upgrade.

Re: suggestion: available update notification

catch22 wrote:
Joe-Doe wrote:

Simply open your terminal and type

sudo apt-get update && sudo apt-get upgrade

, that should print the packages that were kept back

then I get a list of this and that, and at the end again:
0 newly installed, 0 to remove and 5 not upgraded.
so the number is still 5... (puzzled smiley)

that should be the way to check wich ones were kept back, the command to get rid of the 5 packages was mentioned in post #7 wink

or in snowpines post

EDIT: Snowpine, talking about kernel related, is there any kernel upgrade planned, due to that security flaw in the current kernels?

Last edited by Joe-Doe (2009-11-04 21:03:09)

Cheers,

Joe

Re: suggestion: available update notification

Joe-Doe wrote:

...that should be the way to check wich ones were kept back, the command to get rid of the 5 packages was mentioned in post #7 wink

or in snowpines post

ok, I'm settled (and pasted the command in my Conky too, so I'll remember it :-))
thank you both!

#!+mocp=music in my ears

Re: suggestion: available update notification

Joe-Doe wrote:

EDIT: Snowpine, talking about kernel related, is there any kernel upgrade planned, due to that security flaw in the current kernels?

I hadn't heard about any security flaws; what's the story? (or a link maybe?)

The current 9.04 kernel is 2.6.28.16, and yes, Canonical does "point" upgrades of the kernel from time to time (just like any other package).

Re: suggestion: available update notification

catch22 wrote:

ok, I'm settled (and pasted the command in my Conky too, so I'll remember it :-))
thank you both!

You're welcome smile

snowpine wrote:

I hadn't heard about any security flaws; what's the story? (or a link maybe?)

Link: http://www.theregister.co.uk/2009/11/03 … erability/

It's some kind of root exploit...

Cheers,

Joe

Re: suggestion: available update notification

Joe-Doe wrote:

Link: http://www.theregister.co.uk/2009/11/03 … erability/

It's some kind of root exploit...

Thanks for the link! I imagine, if the threat is legitimate, Canonical will release a patched 2.6.28... but that is pure speculation on my part. smile

Re: suggestion: available update notification

snowpine wrote:

Thanks for the link! I imagine, if the threat is legitimate, Canonical will release a patched 2.6.28... but that is pure speculation on my part. smile

No problem.
Well yeah i don't know how reliable "The Register" is and the only other longer article i found during a quick'n'dirty google-search had the "Register" as it's source of information...i guess we'll hear more about it, if it is legitimate.

Cheers,

Joe

Re: suggestion: available update notification

snowpine wrote:

I personally just type:

sudo apt-get update && sudo apt-get upgrade

I wrote something similar in my .bashrc:

alias update='sudo apt-get update -y && sudo apt-get upgrade -y'

If anyone try this you maybe sjould remove the "-y", that anwsers every question from apt with yes, sometimes not soo good wink

From Germany --> Bad English smile