From owner-freebsd-questions Thu Sep 7 7:41:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from prserv.net (out1.prserv.net [32.97.166.31]) by hub.freebsd.org (Postfix) with ESMTP id DFE8637B422 for ; Thu, 7 Sep 2000 07:41:20 -0700 (PDT) Received: from attglobal.net ([129.37.171.233]) by prserv.net (out1) with SMTP id <2000090714401725200g5mafe>; Thu, 7 Sep 2000 14:40:19 +0000 Message-ID: <39B7A959.4B4EDEB1@attglobal.net> Date: Thu, 07 Sep 2000 10:42:35 -0400 From: youlgok@attglobal.net Reply-To: youlgok@attglobal.net X-Mailer: Mozilla 4.7 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Salvo Bartolotta Cc: FreeBSD-Questions Subject: Re: upgrading a program by ports' package References: <39B7994A.23D0ED11@attglobal.net> <20000907.14572300@bartequi.ottodomain.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Salvo Bartolotta: Thanks for your kind reply. I have one question. If I just pkg_add glib-1.2.8 without deleteing glib-1.2.6, what could be happend? Both pacakges are installed? -Paul Salvo Bartolotta wrote: > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > > On 9/7/00, 2:34:02 PM, youlgok@attglobal.net wrote regarding upgrading > a program by ports' package: > > > I have installed glib-1.2.6 on my FBSD-3.3. Before upgrading to > > glip-1.2.8, I tried to pkg_delete glib-1.2.6, but I get this message > and > > can't go any further: > > > # pkg_delete glib-1.2.6 > > pkg_delete: package `glib-1.2.6' is required by these other packages > > and may not be deinstalled: > > gtk-1.2.6 > > > In this case, can I just overwrite it by pkg_add glib-1.2.8 without > > pkg_delete glib-1.2.6? If not, what should I do here? > > > Any help would be appreciated. Thanks. > > > -Paul > > Dear Paul Youlgok (?), > > The short answer is: in order to update your ports, please use > "pkg_version -c" cum grano salis (ie edit the output and be careful, > be careful, be careful. Have I said that you have to be careful when > editing ? :-) > > If you prefer packages, pkg_version(1) is useful all the same. > > By the way, you can force the deletion of a package, if you like: > pkg_delete -f . However, I don't know whether gtk works with > a newer glib: I just haven't tried that. > > One possibility is updating **the two** ports/packages (generally > speaking, you might have to update more than two ports/packages for > "consistency" reasons): again, pkg_version(1) is your friend. > > HTH, > Salvo > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message