[aur-general] AUR/[extra]/[community] duplicates
Lukas Fleischer
archlinux at cryptocrack.de
Thu Sep 16 20:08:11 EDT 2010
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