From owner-freebsd-questions@FreeBSD.ORG Fri Jan 2 04:38:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE20916A4CE for ; Fri, 2 Jan 2004 04:38:36 -0800 (PST) Received: from lakemtao02.cox.net (lakemtao02.cox.net [68.1.17.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08D9243D45 for ; Fri, 2 Jan 2004 04:38:35 -0800 (PST) (envelope-from supremedalek@hotpop.com) Received: from [10.0.0.10] ([24.136.52.113]) by lakemtao02.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040102123834.UUXI2297.lakemtao02.cox.net@[10.0.0.10]> for ; Fri, 2 Jan 2004 07:38:34 -0500 Mime-Version: 1.0 X-Sender: supremedalek@pop.hotpop.com Message-Id: 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> Date: Fri, 2 Jan 2004 07:35:23 -0500 To: freebsd-questions@freebsd.org From: Mauricio Content-Type: text/plain; charset="us-ascii" ; format="flowed" Subject: pkg_add and me X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 12:38:36 -0000 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 > > 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?