apache 2.2.15_7 upgrade fails

Nerius Landys nlandys at gmail.com
Wed May 19 05:13:32 UTC 2010


> apache-2.2.15_5                     <   needs updating (index has 2.2.15_7)
> it also installed apr-ipv6-devrandom-gdbm-db42 1.4.2.1.3.9_1
> but apache fails to build,
> Is there a solution?

I had the same problem.  Then I read /usr/ports/UPDATING, and from
that file its says this:

20100518:
  AFFECTS: users of devel/apr0, devel/apr1, www/apache20, www/apache22
  AUTHOR: pgollucci at FreeBSD.org

  devel/apr has been renamed to devel/apr1

  WITH_APR_FROM_PORTS=yes for www/apache22 has been dissolved and
  may be removed from your configs. devel/apr1 is always used now.

  Please manually delete apache-2.\* if installed _before_ updating using either
  portmaster or portupgrade.

    # pkg_delete -f apache-2.\*

  If you use portmaster:

    portmaster -o devel/apr1 devel/apr

  If you use portupgrade:

    portupgrade -f -o devel/apr1 devel/apr

  Finally re-install apache if you deleted it earlier and update ports as usual.
  (where XX is either 20 or 22)

    portinstall www/apacheXX


More information about the freebsd-questions mailing list