pkgsrc-Users archive

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

Re: packages going to the wrong place?

On May 18, 2011, at 5:10 43PM, Aleksey Cheusov wrote:

>>>> 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?

Yes, if this is what you mean:
# ls -l /usr/pkgsrc/packages/All 
total 720
-rw-r--r--  1 root  smb  713102 May 18 17:03 pkg_install-20110215.tgz

> Do you set UPDATE_TARGET variable to "package" or whatever in mk-conf?

No.  I had had DEPENDS_TARGET set, but those are commented out now to
try to track down what's wrong.

                --Steve Bellovin,

Home | Main Index | Thread Index | Old Index