Date: Thu, 07 Sep 2000 10:42:35 -0400 From: youlgok@attglobal.net To: Salvo Bartolotta <bartequi@inwind.it> Cc: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: Re: upgrading a program by ports' package Message-ID: <39B7A959.4B4EDEB1@attglobal.net> References: <39B7994A.23D0ED11@attglobal.net> <20000907.14572300@bartequi.ottodomain.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <package>. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39B7A959.4B4EDEB1>