-
Notifications
You must be signed in to change notification settings - Fork 11
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
Creating pkgfiledb symbolic link causes apacman to have exit status 1 #72
Comments
In the meantime, instead of deleting that DB, you should be able to But yeah I'll take a look at it later today. |
@jeroenrnl I cannot seem to reproduce this issue on a fresh install of ArchLinux. Can you provide more information? |
I probably should have added that this was on the first run, where apacman installs itself by running |
@jeroenrnl However, unless you add Additionally, to improve debugging, I've modified the exit codes to follow this (see
|
This line (660)
causes apacman to exit with status 1 - which causes my script to fail.
Initially it failed because
/var/cache/pkgfile
did not exist. I modified my script to create it - which made it run correctly with the first run, but then on the second run, it failed again, now because/var/cache/pkgfile/aur.files
already exists.The
2>/dev/null
made this very hard to troubleshoot.In all above cases the packages in question were installed without a problem - it just exited with status 1, in my opinion it should not exit with another status than 0 on success.
For now, my script deletes
/var/cache/pkgfile/aur.files
before running - which makes it work, but does defy the purpose of a cache 😄The text was updated successfully, but these errors were encountered: