How can I remove the dependency to php5, which was a result of a failed installation of php-xdebug, and continue with my pkg upgrade? I guess it's really a question on how to rollback a failed pkg install. Here is what I did to mess things up.
Using pkg to maintain packages on FreeBSD 10.0-RELEASE. I had php55 installed on the system:
I tried to install php-xdebug, which has dependencies on:
I figured "what the hell, lets see what happens" and went on with installing it, install failed with some messages like:
So, ignored that and went on with
Trying to do
I've tried to remove the reference to installing php5 by using:
I tried to reinstall php55, I hoped it would overwrite the failed installation of php5. But I got all these conflicts:
So, it seems like I'm stuck. Any suggestions on how to fix this?
Using pkg to maintain packages on FreeBSD 10.0-RELEASE. I had php55 installed on the system:
Code:
- php55: 5.5.8
Code:
- Installing php5: 5.4.25
Code:
pkg: WARNING: locally installed php55-5.5.8 conflicts on /usr/local/lib/php/build/shtool with:
- php5-5.4.25
So, ignored that and went on with
pkg update
and pkg upgrade
. But pkg upgrade
fails since there is a line stating:
Code:
- Installing php5: 5.4.25
pkg upgrade
anyhow, results in a lots of messages like:
Code:
pkg: WARNING: locally installed php55-5.5.9 conflicts on /usr/local/share/php/fpm/status.html with:
- php5-5.4.25
I've tried to remove the reference to installing php5 by using:
Code:
# pkg remove php5-5.4.25
Package(s) not found!
# pkg delete php5-5.4.25
Package(s) not found!
I tried to reinstall php55, I hoped it would overwrite the failed installation of php5. But I got all these conflicts:
pkg install -Rf php55
Code:
Conflict found on path /usr/local/include/php/main/win95nt.h between php55-5.5.9(lang/php55) and php5-5.4.25(lang/php5)
So, it seems like I'm stuck. Any suggestions on how to fix this?