I guess few people use freeBSD around here.

Solved anyway, Using portupgrade I could upgrade from mysql4 to mysql5
and keep the other dependent packages intact too.

#portupgrade -o databases/mysql50-client mysql-client-4.1.18_1
will do the trick

follow up: 
http://lists.freebsd.org/pipermail/freebsd-questions/2008-May/175562.html

Mohammad Khashashneh


On May 26, 12:03 pm, Mohammad Khashashneh <[EMAIL PROTECTED]> wrote:
> Hope you don't mind a freeBSD question
>
> I'm having a problem with port dependencies. I want to install mysql 5
> so I used the available port in
> /usr/ports/databases/mysql50-client
>
> however after building the port and attempted to install it, I got the
> following message:
>
> # make install
> ===>  Installing for mysql-client-5.0.18_1
>
> ===>  mysql-client-5.0.18_1 conflicts with installed package(s):
>       mysql-client-4.1.18_1
>
>       They install files into the same place.
>       Please remove them first with pkg_delete(1).
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql50-client.
>
> So I tried to remove the mysql-client-4.1.18_1 as instructed but
> pkg_delete complains with the following:
>
> # pkg_delete mysql-client-4.1.18_1
> pkg_delete: package 'mysql-client-4.1.18_1' is required by these other
> packages
> and may not be deinstalled:
> kde-3.5.1
> koffice-1.4.2_3,1
> php5-mysql-5.1.2_1
>
> Is there a way around this? I hope I don't have to remove kde3 and
> koffice because I'm sure this will not be the end of it.
>
> Mohammad Khashashneh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jolug" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/Jolug?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

رد على