pkgsrc-Users archive

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

Re: [HEADS UP] pkgsrc default database directory changed





On 02/12/2020 23:41, Thomas Klausner wrote:
On Wed, Dec 02, 2020 at 03:07:55PM -0800, Paul Goyette wrote:
This is just getting too complicated.  Too many manual steps, and too
many changes to too many long-established procedures.

Yeah, I'm sorry that you spent too much time on this.

Actually, the easiest way is to just:

cd /usr/pkgsrc/pkgtools/pkg_install
make USE_CWRAPPERS=no install
install -c /usr/pkg/sbin/pkg_* /usr/sbin

Err. This works great until the next system update. At which point the system pkg_* binaries will be re-instated and break everything. Unless you are going to ensure that /usr/sbin/pkg_* are going to be updated not just in current but also in the 9, 8 and 7 release branches which are all still supported.

Any solution that overwrites core binaries with a binary from pkgsrc won't survive an OS upgrade.

As others have said this is starting to look like the consequences of the change have not been thought through.

Mike


Home | Main Index | Thread Index | Old Index