Date: Mon, 18 Mar 2002 19:37:42 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Kris Kennaway <kris@obsecurity.org>, Josef Karthauser <joe@tao.org.uk> Cc: "Daniel C. Sobral" <dcs@newsguy.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/x11/XFree86-4 Makefile Message-ID: <p05101509b8bc36328f68@[128.113.24.47]> In-Reply-To: <20020318154352.C71020@xor.obsecurity.org> References: <200203181643.g2IGhnW66937@freefall.freebsd.org> <3C96742F.12AFE590@newsguy.com> <20020318231354.GA17607@genius.tao.org.uk> <20020318154352.C71020@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 3:43 PM -0800 3/18/02, Kris Kennaway wrote: >Knu and Will have worked out that this is caused by >portupgrade's default behaviour of preserving shared >libraries when deinstalling a package. portupgrade >deinstalls XFree86-4 during the rebuild process, but >leaves the shlibs in place, and they're detected by >the ports collection. > >Using the '-u' flag to portupgrade should fix this. ...and Garance maintains that everyone is misunderstanding the basic problem here. I do not wish to annoy everyone who has obviously put orders of magnitude of work into this port, but I would suggest that anyone who had the original "megaport" installed might want to try: /usr/local/sbin/pkg_deinstall XFree86 /usr/local/sbin/portupgrade -n XFree86 -> say 'no' to XFree86, 'yes' to XFree86-4 /usr/local/sbin/portupgrade -n imake -> say 'no' to imake, 'yes' to imake-4 /usr/local/sbin/pkgdb -F shutdown -r now You shouldn't really have to install imake-4, but pkgdb will be confused if you do not. People who did not already have the "4.2 megaport" installed should probably just ignore me. With the above strategy I have successfully upgraded from the megaport to the metaport, with no particularly strange problems. It does mean that you effectively have no X installed from the time you do the pkg_deinstall until the portupgrade completes, and I can understand that is annoying. However, it did work fine for me, and it is a perfectly sensible strategy (except maybe the 'imake' part...). -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05101509b8bc36328f68>