From owner-cvs-doc@FreeBSD.ORG Tue Mar 15 22:28:11 2005 Return-Path: Delivered-To: cvs-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DA0D16A4CE; Tue, 15 Mar 2005 22:28:11 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7148D43D31; Tue, 15 Mar 2005 22:28:11 +0000 (GMT) (envelope-from adamw@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2FMSBsK007893; Tue, 15 Mar 2005 22:28:11 GMT (envelope-from adamw@repoman.freebsd.org) Received: (from adamw@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2FMSBxI007892; Tue, 15 Mar 2005 22:28:11 GMT (envelope-from adamw) Message-Id: <200503152228.j2FMSBxI007892@repoman.freebsd.org> From: Adam Weinberger Date: Tue, 15 Mar 2005 22:28:11 +0000 (UTC) To: doc-committers@FreeBSD.org, cvs-doc@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: www/en/gnome gnome_upgrade.sh X-BeenThere: cvs-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the doc and www trees List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 22:28:11 -0000 adamw 2005-03-15 22:28:11 UTC FreeBSD doc repository Modified files: en/gnome gnome_upgrade.sh Log: There have been a number of upgrade failure reports, and most of them seem to stem from external dependencies not getting updated. (Here, external dependencies are ports which do NOT depend upon glib20.) I'm suspecting that the cause of this is inconsistent package databases. Inconsistent pkgdbs will cause portupgrade(1) to silently fail, but portinstall and pkg_delete will still work just fine. (I really wish gnu had agreed to make pkgdb(1) return meaningful error codes -- or any error codes at all!) So, instead of running pkgdb -F, we're now running pkgdb -fu. This will hopefully rebuild the entire database from scratch, and leave us with a consistent database every time. And just in case, we follow it with a pkgdb -F for good measure. Additionally, I've changed the script's version number to be a bit more legible, and thus a bit more meaningful. Also, there is now a -v option which prints some basic version/revision information. I'd like to thank Alexandre Vasconcelos's horribly inconsistent package database for inspiring the pkgdb change ;;) Revision Changes Path 1.20 +30 -8 www/en/gnome/gnome_upgrade.sh