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 #!?
CrunchBang Linux Forums » Feedback & Suggestions » 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 #!?
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.shCrunchbang 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.
...Crunchbang has its own unique update tool, which you can read more about here:
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 ![]()
Yup, super+U launches the update script.
I personally just type:
sudo apt-get update && sudo apt-get upgradeMostly out of habit. ![]()
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}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...
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.
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 ![]()
so how do I know what the 5 offered packages are?
Simply open your terminal and type
sudo apt-get update && sudo apt-get upgrade, that should print the packages that were kept back
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)
The correct command is:
sudo apt-get dist-upgradeThe 5 packages are kernel-related, so they are not pulled in by regular apt-get upgrade.
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 ![]()
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)
...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
or in snowpines post
ok, I'm settled (and pasted the command in my Conky too, so I'll remember it :-))
thank you both!
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).
ok, I'm settled (and pasted the command in my Conky too, so I'll remember it :-))
thank you both!
You're welcome ![]()
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...
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. ![]()
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.
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.
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 ![]()
Posts [ 18 ]
CrunchBang Linux Forums » Feedback & Suggestions » suggestion: available update notification
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.