Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rua upgrading packages as dependency #169

Open
ghost opened this issue Jun 8, 2021 · 2 comments · May be fixed by #208
Open

Rua upgrading packages as dependency #169

ghost opened this issue Jun 8, 2021 · 2 comments · May be fixed by #208

Comments

@ghost
Copy link

ghost commented Jun 8, 2021

First of all, I'm very new to open source contributing, so it's possible that I make a stupid mistake somewhere. Please bear with me.

Basically, the problem I encounter is that when upgrading or reinstalling, rua seems to mark packages as dependency when it shouldn't. I found this out because Pamac lists several of my AUR packages as orphans.

For example, Zotero. Pamac lists it as an orphan, and when I pacman -Qi zotero | grep Reason, I indeed get Install Reason : Installed as a dependency for another package. But I never marked it as such myself.

When I update or reinstall a package through rua, it does a simple pacman -U [package.tar.zst], so it doesn't explicitly tell Pacman to make it a dependency (as was the case in issue #2). And yet it somehow ends up as a dependency. When I repeat the same pacman -U command manually and add --asexplicit, the package is marked as explicitly installed again. My naive solution therefore would be to add -asexplicit to the Pacman commands when reinstalling or upgrading.

When I install a new package with rua install [package] it is marked as explicitly installed (as it should be), but as soon as I update or reinstall, the package becomes marked as a dependency.

I don't think Pamac can be interfering here, because its AUR option is disabled and I only use it to view installed packages.

@sashaaaaaaaaa
Copy link

sashaaaaaaaaa commented Aug 20, 2021

for me it does explicitly tell it like pacman -U --asdeps when it's not a dependency

@McConha0
Copy link

#65
Already know bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants