You are not logged in.

#1 2016-10-15 00:02:31

renanmarcs
Member
Registered: 2016-06-16
Posts: 9

[SOLVED] How to use yaourt in chroot environment?

Hello guys! Recently I was studying about ShellScript and trying to make an "custom script" for personal use to install Arch without typing so much. And I was trying to use "Yaourt" at arch-chroot, but without success. This is the problem: we can't run yaourt with root privileges... And the chroot is logged as root.

How to run yaourt in chroot without rebooting the system or stoping the script? Is there any way to login as normal user or "cheat the system" to install packages from yaourt in this environment?

I know that I can compile the software manually... But it's a bit complicate because had several packages.

Last edited by renanmarcs (2016-10-15 01:16:29)

Offline

#2 2016-10-15 00:08:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,520
Website

Re: [SOLVED] How to use yaourt in chroot environment?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2016-10-15 00:47:55

renanmarcs
Member
Registered: 2016-06-16
Posts: 9

Re: [SOLVED] How to use yaourt in chroot environment?

Thanks! Worked perfectly smile

Offline

Board footer

Powered by FluxBB