Description of problem: urpmi gives: installing php-smarty-3.1.11-1.mga3.noarch.rpm from /var/cache/urpmi/rpms Preparing... ######################################################################################################### 1/1: php-smarty ######################################################################################################### error: unpacking of archive failed on file /usr/share/php/smarty: cpio: rename failed - Is a directory error: php-smarty-3.1.11-1.mga3.noarch: install failed error: php-smarty-3.1.10-1.mga3.noarch: erase skipped
Assignee: bugsquad => oliver.bgr
It does work, when installing it fresh. Must be related to the change in naming (capital letter and a symlink for compatibility). I'm not sure if this could be handled by adding a Conflicts to older smarty versions...
How about removing the old dir in %pre if it exists? Something like: %pre if [ -d %{_datadir}/php/smarty ]; then rm -rf %{_datadir}/php/smarty fi
CC: (none) => jani.valimaa
Ca you please take at shot at fixing this. It's very annoying if smarty is installed.
Fixed for smarty and smarty2. The old dir is now removed in %pre.
Status: NEW => RESOLVEDResolution: (none) => FIXED