| Summary: | php-smarty doesn't upgrade | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Thomas Spuhler <thomas> |
| Component: | RPM Packages | Assignee: | Oliver Burger <oliver.bgr> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | jani.valimaa |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | php-smarty | CVE: | |
| Status comment: | |||
|
Manuel Hiebel
2012-07-30 11:36:16 CEST
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
fiCC:
(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 =>
RESOLVED |
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