[packaging] [Bug 2685] New: roundcube upgrade fails

Kolab Bugzilla noreply at kolab.org
Mon Dec 16 17:37:59 CET 2013


https://issues.kolab.org/show_bug.cgi?id=2685

            Bug ID: 2685
           Summary: roundcube upgrade fails
    Classification: Kolab Server
           Product: Kolab Server
           Version: N/A
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: packaging - rpm - redhat
          Assignee: vanmeeuwen at kolabsys.com
          Reporter: wickert at kolabsys.com
        QA Contact: packaging-bugs at lists.kolabsys.com
            Blocks: 2419
       Ticket Type: bug

When upgrading from 3.0 with roundcube 0.9.5 to Kolab Enterprise 13, the
upgrade to roundcube 1.0 fails. The upgrade continues, but roundcube is
skipped.

# yum update -y
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: ftp.rezopole.net
 * epel: nl.mirror.eurid.eu
 * extras: mirror.atrpms.net
 * updates: centos.mirror.fr.planethoster.net
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package roundcubemail.noarch 0:0.9.5-1.el6.kolab_3.0 will be updated
---> Package roundcubemail.noarch 0:1.0-10.el6.kolab_13 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch     Version                  Repository              Size
================================================================================
Updating:
 roundcubemail   noarch   1.0-10.el6.kolab_13      kolab-13-development   3.4 M

Transaction Summary
================================================================================
Upgrade       1 Package(s)

Total download size: 3.4 M
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : roundcubemail-1.0-10.el6.kolab_13.noarch                     1/2 
Error unpacking rpm package roundcubemail-1.0-10.el6.kolab_13.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
  Verifying  : roundcubemail-1.0-10.el6.kolab_13.noarch                     1/2 
roundcubemail-0.9.5-1.el6.kolab_3.0.noarch was supposed to be removed but is
not!
  Verifying  : roundcubemail-0.9.5-1.el6.kolab_3.0.noarch                   2/2 

Failed:
  roundcubemail.noarch 0:0.9.5-1.el6.kolab_3.0                                  
  roundcubemail.noarch 0:1.0-10.el6.kolab_13                                    

Complete!


The culprit is /usr/share/roundcubemail/temp, which used to be a directory but
is a symbolic link in the new package. RPM cannot handle this, this is a long
standing rpm bug known as https://bugzilla.redhat.com/show_bug.cgi?id=447156
and https://bugs.launchpad.net/rpm/+bug/633636

The recommended fix is a %pretrans lua script to move the old directory our of
the way. For Enterprise 13, we should just tell people to remove the directory
in upgrade instructions.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolabsys.com/pipermail/packaging-bugs/attachments/20131216/5695561f/attachment.htm>


More information about the packaging-bugs mailing list