You are not logged in.
For me all the checksum tests fail as well when building in a chroot, with both aur sync -c and extra-x86_64-build.
With a PKGBUILD of this complexity it's hard to tell what's going on. Maybe the maintainer can help, especially since it fails with devtools alone as well.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
The PKGBUILD was updated now, the checksums should fit again.
Offline
How do you reliably rebuild a python package?
I noticed that a script of mine using getmail6 failed after my last system upgrade, presumably due to a python upgrade from 3.11 to 3.12.
Previously with yay, I would invoke 'yay -S --rebuildall --noconfirm $(yay -Qqo /usr/lib/python<previous-version>/)', which would rebuild affected packages using the new python version.
For aurutils, I tried this suggestion, but this did only re-install the package, without the additional 'setup.py' step which happens if you do a clean install of the package.
I got the package to work again by uninstalling, calling 'aur remove' (using the script from the man page) and reinstalling.
Is there a shorthand for this, or did I just do something wrong in the previous step?
Offline
There is script in examples "sync-rebuild" you can use (modify it if you need and put it as 'aur-sync-rebuild' in you PATH). you can pass the "pacman -Qqo ..." output to it.
Offline
There is script in examples "sync-rebuild" you can use (modify it if you need and put it as 'aur-sync-rebuild' in you PATH). you can pass the "pacman -Qqo ..." output to it.
Thanks, I always forget to look inside /usr/share/doc...
Offline
Also see the documentation in https://github.com/aurutils/aurutils/tr … nc-rebuild
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Starting today, I get the following error while running 'aur sync -u':
curl: (22) The requested URL returned error: 502
It was still fine yesterday. Did I miss anything?
Edit: Nevermind, it was a temporary server issue.
Last edited by OpusOne (2024-05-19 01:23:29)
Offline
Aurutils used to fetch updates to packages whenever doing the command
aur sync -u
but it stopped working for some reason. I know this because when doing the command
aur repo -d repo --list | aur vercmp
it shows there are newer versions available. Manually syncing each package performs the upgrade successfully. Not sure what I did, but I checked to make sure I was not excluding packages from upgrade. Any idea what I did?
Last edited by zpg443 (2024-06-22 22:40:04)
Offline
I don't have much information to go from here. Make sure you use 19.8 in any case, there's been some bugs in previous releases.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I've been using aurutils for several years without issue, however, recently I've encountered some trouble to install packages. When I install a package from the AUR, neofetch for example, by running:
aur sync -c neofetch
the package files are retrieved successfully. Immediately after the package begins to install I receive this error:
==> ERROR: chroot '/var/lib/aurbuild/x86_64/root' is not at version v6. Please rebuild.
I tried running
aur chroot -U
and received the same error message. I tried searching google, the wiki, and the forums without much luck. I can't figure out what changed or how to fix this, any thoughts / recommendations would be much appreciated!
"The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence."
- Charles Bukowski
Offline
Remove '/var/lib/aurbuild/x86_64/root' and recreate it with 'aur chroot --create`
Offline
Thanks so much for your help, that worked! Unfortunately, now I have another problem. Using my same example to install neofetch, I'm returning another error:
error: config file /etc/pacman.d/aurpkgs could not be read: No such file or directory
I don't understand this error because the file /etc/pacman.d/aurpkgs absolutely is there, picture below. I tried changing the file permissions from root to my user and that didn't work so I changed it back to root. Any additional thoughts would certainly be appreciated.
.
"The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence."
- Charles Bukowski
Offline
hmm... maybe the chroot not include the file? it special for your config. (as it is not not pacman.conf or mirrorlist)
Offline
Once again, you've been an incredible help!! Your suggestion was spot-on, you were exactly right. I copied the file to chroot and now everything works perfectly. Thanks again astralc, sincerely. I really appreciate your help!
"The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence."
- Charles Bukowski
Offline