You are not logged in.

#1 2009-08-12 17:14:54

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 415

Search repo with pacman

I can`t find, if ther`s way, how to search from only one repo. When I do:

pacman -Ss package_name

pacman search all repos I have in /etc/pacman.conf. But how to search only from one repo if I know that some package is in extra repo for example? Something like:

pacman -Ss extra/package name (or near to name),

or how to do that?


I do not speak English, but I understand...

Offline

#2 2009-08-12 17:22:33

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: Search repo with pacman

with the exception of [testing] each package will reside in only one repo, so i don't quite understand why you wish to do this.

if you really want to narrow your search down by repo you could try something like this

pacman -Ss zenity | grep -A3 ^extra

# or

pacman -Sl extra | grep zenity

as possible workarounds. (the [extra] repo and zenity package are just examples).

Last edited by brisbin33 (2009-08-12 18:03:50)

Offline

#3 2009-08-12 18:00:50

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 415

Re: Search repo with pacman

Because I want to install some package, but I don`t now exact name of that package so I search with pacman and see the name! wink Thanks for help! wink


I do not speak English, but I understand...

Offline

#4 2009-08-15 00:51:07

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Search repo with pacman

Yeah, that's the way now, but the developers will implement the regex searching sometimes, because it's reported more times on bugs.archlinux.org.

Offline

Board footer

Powered by FluxBB