tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [HEADS UP] pkgsrc default database directory changed
On Tue, Dec 08, 2020 at 10:20:18AM +0000, Mike Pumford wrote:
>
>
> On 07/12/2020 21:11, Thomas Klausner wrote:
> > On Mon, Dec 07, 2020 at 08:23:34PM +0100, Jonathan Schleifer wrote:
> > > > Am 07.12.2020 um 20:20 schrieb Thomas Klausner <wiz%NetBSD.org@localhost>:
> > >
> > > > Yes, we know.
> > > >
> > > > Please read
> > > >
> > > > http://pkgsrc.org/news/pkgdb-change/
> > >
> > > See my later mails - those are exactly the instructions that are wrong and don't work.
> >
> > Before the last edit they were:
> >
> > (cvs update)
> > cd /usr/pkgsrc/pkgtools/pkg_install
> > pkg_delete -ff pkg_install
> > make USE_CWRAPPERS=no install
> > cd /usr/pkg/sbin && install -c pkg_add pkg_admin pkg_create pkg_delete pkg_info /usr/sbin/
> >
> Really? So pkgsrc won't work unless you overwrite the SYSTEM provided
> pkgtools with the ones from pkgsrc! How is that acceptable?
It will work fine without this line, but if an admin has the path set
up so that /usr/sbin/ comes before /usr/pkg/sbin, then they will get
two independent pkgdb directories.
I want to avoid that, and this is the easiest solution.
Thomas
> Surely at the point in time that pkg_install is run the tools in
> /usr/pkg/sbin should get picked up and pkgsrc should think that all is good.
> If that's not the case then there is still more work to do in pkgsrc.
>
> Mike
Home |
Main Index |
Thread Index |
Old Index