You are not logged in.
Pages: 1
Premise: I don't like to do these kind of things, though it looks like the only way.
I am in need of help with Alpm. I wrote to pacman-dev mailing list and got _completely_ ignored. I wonder why developers show so proudly Shaman in pacman web page when they are not ready to give the smallest help to a problem I'm complaining about since months. Anyway.
As you all can see, Shaman is no longer, since last major pacman update, able to show the size of a package during download. This happens because the download callback always gets a 0 as a value in the file_total variable.
I am now writing a library that is more or less a Qt/C++ wrapper to Alpm, that I plan to use in some other applications (Chakra installer, Shaman 2, etc), and the problem still persists. You can find the code here: http://github.com/drf/aqpm/tree/master/trunk
I wrote a small helper application (since I'm probably going to use policykit with the library, so that you won't have to suid shaman no longer), that performs transactions: http://github.com/drf/aqpm/tree/master/ … qpm/worker
As you can see it's so simple: no threading, nothing strange, callbacks are just the same pacman uses. Though, the problem is still there. So either I am doing something completely wrong, and someone could kindly explain me what, or there is a bug in the library.
Anyway, this is the main reason Shaman is stalled. And if I won't get over this problem I strongly doubt I will keep on developing it. I am wasting a lot of time over such a small issue, and having no help or support is rather frustrating.
Again, sorry for the rant
Last edited by drf (2008-12-27 17:13:40)
Offline
An answer (probably not so helpful..) there : http://archlinux.org/pipermail/pacman-d … 07881.html
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Ok, answered, please ignore (or better, close) this thread to avoid flaming further than I already did. Sorry again
Offline
Pages: 1