pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Running bootstrap as standard user but without --unprivileged” flag?



On 1 December 2017 at 15:45, Greg Troxel <gdt%lexort.com@localhost> wrote:
>
> Ottavio Caruso <ottavio2006-degen%yahoo.com@localhost> writes:
>
>> I did a bootstrap using sudo. I couldn't do it owning pkgsrc as I had
>> to write on /usr. I ended up with ~/home/pkgsrc owned by root. I then
>
> This does not make sense to me.   Please explain much more precisely
> what you are doing.
>
[...]
>
> So you say "couldn't do it owning pkgsrc" and I do not follow that.  Why
> "couldn't"?  What command did you run, and which error did you get?

What I did was: I run ./bootstrap as non root and got the massage:
"You must be either root to install bootstrap-pkgsrc or use the
--unprivileged option."


>You do need to either
>   do bootstrap as root so it can write to $prefix (e.g. if /usr/pkg), or
>
>   do bootstrap --unprivileged, and give it a prefix that you can write to

Roger that!


-- 
73 de ottavio M6OTV


Home | Main Index | Thread Index | Old Index