Bug 481684
Summary: | adodb.inc.php file is missing at Fedora Moodle package | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Herli Menezes <herlimenezes> |
Component: | moodle | Assignee: | Gwyn Ciesla <gwync> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 9 | CC: | drfudgeboy, gwync, herlimenezes |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-03-26 14:05:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Herli Menezes
2009-01-27 01:56:03 UTC
I concur: I also have this problem, on the latest Moodle package for Fedora 10. (I'm a bit surprised there's been no movement on this--the bug is now a month old.) James This bug was filed against the wrong package. Fixing now. There is an update coming to both 9 and 10 to fix other issues. Can you confirm that this is broken once you get that update? Sorry for the delay, this just came to my attention. I can't see any updates to moodle in F10 updates-testing. moodle-1.9.4-2.fc10 (and fc9) are in testing accoring to bodhi, and have been requested to be pushed to stable. https://admin.fedoraproject.org/updates/F10/FEDORA-2009-1958 https://admin.fedoraproject.org/updates/F9/FEDORA-2009-1966 Ta. [root@derek ~]# rpm -Uvh /tmp/moodle-1.9.4-2.fc10.noarch.rpm Preparing... ########################################### [100%] file /var/www/moodle/web/lib/magpie/rss_fetch.inc from install of moodle-1.9.4-2.fc10.noarch conflicts with file from package php-magpierss-0.72-4.fc10.noarch It doesn't seem (according to koji) as though there is an update to php-magpierss available, and I can't remove it because it's a Moodle dep. J. Oh, marvelous. It's supposed to remove the symlink to php-magpierss and put back the bundled version. If you: rm /var/www/moodle/web/lib/magpie and then update, it should work. I've yanked the requests to push to stable, and will build a corrected version. Thanks for catching this! Wait, except the spec for 1.9.4-2 has the following in %pre: rm -rf /var/www/moodle/web/lib/smarty rm -rf /var/www/moodle/web/lib/adodb rm -rf /var/www/moodle/web/lib/magpie So it should have worked. Was that the only error you got? Yes, that was the only error. By the way, if you've put the bundled stuff in there, shouldn't php-magpierss no longer be a dependency? Sorry--dumb comment. It is no longer a dep. I have now installed the update by using yum shell to remove php-magpierss and install the new rpm. BUT... magpie is still a symlink to /usr/share/php/magpierss! Could have sworn I removed it, good catch. No idea what is going on. I have just uninstalled moodle, and then reinstalled it. Now magpie is no longer a symlink, but smarty and adodb still are. This, of course, means that the original bug report still holds. I still get the error about missing adodb.inc.php. That presumably can't go away until adodb stops being a symlink to somewhere that doesn't contain that file! Did it pull in php-adodb? It's supposed to symlink to smarty and adodb. adodb-php has the file at /usr/share/php/adodb/adodb.inc.php. Well, well. I've just discovered that my php-adodb installation had got corrupted. Half the files were missing, including adodb.inc.php. I wonder how this happened? It could be that I did something stupid, but it is a bit odd that it happened on two of my machines, and that someone else was having the same problem. Anyway--problem solved. Thanks for all your help. It works now. I thing I figured it out. I was doing rm -rf on the symlink when I should have been doing rm -f. That's why it followed the symlink and nuked php-adodb instead of merely removing the symlink. Sorry about that. I loathe having to deal with upstream bundled libs. :) How does the version in -testing look? This is corrected, though there are other issues, see 489663. |