I wrote a similar script, which you can find on the forums, which tells
you which pkgs you have installed from which repo. It needs some
tidying tho :)
Aaron Griffin wrote:
Hmm I'd vote for it in pacman... sounds worthwhile... until then:
#! /bin/bash
installed=`pacman -Q | tr ' ' -`
repos=`pacman -Sl | cut -d' ' -f2,3 | tr ' ' -`
for pkg in $installed
do
found=`echo $repos | tr ' ' "\n" | grep $pkg`
if [ "$found" != "$pkg" ]; then
echo $pkg
fi
done
On 10/7/05, Mircea Bardac <[EMAIL PROTECTED]> wrote:
(My quest didn't reveal anything similar to what I wanted)
Does pacman have some sort of listing feature that allows filtering packages
by repositories?
Specifically, I'm interested in a way of listing packages [installed/built
manually] which are NOT in the repositories. What do people think about such
an option (most likely an extension for -Q)?
Mircea
/IceRAM
--
http://mircea.bardac.net
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch