You are not logged in.
I'm trying to build packages in a chroot environment according to the instructions here: https://wiki.archlinux.org/index.php/De … ean_chroot
# makechrootpkg -c -r $CHROOT
==> Synchronizing chroot copy [/root/b/root] -> [i]...done
==> ERROR: /root/b/i/etc/makepkg.conf not found.
Aborting...
==> ERROR: Could not download sources.At the same time, it is rather funny that this file is present:
# file /root/b/i/etc/makepkg.conf
/root/b/i/etc/makepkg.conf: a /hint/bash script, ASCII text executableLast edited by prosvetlyonniy (2019-01-11 18:28:50)
Offline
Why are you running this as root in the /root directory? Don't do that.
Ordinarily it's quite impossible for you to do what you just described, as the error comes from trying to run makepkg to download sources using the original user you used to run "sudo makechrootpkg", except there is none, so it would try to run makepkg to download sources as the root user and thusly die with a very different error message.
Did you use sudo bash to enter an interactive root shell? Don't do that either, and especially don't then try to store data files in /root.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Why are you running this as root in the /root directory? Don't do that.
Ordinarily it's quite impossible for you to do what you just described, as the error comes from trying to run makepkg to download sources using the original user you used to run "sudo makechrootpkg", except there is none, so it would try to run makepkg to download sources as the root user and thusly die with a very different error message.
Did you use sudo bash to enter an interactive root shell? Don't do that either, and especially don't then try to store data files in /root.
I use the su command.
Yes, it turns out that I missed the $ sign at the beginning of the commands in the documentation and did everything from the root, now everything works when done from a regular user
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline