Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2012 02:58:31 -0300
From:      "JoaoBR" <joao@matik.com.br>
To:        apache@FreeBSD.org
Subject:   fatal apache22 upgrade
Message-ID:  <2b26d89f26556120babeb20c3e72a05f.squirrel@wm.matik.com.br>

next in thread | raw e-mail | index | archive | help

Hi

I like you to inform about some serious port upgrade problem, please look

compiling ok
uninstall failes
reinstall old missing NOT OK <--

no apache files installed, etc/apache22 is gone

pkg_db still holds the package name

I guess that httpd.conf should not even be considered since it is a user file

Joćo



--->  Build of www/apache22 ended at: Tue, 20 Mar 2012 02:41:59 -0300
(consumed 00:04:11)
--->  Uninstallation of apache-2.2.22_5 started at: Tue, 20 Mar 2012
02:41:59 -0300
--->  Fixing up dependencies before creating a package
--->  Backing up the old version
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 131 packages
found (-0 +4) .... done]
--->  Uninstalling the old version
--->  Deinstalling 'apache-2.2.22_5'
cmp: /usr/local/etc/apache22/httpd.conf: No such file or directory
pkg_delete: pkg_do: unable to return to working directory
/usr/local/etc/apache22!
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! apache-2.2.22_5       (pkg_delete failed)
--->  Uninstallation of apache-2.2.22_5 ended at: Tue, 20 Mar 2012
02:42:13 -0300 (consumed 00:00:13)
--->  Reinstallation of www/apache22 ended at: Tue, 20 Mar 2012 02:42:13
-0300 (consumed 00:04:25)
--->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
        ! www/apache22 (apache-2.2.22_5)        (uninstall error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Session ended at: Tue, 20 Mar 2012 02:42:13 -0300 (consumed 00:04:27)


/usr/local/etc/apache22# touch /usr/local/etc/apache22/httpd.conf
touch: /usr/local/etc/apache22/httpd.conf: No such file or directory


ll /usr/local/etc/apache22
ls: /usr/local/etc/apache22: Nenhum arquivo ou diretório encontrado

which apachectl
apachectl: Command not found.

which httpd
httpd: Command not found.

pkg_info | grep apache
apache-2.2.22_5     Version 2.2.x of Apache web server with prefork MPM.





-- 

Joćo Martins (JoaoBR)

Infomatik Development Team
http://wipserver.matik.com.br
+55 11 4249.2222





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2b26d89f26556120babeb20c3e72a05f.squirrel>