SEARCH

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

You are not logged in.

#1 2015-09-26 19:10:23

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Automatic notification of updates

BunsenLabs Hydrogen packages have been getting regular updates as we've been doing a lot of work, but this may slow down in the future. Debian jessie itself receives rather infrequent updates (hence stable).

pk-update-icon is a notification-tray icon that appears when a package update is available, and is handy if you forget or don't care to manually check for updates (though you should, relying on software to do this is not the safest practice). It is available in jessie-backports...
http://backports.debian.org/Instructions/
https://packages.debian.org/jessie-back … pdate-icon

After installing it (I used the --no-install-recommends switch), just reboot or start it by running 'pk-update-icon' w/out quotes in your Run dialog (Alt+F2). The tray icon and notification dialog only appear if an update is available. You don't need to add it to ~/.config/openbox/autostart.


bunsenlabs     8)     forum mod squad

Offline

Be excellent to each other!

#2 2015-09-26 21:09:13

Bearded_Blunder
#! Junkie
Registered: 2014-04-04
Posts: 262

Re: Automatic notification of updates

I use Windows to remind me, when that nags me about updates, I do #! too.


Blessed is he who expecteth nothing, for he shall not be disappointed...

Offline

#3 2015-09-26 21:20:58

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Automatic notification of updates

I use "up2" almost daily.  wink

    $ up2
alias up2 = sudo apt-get update ; sudo apt-get upgrade --no-install-recommends

I don't have synaptic installed.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#4 2015-09-27 01:00:23

flaneur
#! Member
Registered: 2014-01-24
Posts: 99

Re: Automatic notification of updates

Sector11 wrote:

I use "up2" almost daily.  wink

    $ up2
alias up2 = sudo apt-get update ; sudo apt-get upgrade --no-install-recommends

I don't have synaptic installed.

I use

command1 && command2

I understand that "&&" requires the preceding command to be executed successfully whereas with ";" the following command executes whether or not the previous command is successful.

Offline

#5 2015-09-27 01:12:36

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Automatic notification of updates

^ OH!  Now to change my aliases back.
I used

cmd1 && cmd2

for the longest time, and only recently, by comparison, I started using " ; " as I saw it being used in a script some place and thought; "hey that's cool".

Thanks for the insight.

EDIT: Aliases changed.

Last edited by Sector11 (2015-09-27 01:20:14)


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#6 2015-09-27 22:17:36

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: Automatic notification of updates

^ S11, it does different things. the "&&" means that the previous command must have returned a "success" code for the latter to be executed. that makes sense with apt-get update && apt-get upgrade.
the ";" means that the second command goes ahead regardless of how the previous exited. also makes sense in some situations (e.g. ~/.config/openbox/autostart).

Offline

#7 2015-09-28 12:36:55

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Automatic notification of updates

^ I'll do some reading up on that.  Up until now I though " && " and " ; " were the same - and with me and my typing ; is faster and easier.  big_smile


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#8 2015-09-28 12:42:23

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Automatic notification of updates

Sector11 wrote:

^ I'll do some reading up on that.  Up until now I though " && " and " ; " were the same - and with me and my typing ; is faster and easier.  big_smile

alias ;=' && '

  ]:D


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#9 2015-09-28 12:49:39

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Automatic notification of updates

Ahhhhh but does an alias work within and alias?

alias up2 = sudo apt-get update && sudo apt-get upgrade --no-install-recommends

·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#10 2015-09-28 16:15:25

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Automatic notification of updates

Anyway, this package prompts you to upgrade by clicking stuff.  8o


bunsenlabs     8)     forum mod squad

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