Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2007 15:02:34 -0800
From:      Jay Chandler <chandler@chapman.edu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Portupgrade error
Message-ID:  <45AFFC8A.607@chapman.edu>

next in thread | raw e-mail | index | archive | help
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 <format:bdb_btree> 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) 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45AFFC8A.607>