alexheretic / aurto

Arch Linux AUR tool for managing an auto-updating local 'aurto' package repository
MIT License
134 stars 9 forks source link

Aurto fails whenever adding a package #61

Closed rkunschke closed 3 years ago

rkunschke commented 3 years ago

Aurto fails while trying to start the build. Re-initializing doesn't helped.

~ aurto add aurto aurto: Checking maintainer trust... ✓ aurto: Running: aur sync --no-view --no-confirm --chroot --database=aurto --makepkg-conf=/etc/aurto/makepkg-chroot.conf --pacman-conf=/etc/aurto/pacman-chroot.conf aurto ERROR: '/var/lib/aurbuild/x86_64/root' does not appear to be an Arch chroot. bsdtar: Failed to set default locale ==> Using [aurto] repository -> aurto: (none) -> 0.10.6-3 -> aurutils: (none) -> 3.1.2-2 error: --local, --sync, and --cache cannot be used as filters ==> Retrieving package files Cloning into 'aurutils'... Cloning into 'aurto'... Running aur chroot --create --makepkg-conf /etc/aurto/makepkg-chroot.conf --pacman-conf /etc/aurto/pacman-chroot.conf Running aur chroot --update --makepkg-conf /etc/aurto/makepkg-chroot.conf --pacman-conf /etc/aurto/pacman-chroot.conf ==> ERROR: '/var/lib/aurbuild/x86_64/root' does not appear to be an Arch chroot. aur sync --no-view --no-confirm --chroot --database=aurto --makepkg-conf=/etc/aurto/makepkg-chroot.conf --pacman-conf=/etc/aurto/pacman-chroot.conf aurto failed with exit code 255 ✗

alexheretic commented 3 years ago

Looks like an issue with the aurutils chroot setup. Try running directly:

aur sync --no-view --no-confirm --chroot --database=aurto --makepkg-conf=/etc/aurto/makepkg-chroot.conf --pacman-conf=/etc/aurto/ pacman-chroot.conf

Maybe report upstream (aurutils) the output to get the bottom of why is failing.

On Thu, 1 Jul 2021, 12:17 reinhard kunschke, @.***> wrote:

Aurto fails while trying to start the build. Re-initializing doesn't helped. ~ aurto add aurto aurto: Checking maintainer trust... ✓ aurto: Running: aur sync --no-view --no-confirm --chroot --database=aurto --makepkg-conf=/etc/aurto/makepkg-chroot.conf --pacman-conf=/etc/aurto/pacman-chroot.conf aurto ERROR: '/var/lib/aurbuild/x86_64/root' does not appear to be an Arch chroot. bsdtar: Failed to set default locale ==> Using [aurto] repository -> aurto: (none) -> 0.10.6-3 -> aurutils: (none) -> 3.1.2-2 error: --local, --sync, and --cache cannot be used as filters ==> Retrieving package files Cloning into 'aurutils'... Cloning into 'aurto'... Running aur chroot --create --makepkg-conf /etc/aurto/makepkg-chroot.conf --pacman-conf /etc/aurto/pacman-chroot.conf Running aur chroot --update --makepkg-conf /etc/aurto/makepkg-chroot.conf --pacman-conf /etc/aurto/pacman-chroot.conf ==> ERROR: '/var/lib/aurbuild/x86_64/root' does not appear to be an Arch chroot.aur sync --no-view --no-confirm --chroot --database=aurto --makepkg-conf=/etc/aurto/makepkg-chroot.conf --pacman-conf=/etc/aurto/pacman-chroot.conf aurtofailed with exit code 255 ✗

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alexheretic/aurto/issues/61, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARZHVY7IS6ZZZT3KQM4VYDTVRFFFANCNFSM47UJRE6A .

rkunschke commented 3 years ago

The problem was related to my machines settings and package versions i think. Sorry for that.

alexheretic commented 3 years ago

Glad you sorted it 👍

On Thu, 1 Jul 2021, 20:30 reinhard kunschke, @.***> wrote:

The problem was related to my machines settings and package versions i think. Sorry for that.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alexheretic/aurto/issues/61#issuecomment-872497223, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARZHV6KIDOBNGVQNVGUFQLTVS65TANCNFSM47UJRE6A .

strifel commented 4 months ago

I had the same issue. If someone lands on this issue in the future: It turns out I had tried to run it in an unprivileged container.