From owner-freebsd-questions@FreeBSD.ORG Fri Jan 2 20:40:13 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 9639716A4CE for ; Fri, 2 Jan 2004 20:40:13 -0800 (PST) Received: from mta2.adelphia.net (mta2.adelphia.net [68.168.78.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2535E43D2F for ; Fri, 2 Jan 2004 20:40:12 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from moo.holy.cow ([69.160.69.113]) by mta13.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040103043757.LKEO18777.mta13.adelphia.net@moo.holy.cow>; Fri, 2 Jan 2004 23:37:57 -0500 Received: by moo.holy.cow (Postfix, from userid 1001) id EF06FA1AC; Fri, 2 Jan 2004 23:42:34 -0500 (EST) Date: Fri, 2 Jan 2004 23:42:34 -0500 From: parv To: Mauricio Message-ID: <20040103044234.GB397@moo.holy.cow> Mail-Followup-To: Mauricio , freebsd-questions@freebsd.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-questions@freebsd.org Subject: Re: 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: Sat, 03 Jan 2004 04:40:13 -0000 in message , wrote Mauricio thusly... > > 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 > [...] > 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? Then it would be too easy to keep things simple... > 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 Ah, you forgot to force the deletion unlike addition. Try this... # Delete both versions. If doesn't work delete one by one; it has # been a while since i had to deinstall two versions. pkg_delete -d -f libiconv # Should work w/ the force. Force may be needed if newer versions of # dependent software are missing, but older versions would still work # w/ the port being installed. pkg_add -f # Readjust the dependencies (provided by portupgrade port) pkgdb -F - Parv --