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

Treats dev package as regular with '-Syuu'. #1232

Open
mhertz opened this issue Aug 10, 2024 · 1 comment
Open

Treats dev package as regular with '-Syuu'. #1232

mhertz opened this issue Aug 10, 2024 · 1 comment

Comments

@mhertz
Copy link

mhertz commented Aug 10, 2024

In one of my shell aliases for paru using double u's, I noticed keep getting dev package bluez-alsa-git reinstalled continually upon every run, and I see it even happens with --nodevel switch.

I narrowed it down to the double u's as said, and that the installed version is different irregardless of the cached pkgbuild has same pkgver as installed version(updated from previous pkgver() run) and I don't select cleanbuild.

So, with --nodevel switch(and said double u's), then is continually reinstalled as regular package. Without --nodevel(and double u's), then also reinstalled as regular package continually, until new commit, which then gets installed(correctly) as dev package(I tested with flipping char in devel.toml).

Latest paru/libalpm i.e. 2.0.3/14.0.0.

Many thanks in advance.

(Same issue for yay, reported here: Jguer/yay#2484)

Edit: I learned Paru uses .SRCINFO, which pkgver() doesn't update unfortunetly, hence above issues, partly, as still the issue left of double u's and --nodevel making it still down-grade devel packages, surely a bug atleast. For former(not using --nodevel), I'll add --needed, and just waste some slight extra time, plus get install/uninstall'ed make-deps more annoyingly). Thanks.

@Morganamilo
Copy link
Owner

It's a bit unfortunate the way it works. But it makes sense so I don't consider it a bug per say. Just something that coul dbe handled better.

I have to wonder why you use -uu with any regularity though. There's almost no reason to every use it.

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

No branches or pull requests

2 participants