Portupgrade error



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@xxxxxxxxxxx
Today's Excuse: PEBKAC (Problem Exists Between Keyboard And Chair)

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Portupgrade error
    ... On 1/19/07, Jay Chandler wrote: ... package 'apache-2.2.3' is required by these other packages ... gid `80' has already been allocated ... *** Error code 1 ...
    (freebsd-questions)
  • RELENG_4 cvsup Makefile fails / pkg_add -vr cvsup fails
    ... make install ... *** Error code 1 ... pkg_add: package 'XFree86-libraries-4.4.0_3' conilicts with ... pkg_add: package 'XFree86-libraries-4.4.0_3' conflicts with ...
    (comp.unix.bsd.freebsd.misc)
  • RE: Error while executing the SSIS package
    ... What you need to do is save the package with 'Don't save sensitive data'. ... Description: SSIS Error Code DTS_E_OLEDBERROR. ... An OLE DB record is available. ...
    (microsoft.public.sqlserver.dts)
  • RE: Error installing (KB 921896) - Code 2B22
    ... I tried that and am getting error code 17113, ... It should be called "SQL Server ". ... Package Language: 1033 ... Cluster Installation: No ...
    (microsoft.public.windowsupdate)
  • gcc2.95.2 errors during compiling
    ... It would be very useful for me to install a precompiled package ... *** Error code 1 ... make: Fatal error: Command failed for target `cc1chill' ...
    (comp.unix.solaris)