update 3.0 -> 3.1 fails

Christoph Wickert wickert at kolabsys.com
Tue Dec 17 16:58:12 CET 2013


On Tuesday 17 December 2013 16:50:51 JP Horst wrote:
>
> Running Transaction
>   Updating   : roundcubemail-1.0-7.7.el6.kolab_3.1.noarch
> 1/2
> Error unpacking rpm package roundcubemail-1.0-7.7.el6.kolab_3.1.noarch
> warning: /etc/httpd/conf.d/roundcubemail.conf created as
> /etc/httpd/conf.d/roundcubemail.conf.rpmnew
> warning: /etc/roundcubemail/acl.inc.php created as
> /etc/roundcubemail/acl.inc.php.rpmnew
> warning: /etc/roundcubemail/managesieve.inc.php created as
> /etc/roundcubemail/managesieve.inc.php.rpmnew
> warning: /etc/roundcubemail/password.inc.php created as
> /etc/roundcubemail/password.inc.php.rpmnew
> error: unpacking of archive failed on file /usr/share/roundcubemail/temp:
> cpio: rename
> roundcubemail-0.9.4-1.el6.kolab_3.0.noarch was supposed to be removed but is
> not!
>   Verifying  : roundcubemail-0.9.4-1.el6.kolab_3.0.noarch
> 1/2
>   Verifying  : roundcubemail-1.0-7.7.el6.kolab_3.1.noarch
> 2/2
> 
> Failed:
>   roundcubemail.noarch 0:0.9.4-1.el6.kolab_3.0
> roundcubemail.noarch 0:1.0-7.7.el6.kolab_3.1
> 
> roundcubemail.noarch 0:0.9.4-1.el6.kolab_3.0 seems to be from the removed
> kolab-3.0-development repository.
> 
> How do I resolve this conflict?

This is a well known bug in rpm, it cannot replace a file or directory with a 
symbolic link and vice versa, see https://bugs.launchpad.net/rpm/+bug/633636 
and https://bugzilla.redhat.com/show_bug.cgi?id=447156 

To fix this problem, simply run

# mv /usr/share/roundcubemail/temp /usr/share/roundcubemail/temp.old

before running the upgrade.

Best regards,
Christoph

-- 
Christoph Wickert
Senior Engineer

Kolab Systems AG
Zürich, Switzerland

e: wickert at kolabsys.com
t: +49 251 871 369 77
w: http://kolabsys.com

pgp: 85DACC63 Christoph Wickert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/users/attachments/20131217/a6c56ff1/attachment-0001.sig>


More information about the users mailing list