Skip site navigation (1)Skip section navigation (2)
Date:      21 Oct 2003 09:03:04 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Michael Lee(HINET)" <kuniaki.lee@msa.hinet.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: question for portupgrade
Message-ID:  <44k76yzqt3.fsf@be-well.ilk.org>
In-Reply-To: <005301c396c3$80cea000$ca00a8c0@michael>
References:  <005301c396c3$80cea000$ca00a8c0@michael>

next in thread | previous in thread | raw e-mail | index | archive | help
"Michael Lee(HINET)" <kuniaki.lee@msa.hinet.net> writes:

> Hi,
> 
> After cvsupping the port tree ( originally installed by FreeBSD 5.1 Release
> CD ),
> I tried to do a portupgrade -acCv last night.
> Everything seems to be upgraded fine except for Apache.
> 
> The originally installed apache is apache-1.3.27_4. The portupgrade attempts
> to upgrade it from
> apache-1.3.27_4 to apache-1.3.28.
> 
> Should I command portupgrade -f apache to force it update to the new version
> ?
> Or will it be better for me to first uninstall apache then do portupgrade -N
> apache ?
> 
> Since I also installed mod_fastcgi, mod_php4, mod_gzip, and phpMyAdmin
> previously,
> I think these packages depends on apache.
> 
> Any suggestion ?
> 
> Thanks!
> 
> 
> Here is the error message I got.
> 
> Stop in /usr/ports/www/apache13.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade5405.2
> make WITH_APACHE_SUEXEC=yes reinstall
> egrep: /var/db/pkg/apache-1.3.27_4/+CONTENTS: No such file or directory
> --->  Restoring the old version
> ** Fix the installation problem and try again.
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 78 packages
> found (-0 +1) . done]
> --->  Skipping 'www/mod_fastcgi' (mod_fastcgi-2.2.12) because 'www/apache13'
> (apache-1.3.27_4) failed
> --->  Skipping 'www/mod_php4' (mod_php4-4.3.1,1) because 'www/apache13'
> (apache-1.3.27_4) failed
> --->  Skipping 'www/mod_gzip' (mod_gzip-1.3.26.1a) because 'www/apache13'
> (apache-1.3.27_4) failed
> --->  Skipping 'databases/phpmyadmin' (phpMyAdmin-2.3.2) because
> 'www/mod_php4' (mod_php4-4.3.1,1) failed
> ** The following packages were not installed or upgraded (*:skipped /
> !:failed)
>         ! www/apache13 (apache-1.3.27_4)        (install error)
>         * www/mod_fastcgi (mod_fastcgi-2.2.12)
>         * www/mod_php4 (mod_php4-4.3.1,1)
>         * www/mod_gzip (mod_gzip-1.3.26.1a)
>         * databases/phpmyadmin (phpMyAdmin-2.3.2)

Your package-database entry for Apache is corrupt.  Either of your
suggestions ('portupgrade -f' or deleting and rebuilding) should work,
but I would tend to do it by hand to keep a closer eye on it (in case
something else goes wrong, primarily).  Your choice.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44k76yzqt3.fsf>