aura icon indicating copy to clipboard operation
aura copied to clipboard

Packages marked as dependencies when installed with others

Open dpatti opened this issue 9 months ago • 1 comments

This might be a duplicate of #953, but I'm not sure if this is a different repro, so I thought to open a new issue.

In this repro I install batify-git (which has one AUR dependency, xpub) along with sysz (which has no AUR dependencies) in one command. Aura builds xpub and sysz and installs both in a single pacman invocation, where they are all marked as dependencies. If instead installed on its own, sysz is marked as explicitly installed.

$ aura --version
aura 4.0.8

$ sudo pacman -R batify-git sysz xpub
...

$ aura -A --unsuppress batify-git sysz
...

$ pacman -Qi sysz | grep Reason
Install Reason  : Installed as a dependency for another package

Here's what was run according to journalctl:

/usr/bin/pacman -R batify-git sysz xpub
/usr/bin/pacman -S --asdeps --noconfirm help2man perl-locale-gettext
/usr/bin/pacman -U --asdeps /home/doug/.cache/aura/cache/xpub-0.6.1-1-any.pkg.tar.zst /home/doug/.cache/aura/cache/sysz-1.4.3-1-any.pkg.tar.zst
/usr/bin/pacman -U /home/doug/.cache/aura/cache/batify-git-1.0.r19.g9b9f649-1-any.pkg.tar.zst

dpatti avatar Mar 17 '25 00:03 dpatti

Thanks for reporting, I will look into this.

fosskers avatar Mar 17 '25 10:03 fosskers