tech-pkg archive

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

make update fails in pkg_install

I don't think the "update:" target in 
pkgsrc/pkgtools/pkg_install/Makefile is even used.

Updated pkgsrc today (HEAD). Tried to install some other software and it 
started building pkg_install.

It failed.

pkg_delete: The following packages are marked as not for deletion:
=> Dropping ``root'' privileges.
/usr/bin/make install
===> Installing for pkg_install-20090610
=> Becoming ``root'' to make su-install-all (/usr/pkg/bin/sudo)
ERROR: pkg_install-20090518 is already installed - perhaps an older 
ERROR: If so, you may use either of:
ERROR:     - "pkg_delete pkg_install-20090518" and "/usr/bin/make 
ERROR:       to upgrade properly
ERROR:     - "/usr/bin/make update" to rebuild the package and all
ERROR:       of its dependencies
ERROR:     - "/usr/bin/make replace" to replace only the package without
ERROR:       re-linking dependencies, risking various problems.
*** Error code 1

So I cd'd there and did a "make update". And that failed the same way.
Now I did "make replace" and that got it replace. But that required that I 
have pkg_tarup already installed.

Now I have:

$ /usr/sbin/pkg_info -V     
$ /usr/pkg/sbin/pkg_info -V 

Default paths are:

$ grep -i PATH /etc/skel/.*
/etc/skel/.cshrc:set path = (~/bin /bin /sbin 
/usr/{bin,sbin,X11R7/bin,X11R6/bin,pkg/{,s}bin,games} \
/etc/skel/.profile:export PATH

I don't want an old copy of pkg_add. Is that okay?

I propose we get rid of pkg_install tools from NetBSD or we have an option 
for pkgsrc pkg_install to replace base.

Home | Main Index | Thread Index | Old Index