Hi, again. Fedora was working fine, but now I have to switch to Ubuntu.
OK, so I’m using Ubuntu 24.04 LTS. I installed the Guix package manager with the install script from the manual: https://guix.gnu.org/install.sh
I was able to do a guix pull to update my user’s packages. I also was able to run sudo guix pull to update the root user’s packages.
I was even able to do guix shell htop and that seemed to be working…
However, now I tried doing a guix home reconfigure and here’s where I’m running into trouble.
The command guix home fails. Then I checked the log and found this interesting bit.
$ zcat /var/log/...guix-1.4.0-41.826e305
+ guix build guile-bootstrap
accepted connection from pid 19192, user nixbld
substitute: guix substitute: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable
substitute: guix substitute: warning: authentication and authorization of substitutes disabled!
The following derivation will be built:
/tmp/guix-tests/store/vk5c5brcjy2nz0w72zd41zv31i3vsrkq-guile-bootstrap-2.0.drv
substitute: guix substitute: warning: authentication and authorization of substitutes disabled!
killing process 19223
guix build: error: while setting up the child process: in phase initLoopback: cannot set loopback interface flags: Operation not permitted
+ rm -r t-guix-graph-19031
FAIL tests/guix-graph.sh (exit status: 1)
SKIP: tests/guix-describe
My home.scm just has (home-environment), empty.
My gut is telling me this has to do with AppArmor, but I’m not sure… but I remember where was some extra config to do with Fedora, so maybe?
Although, this is a very heavy-handed solution… I guess I need to write some sort of AppArmor profile for guix and/or guix-daemon, so I don’t have to disable AppArmor system-wide?