From owner-freebsd-questions@FreeBSD.ORG Thu Jan 18 23:02:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70DD116A47E for ; Thu, 18 Jan 2007 23:02:36 +0000 (UTC) (envelope-from chandler@chapman.edu) Received: from calais.chapman.edu (calais.chapman.edu [192.77.116.205]) by mx1.freebsd.org (Postfix) with ESMTP id 5E22313C448 for ; Thu, 18 Jan 2007 23:02:36 +0000 (UTC) (envelope-from chandler@chapman.edu) Received: from [206.211.142.181] (ist181.chapman.edu [206.211.142.181]) by calais.chapman.edu (Postfix) with ESMTP id 061E42EBBE for ; Thu, 18 Jan 2007 15:02:34 -0800 (PST) Message-ID: <45AFFC8A.607@chapman.edu> Date: Thu, 18 Jan 2007 15:02:34 -0800 From: Jay Chandler User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chapman-MailScanner-Information: Please contact the ISP for more information X-Chapman-MailScanner: Found to be clean X-Chapman-MailScanner-From: chandler@chapman.edu X-Spam-Status: No Subject: Portupgrade error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2007 23:02:36 -0000 How do I remove a group so that FreeBSD's ports tree doesn't see it as already allocated? I was upgrading using portupgrade, when Apache errored. Error output below: ---> Build of www/apache22 ended at: Thu, 18 Jan 2007 13:31:18 -0800 (consumed 00:06:25) ---> Updating dependency info ---> Modifying /var/db/pkg/php5-5.2.0/+CONTENTS ---> Modifying /var/db/pkg/php5-gettext-5.2.0/+CONTENTS ---> Modifying /var/db/pkg/php5-mbstring-5.2.0/+CONTENTS ---> Modifying /var/db/pkg/php5-mhash-5.2.0/+CONTENTS ---> Modifying /var/db/pkg/php5-openssl-5.2.0/+CONTENTS ---> Modifying /var/db/pkg/php5-pcre-5.2.0/+CONTENTS ---> Modifying /var/db/pkg/php5-session-5.2.0/+CONTENTS ---> Modifying /var/db/pkg/php5-xml-5.2.0/+CONTENTS ---> Modifying /var/db/pkg/squirrelmail-1.4.9a/+CONTENTS ---> Uninstallation of apache-2.2.3 started at: Thu, 18 Jan 2007 13:31:18 -0800 ---> Fixing up dependencies before creating a package ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'apache-2.2.3' ---> Preserving /usr/local/lib/libapr-1.so.2 as /usr/local/lib/compat/pkg/libapr-1.so.2 ---> Preserving /usr/local/lib/libaprutil-1.so.2 as /usr/local/lib/compat/pkg/libaprutil-1.so.2 pkg_delete: package 'apache-2.2.3' is required by these other packages and may not be deinstalled (but I'll delete it anyway): php5-5.2.0 ===> If you plan to do not reinstall apache22, you can safely remove /usr/local/etc/apache22. [Updating the pkgdb in /var/db/pkg ... - 43 packages found (-1 +0) (...) done] ---> Uninstallation of apache-2.2.3 ended at: Thu, 18 Jan 2007 13:31:46 -0800 (consumed 00:00:27) ---> Installation of www/apache22 started at: Thu, 18 Jan 2007 13:31:46 -0800 ---> Installing the new version via the port ===> Installing for apache-2.2.4 ===> apache-2.2.4 depends on file: /usr/local/lib/libcrypto.so.5 - found ===> apache-2.2.4 depends on file: /usr/local/bin/perl5.8.8 - found ===> apache-2.2.4 depends on shared library: expat.6 - found ===> apache-2.2.4 depends on shared library: iconv.3 - found pw: gid `80' has already been allocated Adding group "www" failed... *** Error code 1 Stop in /usr/ports/www/apache22. *** Error code 1 Stop in /usr/ports/www/apache22. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.70165.20 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=apache-2.2.3 UPGRADE_PORT_VER=2.2.3 make reinstall ---> Updating dependency info egrep: /var/db/pkg/apache-2.2.3/+CONTENTS: No such file or directory ---> Restoring the old version pw: gid `80' has already been allocated Adding group "www" failed... pkg_add: install script returned error status -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / chandler@chapman.edu Today's Excuse: PEBKAC (Problem Exists Between Keyboard And Chair)