Skip to main content.

2002-Apr-10

Just to make sure: pkgsrc target "bin-install" does install package from /usr/pkgsrc/packages/All if available.

Tried to installed balsa with

pkg_add -v ftp://smaug.fh-regensburg.de/pub/NetBSD/packages/i386/All/balsa
(See 21/Mar/2001). But it failed:
pkg_add: pkg `db3>=2.9.2' required, but `db3-2.9' found installed.
So I removed db3. And tried again. ** pkg_add should have feature to save the downloaded package so if a problem doesn't have to download again; then have an option to force use of local depository even if pkg-name has some remote or other path.

Then it failed, because wrong gdk-pixbuf-gnome was installed. So tried again this time with "-u" switch also. The -u didn't help: failed again because wrong glut installed.

By the way, pkg_add is inefficient -- it unpacks archive before it even checks for all dependencies.

Okay, I am going to use pkgsrc instead. So after removing partial distinfo/ balsa source tarball, I did a:

time make UPDATE_TARGET=bin-install update 2>&1 | tee LOG
(R. Hexel suggested this idea back on May 20, 2001.) It appeared to work: 187 minutes later it packaged up balsa-1.2.4nb1.tgz.