[pacman-dev] pacman cold caches performance, too much stat()ing

Nagy Gabor ngaba at bibl.u-szeged.hu
Sat Dec 12 10:38:31 EST 2009

> On Sat, 12 Dec 2009, Dimitrios Apostolou wrote:
> > P.S. Is there some option --pretend I might have missed? What I
> > need is to get exactly the same actions of "pacman -S blah" or
> > "pacman -Su" until the Y/N prompt, as non-root user.
> Regarding this issue, it's the first I tried to fix since I didn't
> want to run my random changes as root. Fortunately I accidentaly
> found about -p option (--print-uris) which does exactly what I need,
> so I quickly hacked a -P (--pretend) version for sync operations,
> which runs as user and only outputs package list and sizes.
> I /think/ that this functionality is required by packagekit, so that
> it can automatically notify the user when updates become available. I 
> remember on fedora something similar is "yum check-update".
> Ofcourse it would be much nicer if it worked for all operations, not
> only sync. For example in a recursive remove it could notify the user
> of all packages that would be removed, the size to be freed etc
> without needing root or locking the db. But I'll skip that part,
> since my focus is elsewhere.
> What do you think?
> Dimitris

What do you think about Xav's --print patch:


More information about the pacman-dev mailing list