GithubHelp home page GithubHelp logo

Comments (5)

iMilnb avatar iMilnb commented on July 2, 2024

I suspect this is linked to the bug Greg pointed out regarding bad behaviour when using both pkg_install and pkgin. I commited a fix last night for that one, could you give it a try?

Thanks

from pkgin.

0-wiz-0 avatar 0-wiz-0 commented on July 2, 2024

I tried reproducing, but fail earlier:

# make install
sed: /home/imil/netbsd-cvs/pkgsrc/wip/pkgin/Makefile: No such file or directory
make: "/archive/foreign/pkgin/Makefile" line 113: warning: "sed -En 's/GHCOMMIT=[^0-9a-z]+([0-9a-z]+)/\1/p'                      /home/imil/netbsd-cvs/pkgsrc/wip/pkgin/Makefile" returned non-zero status
/usr/bin/install -c  -d -o root -g wheel -m 755 /usr/local/bin
/usr/bin/install -c  -d -o root -g wheel -m 755                  /usr/local/etc/pkgin
#   install  /usr/local/bin/pkgin
/usr/bin/install -c  -c  -r -o root -g wheel -m 555   pkgin /usr/local/bin/pkgin
#   install  /usr/share/man/man1/pkgin.1
/usr/bin/install -c  -c  -r -o root -g wheel -m 444  pkgin.1 /usr/share/man/man1/pkgin.1
#   install  /usr/share/man/html1/pkgin.html
/usr/bin/install -c  -c  -r -o root -g wheel -m 444  pkgin.html1 /usr/share/man/html1/pkgin.html
test -f /usr/local/etc/pkgin/repositories.conf ||        /usr/bin/install -c  -c  -r -o root -g wheel -m 644     repositories.conf                               /usr/local/etc/pkgin/repositories.conf
# pkg_delete -r tex-jadetex
mktexlsr: Updating /var/lib/texmf/ls-R... 
mktexlsr: Done.
mktexlsr: Updating /usr/pkg/share/texmf-dist/ls-R... 
mktexlsr: Done.
# /usr/local/bin/pkgin im /home/wiz//Projects/NetBSD/packages/wiz/yt.base                                                                                                           
pkgin: pkg_install package is not installed.
# pkg_info -e pkg_install
pkg_install-20130902nb1

from pkgin.

iMilnb avatar iMilnb commented on July 2, 2024

This occurs because pkgin can't find pkg_{add|delete|info} in /usr/local which is pkgin's default LOCALBASE when not installed from pkgsrc. You can modify:

PKGTOOLS?=      ${LOCALBASE}/sbin

In pkgin's Makefile so it points to pkg_install location.
Additionnaly, if that makes sense, I can add a --pkginstall-prefix modifier to the configure script.

from pkgin.

0-wiz-0 avatar 0-wiz-0 commented on July 2, 2024

Thanks for the pointer. I've manually changed PKGTOOLS in Makefile. Since there's a configure script anyway, perhaps it can guess a few locations?

As to the problem reported here: I couldn't reproduce the issue any longer. I hope it's gone :)

Thanks!

from pkgin.

iMilnb avatar iMilnb commented on July 2, 2024

FWIW I've just added a --with-pkginstall parameter to the configure script :)

from pkgin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.