You are not logged in.
I'm having some trouble with updating. As many Archers, I use some packages from AUR. In my case, I'm using bauerbill specifically to update packages from AUR just like I would with pacman. Quite convenient (thx, xyne!)
But I have some packages that need to be rebuild from AUR when certain official packages are updated, e.g. compiling thinkhdaps against the new kernel version, or updating Lightning and Enigmail from AUR when I update my Thunderbird. However, so far I have not yet found a way to do this: calling specific commands when certain packages are changed.
Is there any way to do this in pacman or one of the other arch package managers? Or do you have a clue about how to write a script that could do this? Any help would be greatly appreciated.
Last edited by Natanji (2010-07-22 06:49:54)
Offline
pacman hooks aren't implemented yet AFAIK. You'd have to do this manually, shouldn't be too many packages anyway.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
No hooks yet... we only have a rough design document: http://wiki.archlinux.org/index.php/Use … cman_Hooks
Offline
Okay, then I'll wait till that's added to pacman.
Good thing you're working on it!
Offline
Okay, then I'll wait till that's added to pacman.
Good thing you're working on it!
Not exactly what he said.... but yes, all we can do is wait.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Not exactly. Waiting is one of two options - turning the design into code and submitting a patch is the other. ![]()
Offline
You could watch (with inotify) the pacman log for specific applications and events. Turn this into a daemon, and execute relevant commands when application X is updated.
Offline
You could watch (with inotify) the pacman log for specific applications and events. Turn this into a daemon, and execute relevant commands when application X is updated.
But I think that seems to be a problem as you wouldn't know which applications to keep watching since some might need to be re-built, and others might not.
I guess watching every package installed outside of pacman (pacman -Qm) would be the only way to see which AUR package needs to be re-built. Depending on how many packages you have installed from AUR or external sources, this could be very fast to extremely slow.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline