-
Notifications
You must be signed in to change notification settings - Fork 58
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
yay install fails #43
Comments
From the line that starts with ERROR, you shouldn't be running yay as root. Can you install other packages that way?
Jun 21, 2024 4:58:36 PM Feraidoon Mehri ***@***.***>:
…
I am using Arch under https://github.com/fsquillace/junest .
*❯ sudo-junest yay -S --noconfirm rm-improved
AUR Explicit (1): rm-improved-0.13.1-1
Sync Make Dependency (1): rust-1:1.79.0-1
:: PKGBUILD up to date, skipping download: rm-improved
1 rm-improved (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
1 rm-improved (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
-> error downloading sources: /home/guest/.cache/yay/rm-improved
context: exit status 10
:: (1/1) Parsing SRCINFO: rm-improved
resolving dependencies...
looking for conflicting packages...
Packages (2) llvm-libs-17.0.6-5 rust-1:1.79.0-1
Total Download Size: 90.80 MiB
Total Installed Size: 385.89 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
rust-1:1.79.0-1-x... 58.6 MiB 14.8 MiB/s 00:04 [##########################] 100%
llvm-libs-17.0.6-... 32.1 MiB 12.8 MiB/s 00:03 [##########################] 100%
Total (2/2) 90.8 MiB 13.7 MiB/s 00:07 [##########################] 100%
(2/2) checking keys in keyring [##########################] 100%
(2/2) checking package integrity [##########################] 100%
(2/2) loading package files [##########################] 100%
(2/2) checking for file conflicts [##########################] 100%
(2/2) checking available disk space [##########################] 100%
:: Processing package changes...
(1/2) installing llvm-libs [##########################] 100%
(2/2) installing rust [##########################] 100%
Optional dependencies for rust
gdb: rust-gdb script
lldb: rust-lldb script
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
-> error making: rm-improved-exit status 10
-> Failed to install the following packages. Manual intervention is required:
rm-improved - exit status 10
*
—
Reply to this email directly, view it on GitHub[#43], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ABDLDWG7H2H3BLCDBDT2MTDZIS42JAVCNFSM6AAAAABJW44LBGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DOMZWHA2TEMQ].
You are receiving this because you are subscribed to this thread.
[Tracking image][https://github.com/notifications/beacon/ABDLDWAQT6VP6PMYU6QLFN3ZIS42JA5CNFSM6AAAAABJW44LBGWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHI2GZNJI.gif]
|
Hi @nivekuil, I am also having yay install fail without running sudo:
Not sure if I am doing something wrong though :/ Thanks |
Any tips on troubleshooting this further? I am happy to, just not sure how to. Thanks |
Does it work when you build it directly?
cd /tmp/yay/rm-improved/src/rip-0.13.1
cargo run --release
That works for me and I'm not sure how makepkg is linking the build differently.
|
Hi @nivekuil, It works when I build rm-improved directly, or install via cargo. Just when using yay, it errors Cheers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Arch under https://github.com/fsquillace/junest .
The text was updated successfully, but these errors were encountered: