[aur-general] AUR/[extra]/[community] duplicates

member kittykatt kittykatt at archlinux.us
Thu Sep 16 20:47:54 EDT 2010


Duh! I knew that. Thanks.

Right now, the only two packages it outputs are:

apache
dejagnu

On Thu, Sep 16, 2010 at 7:08 PM, Lukas Fleischer
<archlinux at cryptocrack.de>wrote:

> On Thu, Sep 16, 2010 at 07:00:12PM -0500, member kittykatt wrote:
> > Remember that this will fail to find real duplicates if you're using
> testing
> > and community-testing. What I did was make a new config with all custom
> > servers, testing, and community-testing commented out and just supplied
> the
> > pacman command in the given syntax (`pacman -Slq | cat - aurpkglist.txt |
> > cut -d' ' -f1 | sort | uniq -d`) with the new configuration file via
> > --config, resulting in a new syntax:
> >
> > `pacman -Slq --config /path/to/commented/config | cat - aurpkglist.txt |
> cut
> > -d' ' -f1 | sort | uniq -d`
> >
> > This gave me more reliable results.
>
> Of course, this will also find "duplicates" inside the repos you use.
> Btw, you could also just use:
>
> `pacman -Slq core extra community | cat - aurpkglist.txt | cut -d' ' -f1
> | sort | uniq -d`
>
> Might be easier than creating a separate pacman(8) config.
>


More information about the aur-general mailing list