Comments (5)
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.
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.
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.
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.
FWIW I've just added a --with-pkginstall
parameter to the configure
script :)
from pkgin.
Related Issues (20)
- "upgrade" does not warn about missing packages in repo HOT 3
- partial upgrades are confusing, and man page does not explain what upgrade means HOT 7
- verbose mode is completely wrong
- Category parsing needs to be improved
- Multiple users running install at the same time corrupts the pkgin database
- Incorrect version comparison logic HOT 2
- pkgin struggling with nodejs's multiple version HOT 5
- pkgin should allow user prioritizing of pkg_summary archive formats HOT 2
- deinstall does not order packages correctly HOT 8
- inconsistency in output HOT 7
- pkgin leaks memory quadratically HOT 1
- Upgrade will install unnecessary packages HOT 7
- ohloh thin badge does not load on pkgin website HOT 1
- 'pkgin rm *' behaves unexpectedly HOT 6
- Download packages in parallel
- Dependent packages should only be upgraded once HOT 2
- [Feature Request] Add retry when download fails during install
- man page nits HOT 2
- configure.ac wrongly checks for header files in build environment
- Flavors: How to preserve specific optionality in pkgsrc builds? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkgin.