pkgsrc-Users archive

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

Re: pkgsrc, Linux, unprivileged installation

On Tue, 27 Jun 2023 at 16:59, Thomas Klausner <> wrote:
> On Tue, Jun 27, 2023 at 03:33:13PM +0100, Ottavio Caruso wrote:
> > My Debian Bullseye installation has gone into "oldstable" mode and I
> > am not happy with the way Debian is going forward (this has been a
> > common moan for most of us Debianistas, at the end we keep on
> > upgrading...)
> >
> > I had mixed fortunes in the past using pkgsrc as an additional source on Debian.
> >
> > My question is: if I perform an unprivileged install and, say, a
> > package has to perform an installation on directories that require
> > root (for example /etc), is there a mechanism in place that prevents
> > the package from being installed and/or complains loudly "DO NOT DO
> > THAT"!
> >
> > I mean before the "install" phase.
> The PKG_SYSCONFDIR variable points to the 'etc' directory, and this is
> usually ${PREFIX}/etc, which needs to be writable anyway.
>  Thomas

Usually but not always. I reported in the past that this was /etc in
some cases, i.e. rc.subr. I don't know if this has been fixed in the

Ottavio Caruso

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Home | Main Index | Thread Index | Old Index