-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Installing via multiple pikaur sessions reverts installed packages on error #528
Comments
Thanks for reporting! as you can see from the diff - it already had |
So I've tried the latest git package: Then after installing several packages without issues, I installed r-stringr from AUR. It took a while, then pikaur said: Finished making: r-stringr 1.4.0-1 (thu 19 nov 2020, 09:50:27) |
It just happened again with a different package :-/ |
thanks a lot for testing! i've tried to extend the lock to be put earlier, i hope it finally will fix it |
Nothing unsual to report at the moment, seems to work. |
I'm rather new to Arch Linux but I tried |
@konomikitten unfortunately it's not enough, i need full logs, preferable with btw, under which conditions have you reproduced that issue, have you also been running two instances of pikaur at the same time, as original issue reporter? |
btw, to workaround this issue you can press "Y" when it prints this error, and after pikaur finished remove unneedeed deps manually, with |
@actionless unfortunately it seems the git release has this issue too if I run the command once then get the error and press no then I run the command again the error does not seem to appear. I've attached detailed logs of both pikaur and pikaur-git. Let know if you need additional information. |
@konomikitten i've added additional debug logging to |
@actionless I ran the command twice this time to show how it fails the first time and works the second time, I used makepkg -si and got the source directly from your GitHub. |
@konomikitten apparently the issue you discovered is not related to the original one please try if latest |
@actionless oh sorry for posting in the wrong thread then! When you say |
it's correct thread since the error message is the same, just the rootcause of the issue is different |
@actionless the reason I ask is because https://aur.archlinux.org/pikaur-git.git doesn't seem up to date:
|
it shouldn't, that's the way how |
@actionless ah okay new to arch and all I think I get it now, attached a new log. |
so it works for you now? |
I believe so I don't see any errors, thanks so much for your time. |
sure, thanks for reporting! |
Description:
I usually tend to install packages using multiple terminal tabs when installation takes time (e.g. compiling from AUR). Lately I also noticed packages I was sure I had installed weren't there...
Today, I installed Arch on a new notebook and used pikaur to install openmsx (about 15 minutes compile time), meanwhile I was using a different terminal tab to install many other packages.
At some point openmsx finished compiling but pikaur complained pacman was locked, so it asked me if I wanted to retry installing or abort. I choose retry, and to my horror it uninstalled about 140 packaged I had installed while it was working, and then it happily installed openmsx.
Is this a bug in pikaur or is it normal pacman behavior?
The text was updated successfully, but these errors were encountered: