Date: Fri, 9 Apr 1999 10:33:43 +1000 From: Peter Jeremy <peter.jeremy@auss2.alcatel.com.au> To: current@FreeBSD.ORG Subject: Re: /sys/boot, egcs vs. gcc, -Os Message-ID: <99Apr9.102050est.40374@border.alcanet.com.au>
next in thread | raw e-mail | index | archive | help
John Fieber <jfieber@indiana.edu> wrote: >For an update to work, files that must be preserved (shared >libraries mainly) over an update must be tagged. This is why I said my approach only worked for `minor' updates - which means those that don't bump library versions etc (eg XFree86-3.3.3 to XFree86-3.3.3.1). > If libfoo-1.0 >is installed and I upgrade to libfoo-2.3, the libfoo-1.0 package >should be removed except /usr/local/share/libfoo.so.1.0. Then >libfoo-2.3 gets installed and *inherits* >/usr/local/share/libfoo.so.1.0 in its +CONTENTS so that if you >want to do a wholesale removal of the libfoo package in the >future, you can do it. The problem with this approach is that you lose the fact that xbar depends on libfoo-1.0, whilst xyzzy depends on libfoo-2.3. This makes updating libfoo-2.3 to libfoo-3.1 messy - especially if xbar has been deleted in the interim (meaning libfoo.so.1.0 is no longer needed). I'd prefer to see the upgrade delete the unnecessary bits of libfoo-1.0, but leave the db/pkg entry in place - with a cut-down +CONTENTS. This makes it easier to get rid of the remaining bits when any dependencies are deleted. (For extra marks, add a flag so that libfoo-1.0 is deleted automatically when the last dependency is removed). (Of course, as Chuck Robey points out, this becomes much harder when config files are taken into account). Kris Kennaway <kkennawa@physics.adelaide.edu.au> wrote: >I've never found the +REQUIRED_BY data to be consistently maintained for me - I've seen the same, but I've never bothered digging into the problem. Feel free to look into the problem. It might be worthwhile asking Jordan if he is aware of the problem and/or has any ideas. Chuck Robey <chuckr@mat.net> wrote: >Don't forget, with all the gnome and gtk ports (and the kde things) tcl and tk also install various version-specific information (and has anyone else noticed that tk depends on X11 (ie XFree86) and the XFree86 configuration (xf86site.def) changes depending on whether or not tk exists). Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Apr9.102050est.40374>