Description of problem: yum upgrade of Moodle fails for version 1.9.9-2 Running Transaction etckeeper: pre transaction commit Updating : moodle-1.9.9-2.fc13.noarch 1/2 Error unpacking rpm package moodle-1.9.9-2.fc13.noarch error: unpacking of archive failed on file /var/www/moodle/web/auth/cas: cpio: rename
Note, on another system that had this problem, uninstalling and reinstalling Moodle works fine, so it appears to be an upgrade-specific problem.
I think this is a nasty problem. It affects the EPEL packages as well, it would seem: $ sudo yum update moodle ... Error unpacking rpm package moodle-1.8.13-2.el5.noarch error: unpacking of archive failed on file /var/www/moodle/web/auth/cas: cpio: rename Failed: moodle.noarch 0:1.8.13-2.el5 $ rpm -qf /var/www/moodle/web/auth/cas moodle-1.8.12-1.el5.noarch $ file /var/www/moodle/web/auth/cas /var/www/moodle/web/auth/cas: directory $ rpm -qplv moodle-1.8.13-2.el5.noarch.rpm | grep /var/www/moodle/web/auth/cas lrwxrwxrwx 1 root root 16 Aug 20 08:40 /var/www/moodle/web/auth/cas -> /usr/share/pear/ Happy to file a seperate EPEL bug if desired. But the issue is the same, replacing a directory with a symlink is a painful process with rpm.
*** Bug 631998 has been marked as a duplicate of this bug. ***
Sorry for the delay. It was a one-character typo. If the rawhide build works for you, I'll push the fix everywhere.
moodle-1.9.9-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/moodle-1.9.9-3.fc14
moodle-1.9.9-3.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/moodle-1.9.9-3.fc12
moodle-1.8.13-3.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/moodle-1.8.13-3.el5
moodle-1.9.9-3.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/moodle-1.9.9-3.fc13
moodle-1.8.13-3.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update moodle'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/moodle-1.8.13-3.el5
moodle-1.9.9-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
moodle-1.9.9-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
moodle-1.8.13-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
moodle-1.9.9-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.