pkgsrc-Users archive

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

Re: packages going to the wrong place?

 >>> I'm trying to reinstall all of my packages, but the installations
 >>> seems to be going to the wrong place.  Here's a typical line from
 >>> doing a 'make update' in pkgtools/pkg_install:
 >>>    /usr/bin/install -c -o root -g wheel pkg_info 
 >>> /usr/pkgsrc/pkgtools/pkg_install/work/.destdir/usr/pkg/sbin/pkg_info
 >> Recently DESTDIR support was enabled by default.
 >> This is why files are installed to .destdir directory.
 >> DESTDIR goal:
 >> First, binary package is created safely without changing your /.
 >> Second, package is installed using newly created binary.

> So I *must* put DESTDIR=/usr/pkg or some such in mk.conf?
No! Don't do this!

Was pkg_install actually reinstalled after "make update"?
Was binary for pk_ionstall created?
Do you set UPDATE_TARGET variable to "package" or whatever in mk-conf?

Best regards, Aleksey Cheusov.

Home | Main Index | Thread Index | Old Index