From owner-freebsd-questions Thu Sep 7 6:57:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay2.inwind.it (relay2.inwind.it [212.141.53.73]) by hub.freebsd.org (Postfix) with ESMTP id B334F37B422 for ; Thu, 7 Sep 2000 06:57:30 -0700 (PDT) Received: from bartequi.ottodomain.org (212.141.247.109) by relay2.inwind.it (5.1.046) id 39AF9CE300069412; Thu, 7 Sep 2000 15:57:18 +0200 From: Salvo Bartolotta Date: Thu, 07 Sep 2000 14:57:23 GMT Message-ID: <20000907.14572300@bartequi.ottodomain.org> Subject: Re: upgrading a program by ports' package To: youlgok@attglobal.net, freebsd-questions@FreeBSD.ORG In-Reply-To: <39B7994A.23D0ED11@attglobal.net> References: <39B7994A.23D0ED11@attglobal.net> X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 9/7/00, 2:34:02 PM, youlgok@attglobal.net wrote regarding upgrading=20 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=20 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=20 "pkg_version -c" cum grano salis (ie edit the output and be careful,=20 be careful, be careful. Have I said that you have to be careful when=20 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:=20 pkg_delete -f . However, I don't know whether gtk works with=20 a newer glib: I just haven't tried that. One possibility is updating **the two** ports/packages (generally=20 speaking, you might have to update more than two ports/packages for=20 "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