You are not logged in.

#1 2010-06-02 18:51:46

EVRAMP
Member
From: Czech Republic
Registered: 2008-10-03
Posts: 173
Website

pacman -Qo on commands [SOLVED]

Hello,
I've always used pacman -Qo to find out what package owns a file. It was searching my PATH first to look if such executable exists, e.g.: pacman -Qo pidgin gave me result /usr/bin/pidgin is owned by pidgin 2.7.1-1. But this is not working anymore for me, I must give a full path as argument for pacman to see result: pacman -Qo /usr/bin/pidgin.
I know i can use `which pidgin` to get full path, but I think it's a regression. Anyone noticed the same?

Last edited by EVRAMP (2010-06-02 21:10:05)

Offline

#2 2010-06-02 19:17:13

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: pacman -Qo on commands [SOLVED]

This feature isn't actually in a released version of pacman yet. Did you have pacman-git installed?

You can also use pkgfile -b name, which will also find it even if it's not installed.

Offline

#3 2010-06-02 21:09:33

EVRAMP
Member
From: Czech Republic
Registered: 2008-10-03
Posts: 173
Website

Re: pacman -Qo on commands [SOLVED]

No, i have not pacman-git installed, I just thought it's something that was forgotten during development, because it was working some time ago. I have some free time now, so I may look at pacman's code smile
Thanks for pkgfile -b, it works well. Marking as solved.

Offline

#4 2010-06-02 21:57:43

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: pacman -Qo on commands [SOLVED]

That never was a feature in the past.   The git version does contain a patch that enables this.

Offline

Board footer

Powered by FluxBB