From owner-cvs-all Mon Mar 18 16:37:53 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 53C8B37B400; Mon, 18 Mar 2002 16:37:45 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g2J0bhC8033084; Mon, 18 Mar 2002 19:37:43 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: 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> Date: Mon, 18 Mar 2002 19:37:42 -0500 To: Kris Kennaway , Josef Karthauser From: Garance A Drosihn Subject: Re: cvs commit: ports/x11/XFree86-4 Makefile Cc: "Daniel C. Sobral" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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