On Wed, Jul 09, 2008 at 07:45:01PM -0700, my mail wrote: > --- On Wed, 7/9/08, Jacob Meuser <[EMAIL PROTECTED]> wrote: > > > From: Jacob Meuser <[EMAIL PROTECTED]> > > Subject: Re: Can't install using pkg_add from FTP mirror and from Local > > Mirror > > To: misc@openbsd.org > > Date: Wednesday, July 9, 2008, 8:27 AM > > On Wed, Jul 09, 2008 at 01:04:38AM -0700, my mail wrote: > > > I have success install OpenBSD 4.3, but when i want > > install packages using pkg_add, why i can't install it? > > > > > > first i try from local ssh server from my LAN > > > > > > ------------------------------------------- > > > # export > > PKG_PATH=scp://[EMAIL PROTECTED]/OpenBSD4.3/i386/ > > > # pkg_add gdm > > > [EMAIL PROTECTED]'s password: > > > Can't install glib2-2.14.5: lib not found > > iconv.4.0 > > > Dependencies for glib2-2.14.5 resolve to: > > libiconv-1.12, pcre-7.6, gettext-0.17 > > > Full dependency tree is > > libiconv-1.12,pcre-7.6,gettext-0.17 > > > iconv.4.0: partial match in /usr/local/lib: major=5, > > minor=0 (bad major) > > > > you have libiconv.so.5.0 installed, but you are trying to > > install > > something that wants libiconv.so.4.0. > > > > libiconv.so.5.0 is from -current (since May 28, 2008), but > > you appear > > to be pointing at a 4.3-release package repository, and you > > said you > > installed 4.3. > > > > looks like you are experiencing confusion with -release and > > snapshots. > > > > http://www.openbsd.org/faq/faq5.html#Flavors > > > > thanks for your reply, but i have download OpenBSD 4.3 from this address > ftp://ftp.jaist.ac.jp/pub/OpenBSD/4.3/ > > and all packages i download from this > ftp://ftp.jaist.ac.jp/pub/OpenBSD/4.3/packages/ > > so all of this i install OpenBSD release not snapshots > > why in my system have libiconv.so.5.0 because i never install it? > > > it's possible this happen because i install bash from ports? > after install openbsd, then i install bash from ports then i try to install > gdm from packages i have download.
my guess is you checked out or updated your ports tree incorrectly. you want 4.3 ports to match your 4.3 base, so you need to use the -rOPENBSD_4_3 tag with the cvs command. otherwise, you will get a -current ports tree, and you will have problems. http://www.openbsd.org/anoncvs.html > > thanks > -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org