Open RubenKelevra opened 4 months ago
The current workaround for me is, to run paru -Ld ladybird-git
and then recompile the package, which is kinda frustrating.
@Morganamilo is this software still supported?
I'm catching back up on issues.
This is a weird one. I don't think it's anything to do with removing old packages. The Removing old package file
comes from repo-add
and should work just fine. What's even weirder is paru hasn't had any significant amount of code in main.rs for a long time so the error message makes no sense.
After adding a package to a repo paru then refreshes the repo. Paru needs to be root to do this so it execs itself as root with sudo paru -Ly
. My guess is you have an older version of paru somewhere in your path that doesn't get picked normally but under sudo it does.
Though even then I'm not sure why the final error complains about the repo add call. Maybe there's also something off with the error printing there making the perfect storm.
Running this again with RUST_BACKTRACE=1 PARU_DEBUG=1
will give more information on what's happening.
Actually paru uses current_exe()
for this so path shouldn't come into it. So unsure what it could be without debug logs.
Affected Version
paru v2.0.3 - libalpm v14.0.0
Description
Somehow paru thinks pretty often on my system, that certain older versions should be in the local aur repo, but aren't.
Instead of ignoring this fact, it aborts the installation of the newly compiled package, as it stumbles over the missing file of the older version.
I think it should just silently ignore this and add the new version to the repo.
Output
Config files