You are not logged in.
Pages: 1
I do a lot of work with PHP and the last thing i need atm is for PHP to stop working. I have some conflicts with pacman updating, if someone could tell me how "harmful" / "harmless" using the --force option in pacman would be, in relation to the following conflicts.
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (31): apr-1.3.5-1 readline-6.0.00-1 unixodbc-2.2.14-2 apr-util-1.3.7-1 bash-4.0.024-1 device-mapper-1.02.32-2
xulrunner-1.9.1-1 firefox-3.5-1 libgcrypt-1.4.4-2 gnutls-2.8.1-1 sqlite3-3.6.15-2 heimdal-1.2.1-5 inetutils-1.6-4
jack-audio-connection-kit-0.116.2-2 libthai-0.1.12-1 libxml2-2.7.3-2 liferea-1.4.28-2 lua-5.1.4-4 lvm2-2.02.47-2
mysql-clients-5.1.35-2 mysql-5.1.35-2 cairo-1.8.8-1 pango-1.24.4-1 php-5.2.10-1 postgresql-libs-8.3.7-2 python-2.6.2-3
qt-4.5.2-1 ruby-1.8.7_p173-2 smbclient-3.3.6-2 wpa_supplicant-0.6.9-2 xz-utils-4.999.8beta-4
Total Download Size: 0.00 MB
Total Installed Size: 431.65 MB
Proceed with installation? [Y/n] y
checking package integrity...
(31/31) checking for file conflicts [#################################################################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
php: /usr/share/pear/.registry/xml_util.reg exists in filesystem
php: /usr/share/pear/XML/Util.php exists in filesystem
php: /usr/share/pear/doc/PEAR/LICENSE exists in filesystem
php: /usr/share/pear/doc/XML_Util/examples/example.php exists in filesystem
php: /usr/share/pear/doc/XML_Util/examples/example2.php exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/AllTests.php exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_apiVersion.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_attributesToString.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_collapseEmptyTags.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_createCDataSection.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_createComment.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_createEndElement.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_createStartElement.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_createTag.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_createTagFromArray.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_getDocTypeDeclaration.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_getXmlDeclaration.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_isValidName.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_raiseError.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_replaceEntities.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_reverseEntities.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBasic_splitQualifiedName.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBug_4950.phpt exists in filesystem
php: /usr/share/pear/test/XML_Util/tests/testBug_5392.phpt exists in filesystem
Errors occurred, no packages were upgraded.
Offline
In my opinion, it seems pretty harmless to run pacman -Sf php
Although I have to remind you that everytime you upgrade, there is the risk of something screwing up
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
First check if any package owns the conflicting files (pacman -Qo <file>). If not, then a "pacman -Sf php" is fine. NEVER do "pacman -Syuf", NEVER!
Offline
Maybe I should really remove pear from php; using another package manager next to pacman is not a good idea. pacman -Sf php might also break things if the files are of different version.
Last edited by Pierre (2009-07-02 11:09:30)
Offline
@allan, exactly how am i checking if the package owns the conflicting files. ie i run.
sudo pacman -Qo /usr/bin/php
/usr/bin/php is owned by php 5.2.9-3
i know the errors are from php/pear. Sorry if that sounds vauge im trying to understand pacman a bit better so when i run into something like this in the future i will be comfortable updating with a force.
@everyone, i do understand that a lot of updates do break functionality, im pretty use to that, what im not used to is big ugly errors coming out of pacman
Offline
You will be wanting to check the conflicts e.g.
php: /usr/share/pear/.registry/xml_util.reg exists in filesystem
so
pacman -Qo /usr/share/pear/.registry/xml_util.reg
If no packages own that, then it is safe to overwrite...
Offline
ahhh ok. that makes sense, well ive updated and all looks fine. Thanks guys.
Offline
Pages: 1