You are not logged in.

#526 2024-04-16 18:47:52

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: aurutils - helper tools for the aur

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

#527 2024-04-17 08:22:00

bjo
Member
Registered: 2011-09-10
Posts: 94

Re: aurutils - helper tools for the aur

The PKGBUILD was updated now, the checksums should fit again.

Offline

#528 2024-05-08 15:15:54

mbw
Member
Registered: 2020-01-04
Posts: 38

Re: aurutils - helper tools for the aur

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

#529 2024-05-09 07:48:35

astralc
Member
Registered: 2022-09-17
Posts: 106

Re: aurutils - helper tools for the aur

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

#530 2024-05-09 09:52:22

mbw
Member
Registered: 2020-01-04
Posts: 38

Re: aurutils - helper tools for the aur

astralc wrote:

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

#531 2024-05-10 11:34:48

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: aurutils - helper tools for the aur


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#532 2024-05-18 22:51:49

OpusOne
Member
Registered: 2023-05-31
Posts: 168

Re: aurutils - helper tools for the aur

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

#533 2024-06-22 22:39:38

zpg443
Member
Registered: 2016-12-03
Posts: 300

Re: aurutils - helper tools for the aur

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

#534 2024-06-26 12:36:03

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: aurutils - helper tools for the aur

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

#535 2025-07-08 04:36:57

bgdawes
Member
Registered: 2017-02-01
Posts: 13

Re: aurutils - helper tools for the aur

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

#536 2025-07-08 07:57:39

astralc
Member
Registered: 2022-09-17
Posts: 106

Re: aurutils - helper tools for the aur

Remove '/var/lib/aurbuild/x86_64/root' and recreate it with 'aur chroot --create`

Offline

#537 2025-07-09 02:33:38

bgdawes
Member
Registered: 2017-02-01
Posts: 13

Re: aurutils - helper tools for the aur

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.

aurpkgs.


"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

#538 2025-07-09 09:00:40

astralc
Member
Registered: 2022-09-17
Posts: 106

Re: aurutils - helper tools for the aur

hmm... maybe the chroot not include the file? it special for your config. (as it is not not pacman.conf or mirrorlist)

Offline

#539 2025-07-10 02:38:30

bgdawes
Member
Registered: 2017-02-01
Posts: 13

Re: aurutils - helper tools for the aur

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

Board footer

Powered by FluxBB