From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 06:03:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8161316A4B3 for ; Tue, 21 Oct 2003 06:03:05 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5D0B43FB1 for ; Tue, 21 Oct 2003 06:03:04 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 6BCBE3B04; Tue, 21 Oct 2003 09:03:04 -0400 (EDT) Sender: lowell@be-well.ilk.org To: "Michael Lee(HINET)" References: <005301c396c3$80cea000$ca00a8c0@michael> From: Lowell Gilbert Date: 21 Oct 2003 09:03:04 -0400 In-Reply-To: <005301c396c3$80cea000$ca00a8c0@michael> Message-ID: <44k76yzqt3.fsf@be-well.ilk.org> Lines: 57 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: question for portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 13:03:05 -0000 "Michael Lee(HINET)" 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 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.