"Michael Lee(HINET)" <[EMAIL PROTECTED]> 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-188.8.131.52a) 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-184.108.40.206a) > * 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. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"