You are not logged in.

#1 2013-01-24 22:15:53

SkyTod
Member
Registered: 2009-09-01
Posts: 214

[Solved]How to find out which repository certain package belongs to

I want to know what the testing packages installed on my machine. Have no idea how to find it out. Any suggestions?

Last edited by SkyTod (2013-01-25 06:56:33)

Offline

#2 2013-01-24 22:42:49

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 438

Re: [Solved]How to find out which repository certain package belongs to

The easiest way is "paclist" from pacman-contrib.


dots (or just the awesomewm config)

$ whatis this?
this?: nothing appropriate.

Offline

#3 2013-01-24 22:45:30

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,644
Website

Re: [Solved]How to find out which repository certain package belongs to

#!/bin/bash
comm -12 <(pacman -Qq | sort) <(pacman -Sql <repo> | sort)

Replace "<repo>" with e.g. "testing" to see which packages from [testing] you have installed. Note that you must have the repo enabled in pacman.conf for this to work.

Offline

#4 2013-01-25 06:56:12

SkyTod
Member
Registered: 2009-09-01
Posts: 214

Re: [Solved]How to find out which repository certain package belongs to

Xyne wrote:
#!/bin/bash
comm -12 <(pacman -Qq | sort) <(pacman -Sql <repo> | sort)

Replace "<repo>" with e.g. "testing" to see which packages from [testing] you have installed. Note that you must have the repo enabled in pacman.conf for this to work.

Wow, thank you much!

Offline

Board footer

Powered by FluxBB