You are not logged in.

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

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

[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: 440

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

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

Offline

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

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
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.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

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

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

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