Thanks to you both for responding.  I am confident that I will get this
working.  I appreciate it.

However, my primary concern was with the pkg_del and pkg_add command,
and not so much my concern with Horde.   Like I stated in my initial
thread, the -F switch does not seem to work as it should.  Is it broken,
or am I doing something wrong?  I can't seem to remove a package no
matter what I do if it is a dependency of another installed package.  I
likewise am not able to force an install if there dependecies are not
present, or they don't quite jibe (details below).

I find it hard to believe it is broken, so I am wondering if I am just
doing something wrong here...

Thanks.



Chris wrote:

>Hello
>
>I have installed openbsd 3.8.  I am trying to make an email server with
>the Horde Interface.
>
>I installed all necessary packages as binaries with the pkg_add
>utility.  When I finally got Horde up and and running, I found that php5
>was a dependency for horde-3.0.4.  The horde docs and the test.php file
>state very clearly that php5 is experimental, and is not recommended. 
>Furthermore, many of the features I need (like mysql support) were not
>compiled in the binary. 
>
>So I tried to uninstall all the php5 packages that were installed as
>dependencies and replace them with php4.  I found the the pkg_delete -F
>command would not work.  It seemed to completely ignore the -F flag. 
>For example "pkg_delete -F baddepend php5-mcrypt-5.0.4" would complain
>that horde and php5 must be uninstalled as well.  I tried all the
>arguments for the -F flag, and finally used the dependencies option,
>which worked as one might expect -- it removed the package and all of
>its dependencies.
>
>So, I figured I would try it from the other side.  I compiled php4 with
>ports.  I made my own make file to include the options that horde and I
>wanted.  After it was installed, I tried to install horde.  It would not
>let me, because php5 was a dependency.  So I tried the -F flag.  Again,
>this did not work: 
>
>    # pkg_add -F conflicts horde-3.0.4.tgz
>    Can't install php5-core-5.0.4p0 because of conflicts (php4-core-4.4.0p0)
>    /usr/sbin/pkg_add: php5-core-5.0.4p0:Fatal error
>
>I thought that the -F flag would force the install despite the fact that
>a conflicting package was found.  It did not.
>
>So, either this is broken, or I am missing something here...
>
>How can I get Horde3 installed without using php5?  I prefer not to have
>to resort to installing from the tarball, as I like the installation db
>to be accurate, and I want to stay within the audited code.
>
>Any suggestions?
>
>Thanks.
>
>Chris

Reply via email to