Errors with php5-cli on upgrade to AL 3.4
#1
Sat, 2016-06-18 14:37
bootrecords
-
- Offline
- 2 months 3 weeks ago
- 2016-01-03
After upgrading to version 3.4, I received an apk error when trying to upgrade the php5-cli package:
# apk fix (1/1) Reinstalling php5-cli (5.6.21-r2) ERROR: php5-cli-5.6.21-r2: trying to overwrite usr/bin/phpize owned by php-cli-5.6.21-r0. ERROR: php5-cli-5.6.21-r2: trying to overwrite usr/bin/php owned by php-cli-5.6.21-r0.
This error message is rather confusing, since both of these files are owned by root and (since I'm executing apk as root), this shouldn't pose a problem, or am I misunderstanding something here?
I can't even remove or purge the faulty package (or most php-related packages, in fact) in order to cleanly reinstall this one, which is rather annoying since as long as this problem persists, my php does not seem to work properly.
Any suggestions?
php-*
packages were renamed tophp5-*
so you need to remove the former to install the latter.apk del php-*
seems to have worked. The packagephp
remains, though, and still can't be removed. But at least the previous errors are gone. Thanks for the help!