Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2004 07:35:23 -0500
From:      Mauricio <supremedalek@hotpop.com>
To:        freebsd-questions@freebsd.org
Subject:   pkg_add and me
Message-ID:  <a06002001bc1abef18f33@[10.0.0.10]>
In-Reply-To: <3FF31FCA.4040805@circlesquared.com>
References:  <20031230034953.36866d74@it.buh.cameradicommercio.ro> <200312300225.hBU2PQsi030000@smtp.doruk.net.tr> <20031230043149.73c3dddd@it.buh.cameradicommercio.ro> <3FF15920.4070201@circlesquared.com> <20031231004933.00b76790@it.buh.cameradicommercio.ro> <3FF31FCA.4040805@circlesquared.com>

next in thread | previous in thread | raw e-mail | index | archive | help
         I want to upgrade the version of libiconv that is in this
machine (PC running freebsd 5.1).  So, I try pkg_add:

daffy# pkg_add libiconv-1.9.1_3.tgz
pkg_add: package 'libiconv-1.9.1_3' or its older version already
installed
daffy#

Ok then, I force it to be installed (-f option).  All I get in the end
is *two* entries of libiconv according to pkg_info:

daffy# pkg_info
XFree86-FontServer-4.3.0_1 XFree86-4 font server
XFree86-NestServer-4.3.0_1 XFree86-4 nested X server
[...]
libiconv-1.8_2      A character set conversion library
libiconv-1.9.1_3    A character set conversion library

Why can't it put the latest version in place of the older one?  I 
even tried to uninstall the old one first:

daffy# pkg_delete libiconv-1.8_2
pkg_delete: package 'libiconv-1.8_2' is required by these other packages
and may not be deinstalled:
gettext-0.11.5_1
gmake-3.80
lynx-2.8.5d14
daffy#

but, as you can see, it does not seem to like that.  Someone 
suggested me to install portupgrade as follows:

>  cd /usr/ports/sysutils/portupgrade
>  make install clean
>  rehash
>  <cvsup your ports tree>
>  portupgrade libiconv
>
>  should do all you need. :)
>
>

    I did the above, but ended up having two instances of libiconv:

daffy# pkg_info
[...]
imake-1.0           Imake and other utilities from XFree86
imake-4.3.0         Imake and other utilities from XFree86
jpeg-6b_1           IJG's jpeg compression utilities
libiconv-1.8_2      A character set conversion library
libiconv-1.9.1_3    A character set conversion library
libtool-1.3.4_4     Generic shared library support script
libtool-1.3.5_1     Generic shared library support script
lrzsz-0.12.20       Receive/Send files via X/Y/ZMODEM protocol. 
[...]
daffy#

How come?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a06002001bc1abef18f33>