----------------------------------------

17 Apr 2025 18:29:12 David C Rankin <drankina...@gmail.com>:

Arch folks,

   My clean chroot will no longer update. Attempting update results in the error:

$ arch-nspawn $CHROOT/root pacman -Syu
==> ERROR: chroot '/home/david/arch/pkg/chroot/root' is not at version v6. Please rebuild.

   I've checked the various devtools man pages and --help and there is nothing about rebuilding, so does this mean I need to:

# rm -rf $CHROOT

and start over? Or, is there actually a way to "rebuild" the chroot without wiping it all out and starting over?


You can set the version manually, like

  $ echo v6 > /home/david/arch/pkg/chroot/root/.arch-chroot

and update permission of "$chroot/usr/share/polkit-1/rules.d" to 0755 before running update or arch-chroot.

-- shulhan

Reply via email to