From owner-freebsd-x11@FreeBSD.ORG Sun Apr 15 01:20:41 2007 Return-Path: X-Original-To: x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62A1D16A400; Sun, 15 Apr 2007 01:20:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8A413C457; Sun, 15 Apr 2007 01:20:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id DC8711A3C1C; Sat, 14 Apr 2007 18:20:51 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6354953BBD; Sat, 14 Apr 2007 21:20:35 -0400 (EDT) Date: Sat, 14 Apr 2007 21:20:35 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20070415012035.GA32022@xor.obsecurity.org> References: <20070414194028.GB2313@xor.obsecurity.org> <20070414195441.GA17321@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20070414195441.GA17321@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: lesi@FreeBSD.org, x11@FreeBSD.org Subject: Re: Upgrade script X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 01:20:41 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Actually this script is not doing enough: the problem is that even after all the portrevisions will be bumped, a portupgrade -a will not install most of the new xorg packages, and the user will be left with a non-working hybrid (I guess no-one actually tested the upgrade part yet :-). i.e. when xorg-libraries is upgraded from 6.9 to 7.2, most of the dependency checks for things that now live in sub-packages will pass (since they look for files also installed by xorg 6.9), so most of the new ports won't be installed. I confirmed this on an attempted upgrade of an xorg 6.9 machine. What was necessary was the following: # Make sure all dependencies are in consistent state pkgdb -FL=09 # This is over-complete, i.e. it removes some things it doesn't have # to. Should be replaced by pkg_delete -f. pkg_deinstall -Rf xorg imake libGLU nvidia-driver # Install new xorg from scratch. Could be replaced by pkg_add -r xorg # once packages are available. portinstall -N xorg # Patch up dependencies, i.e. register new dependencies on all the new # sub-ports of the packages we didn't upgrade yet pkgdb -FL=09 Then portupgrade -a, which was probably not strictly necessary. Kris P.S. Dunno about non-portupgrade users, they may be SOL. --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD4DBQFGIX3iWry0BWjoQKURAiyaAKC0BN/7MgUkOYAoq/CbTQtx0ENE9QCUCD2c x44I7HxufFkH6N8bwm1qLA== =AVtH -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--