You are not logged in.
the user sonlink, from archlinux-es.org forum, has create a system tray tool to look for pacman updates, the name is pacSyu (doh), this work under dbus, python2 and gtk2
the entry in the blog is here: http://sonlinkblog.blogspot.com/p/pacsyu.html
git repo here: http://github.com/son-link/PacSyu
and aur package here: http://aur.archlinux.org/packages.php?ID=49600
screenshots are available shortly
comments, critics, suggest, and all this things are allowed
happy updating
Offline
Sigh.
Please don't use "pacman -Sy" in an automatic (pacsyud.py) fashion. It turns Arch into a game of russian roulette. One day it will burn you. It is dangerous and can easily lead to all sorts of trouble. Much safer is to use the following:
# Setup
mkdir -p /tmp/localsync
ln -s /var/lib/pacman/local /tmp/localsync &> /dev/null
# Call this regularly
fakeroot pacman -Syy --dbpath /tmp/localsync/ &> /dev/null
pacman -Qqu --dbpath /tmp/localsync/ | wc -l
Does not need root and does not risk serious breakage. Credit to Falconindy for this hack, though I think he's got an even better method (pacupdate?) now.
Offline
thanks for your tip
Offline
Credit to Falconindy for this hack, though I think he's got an even better method (pacupdate?) now.
I was checking the code of pacupdate. For update db, "pacman -Sy" is exactly what it does, albeit with a sudo..
Here is the snippet from updatechecker.py file in pacupdate:
def sync_db(self):
if not ProcessUpdate().db_islocked():
print _('Syncing databases')
try:
if ProcessUpdate().run_background('sudo pacman -Sy') == 0:
return True
except KeyboardInterrupt:
return False
else:
print _('Pacman is already running!')
return False
Offline
Hy guys. firts, sorry for my english.
I'm the programer of Pacsyu and now bring news:
Yesterday y commit the new release to the Git repo (r5), but 3 days ago i upload the r3.
These releases solve many bugs, include the coment for keenerd.
I remove the daemon and separate the program in modules, only is need necesary execute the program (change pacsyu-client for pacsyu only).
I hope this release is to your liking and I hope your opinions.
Thanks
Offline