-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
"Failed to pull latest commits" on multiple packages #959
Comments
Thank you for sticking with Aura :)
Aura 4 now does a
pub fn pull(dir: &Path) -> Result<(), Error> {
debug!("Pulling {}", dir.display());
Command::new("git")
.arg("pull")
.arg("--quiet")
.arg("--ff-only")
.stdout(Stdio::null())
.stderr(Stdio::null())
.current_dir(dir)
.status()
.map_err(Error::Io)?
.success()
.then_some(())
.ok_or_else(|| Error::Pull(dir.to_path_buf()))
} Two things to try:
It may have been that somehow the initial |
Ok so, here's the debug output:
This was after deleting the entire |
There's currently no retry mechanism, but it seems like there certainly should be. |
Ok so after cloning the repo and trying to fumble my way through Rust debugging for awhile I finally got the idea to try to clone a repo specifically from the AUR using git by itself, and it turned out that it was having an issue with a ~/.netrc file, deleting that made the problem go away. I did have to delete the ~/.cache/aura/packages directory again because it thought it had cloned a file but no big deal. Someday I will be good at computers, man, maybe even good at Rust |
Thanks for the update, I'm glad you figured that out. In case this happens to someone else in the future, can you recall what specifically the problem with the |
I am really sorry if this is a duplicate, I'm not sure if my setup is configured incorrectly.
Every time I try to upgrade a package I immediately get "Failed to pull latest commits - you may be building an old version!" and sure enough it builds the version that currently exists on my system. I feel like this is something I'm just overlooking, was a longtime Aura 3 user and have been using v4 since it hit stable a few months ago. I have run
aura check
and nothing in there seems to be anything that would affect this. It happens with both git and non-git AUR packages.When I run
aura -Au
I get "a git clone failed" and when I just runaura -Ay
I get "a git pull failed" for every package. I don't have any other problems with git on my system.The text was updated successfully, but these errors were encountered: