[pacman-dev] [PATCH] pacman/query.c : -Qo optimization.

Nagy Gabor ngaba at bibl.u-szeged.hu
Mon Nov 26 07:54:12 EST 2007


Idézés Xavier <shiningxc at gmail.com>:

> On Sat, Nov 24, 2007 at 02:59:05PM +0100, Nagy Gabor wrote:
> > > Not sure what you mean, but usr/var is owned by filesystem and show up
> as
> > > usr/var in the filelist. So it's treated as a file and not a dir, right?
> > > pacman -Ql filesystem | grep "usr/var"
> > > filesystem /usr/var
> > 
> > [*] Fine.
> > First I meant "pacman -Qo /usr/var", when I tried last time, "I got cannot
> > determine ownership of a directory" <- if this still exists, we can fix
> with the
> > help of [*].
> 
> Hm, I don't understand your [*] thing.
> But pacman -Qo simply stats the file (so if it's a symlink, it resolves
> it), and if it is a directory, it simply stops.
> That's because directories are usually owned by multiple packages, and -Qo
> is
> maybe supposed to return just one package.

Directory symlink is not a directory [that is a symlink ;-], that should be
owned by one package imho. This is why I said [*], and because
alpm_fileconflicts can detect two conflicting directory symlinks.

Bye


----------------------------------------------------
SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
This mail sent through IMP: http://horde.org/imp/





More information about the pacman-dev mailing list