You are not logged in.

#1 2008-12-27 17:12:50

drf
Member
From: Milano, Italy
Registered: 2008-01-13
Posts: 113

Alpm cry for help

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

#2 2008-12-27 18:30:33

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Alpm cry for help

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

#3 2008-12-27 19:28:18

drf
Member
From: Milano, Italy
Registered: 2008-01-13
Posts: 113

Re: Alpm cry for help

Ok, answered, please ignore (or better, close) this thread to avoid flaming further than I already did. Sorry again

Offline

Board footer

Powered by FluxBB