So, I just installed gentoo on my systems and I managed to boot into a cli, with systemd.
But, now I have some problems installing packages.
It all began before finishing installation, in the part where I needed to configure GRUB, I tried to install it, but it failed with an error about the package pulseaudio, it failed to unpack it. It outputed many "permission denied" errors and "No such file or directory" . I bypassed this error by telling it to compile grub without pulseaudio (Maybe it wasn't a good idea). (I don't have the output of it here, but I have a similar output hereafter)
Now I tried to install GNOME and I got a very similar error with the package "keyutils".
Code: Select all
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
>>> Unpacking source...
>>> Unpacking keyutils-1.6.1.tar.gz to /var/tmp/portage/sys-apps/keyutils-1.6.1/work
tar: keyutils-1.6.1/.gitignore: Cannot open: Permission denied
tar: keyutils-1.6.1/LICENCE.GPL: Cannot open: Permission denied
tar: keyutils-1.6.1/LICENCE.LGPL: Cannot open: Permission denied
tar: keyutils-1.6.1/Makefile: Cannot open: Permission denied
tar: keyutils-1.6.1/README: Cannot open: Permission denied
tar: keyutils-1.6.1/SUBMITTING_PATCHES: Cannot open: Permission denied
tar: keyutils-1.6.1/dns.afsdb.c: Cannot open: Permission denied
tar: keyutils-1.6.1/key.dns.h: Cannot open: Permission denied
tar: keyutils-1.6.1/key.dns_resolver.c: Cannot open: Permission denied
tar: keyutils-1.6.1/keyctl.c: Cannot open: Permission denied
tar: keyutils-1.6.1/keyutils.c: Cannot open: Permission denied
tar: keyutils-1.6.1/keyutils.h: Cannot open: Permission denied
tar: keyutils-1.6.1/keyutils.spec: Cannot open: Permission denied
tar: keyutils-1.6.1/libkeyutils.pc.in: Cannot open: Permission denied
tar: keyutils-1.6.1/man: Cannot mkdir: Permission denied
tar: keyutils-1.6.1/man: Cannot mkdir: Permission denied
tar: keyutils-1.6.1/man/asymmetric-key.7: Cannot open: No such file or directory
tar: keyutils-1.6.1/man: Cannot mkdir: Permission denied
.
.
.
I tried to chown the directories there to be owned by portage, I even tried to manually extract the .tar.xz files there and then chowning it, but emerge will just delete them, and (fail to) extract them again. Couldn't find in the wiki/forums why this will happen. Anyone know how to fix it?
(Note: this doesn't happen with all packages, for now just with those two)
Thanks!




