View Single Post
  #1   (View Single Post)  
Old 25th January 2009
nihonto nihonto is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 65
Default pkg_add - can't resolve <packagename>

Hi there,

after a shot journey into the world of NetBSD I switched back to OpenBSD (for several reasons).

But now, after I reinstalled OpenBSD 4.4 I'm into a strange problem. I have added a PKG_PATH to my .profile (and logged out and in):

Quote:
# $OpenBSD: dot.profile,v 1.4 2005/02/16 06:56:57 matthieu Exp $
#
# sh/ksh initialization

PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/
local/sbin:/usr/games:.
export PATH HOME TERM

export PS1='$PWD $ '

export PKG_PATH=ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/4.4/packages/i386/
But when I try to install a package with pkg_add I just get:

Quote:
# pkg_add -i fluxbox
Can't resolve fluxbox
To be sure that ksh reads my .profile I added this (following FAQ 8.16):

Quote:
$ echo "XTerm*loginShell: true" >> ~/.Xdefaults
So, what am I doing wrong?
Reply With Quote