You are not logged in.
Hello,
maybe I searched in wrong places, but really I couldn't find any explanation on what pyalpm/alpm would do for each available call.
I'm trying some python scripting which need information from the pacman results. I'd rather prefer to use pyalpm, but I'm in the middle of nowhere.
do it good first, it will be faster than do it twice the saint ![]()
Offline
pyalpm includes pycman, a simple pacman implementation in python. It should give you some pointers
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Moving to Pacman and Packages...
Offline
pyalpm includes pycman, a simple pacman implementation in python. It should give you some pointers
Found it, but it's a hard time to reverse engineering what those calls are used for, or what they give in return.
Definitely poor documentation yet. Maybe the alpm should have more details. I doubt that all of those had to deal with ALPM, had to do revengineering.
At the first, I'd like to have the result similar to pacman -Sup '%r %l %s'
In the pycman script I find just the equivalent of pacman -Su or pacman -Sy , which are ready-to-use. It's still difficult to extrapolate other informations and/or functions calls within these 2 commands.
Last edited by TheSaint (2013-06-05 15:21:54)
do it good first, it will be faster than do it twice the saint ![]()
Offline