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

alpm error. Unable to install or build. #1285

Closed
Samohttnias opened this issue Dec 5, 2024 · 3 comments
Closed

alpm error. Unable to install or build. #1285

Samohttnias opened this issue Dec 5, 2024 · 3 comments

Comments

@Samohttnias
Copy link

Affected Version

paru -V
Current Version 2.0.4
I have removed the older version in an attempt to install other forks to no avail.

Description

Have you checked previous issues?
First off, I am running Arch Linux, KDE.
2.0.3 was running just fine and I had been putting off solving this problem in hopes it would be resolved on the back end, as I have seen that others are having this problem too.
However, paru has not been updating because of the Alpm error. I have updated pacman, I even reinstalled pacman from an external boot. I searched the web to no avail, I asked I.A. and the great oracles of circuitry sent me to wait on an update.
My most recent attempt at getting it updated ended my efforts: I uninstalled paru-bin after it wouldn't even respond and attempted to build it, which I think is how I originally installed it months ago. This time I got this error message.
If it's a problem on my end, please let me know, but as of now I can't run paru anymore, I can't install paru or paru-bin

Output

Include the FULL output of any relevant commands/configs
error: failed to run custom build command for alpm v4.0.1

Caused by:
process didn't exit successfully: /home/brent/git/paru/target/debug/build/alpm-a8ac1a3029c7c6ce/build-script-build (exit status: 101)
--- stderr
thread 'main' panicked at /home/brent/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alpm-4.0.1/build.rs:25:13:
this version of alpm.rs does not support libalpm v14.0.0 only v15.x.x is supported
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Don't cut parts of the input always include the FULL thing

paru.conf and pacman.conf are usually always relevant

***paru.conf

$PARU_CONF

/etc/paru.conf

~/.config/paru/paru.conf

See the paru.conf(5) manpage for options

GENERAL OPTIONS

[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
#AurOnly
#BottomUp
#RemoveMake
#SudoLoop
#UseAsk
#SaveChanges
#CombinedUpgrade
#CleanAfter
#UpgradeMenu
#NewsOnUpgrade

#LocalRepo
#Chroot
#Sign
#SignDb
#KeepRepoCache

Binary OPTIONS

#[bin]
#FileManager = vifm
#MFlags = --skippgpcheck
#Sudo = doas

@Squidroot2
Copy link

Seems like the workaround for now is to install from the master branch. Had the same issue but cargo install --git https://github.com/Morganamilo/paru worked for me.

@romanstingler
Copy link

@Samohttnias is this resolved for you ??

@Morganamilo
Copy link
Owner

install from the aur not cargo.

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

4 participants