You need to remove the broken epel package (ceph-0.80.1-2.el6.x86_64) and reinstall the 'old' version from the ceph repo. Your machine got upgraded to the broken package, and yum will not automatically fix this (because the broken package has a higher version number then the correct one)

On 6/3/2014 2:58 PM, Pedro Sousa wrote:
Hi Brian,

I've done that but the issue persists:

Dependencies Resolved

==============================================================================================================
Package Arch Version Repository Size
==============================================================================================================
Installing:
python-ceph x86_64 0.80.1-0.el6 ceph 70 k

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

Total download size: 70 k
Installed size: 361 k


file /usr/lib/python2.6/site-packages/rbd.pyo from install of python-ceph-0.80.1-0.el6.x86_64 conflicts with file from package ceph-0.80.1-2.el6.x86_64

As you can see the package comes from ceph repo. I also notice that python-ceph-0.80.1-0 and ceph-0.80.1-2 have different versions. Maybe this is the problem?

Thanks.
Pedro Sousa





On Tue, Jun 3, 2014 at 7:46 PM, Brian Rak <b...@gameservers.com <mailto:b...@gameservers.com>> wrote:

    So, the fix I used is to modify /etc/yum.repos.d/epel.repo and add
    'exclude=*ceph*'.  It looks like this:

    [epel]
    name=Extra Packages for Enterprise Linux 6 - $basearch
    #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
    
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch
    failovermethod=priority
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
    exclude=*ceph*

    I've gotten several emails about this, so it's definitely
    something other people are running into.


    On 6/2/2014 1:15 PM, Brian Rak wrote:

        Oh, good catch.  I didn't even notice they were being served
        from epel before.  I'll configure yum to ignore them from
        epel, thanks!

        On 6/2/2014 1:14 PM, Alfredo Deza wrote:

            Oh I see that it is coming from EPEL.

            We have not packaged that, not sure why suddenly EPEL is
            serving those :/

            Officially we have not built a 0.80.1-2. A possible
            workaround for
            this would be to up the priority
            on the repo file for ceph in /etc/yum/repos.d/ceph.repo
            but you would
            need to install yum-priorities and
            make sure you are also not breaking anything else.

            On Mon, Jun 2, 2014 at 1:08 PM, Alfredo Deza
            <alfredo.d...@inktank.com
            <mailto:alfredo.d...@inktank.com>> wrote:

                Brian

                Where is that ceph repo coming from? I don't see any
                0.80.1-2 in
                http://ceph.com/rpm-firefly/el6/x86_64/



                On Mon, Jun 2, 2014 at 10:01 AM, Brian Rak
                <b...@gameservers.com <mailto:b...@gameservers.com>>
                wrote:

                    Also the 0.80.1-2.el6 ceph-radosgw RPM no longer
                    includes an init script.

                    Where is the proper place to report issues with
                    the RPMs?


                    On 6/2/2014 9:53 AM, Brian Rak wrote:

                        Did the python-ceph package go away or
                        something?  Upgrading from
                        0.80.1-0.el6 to 0.80.1-2.el6 does not work.


                        # yum install ceph python-ceph
                        Package python-ceph-0.80.1-0.el6.x86_64
                        already installed and latest
                        version
                        Resolving Dependencies
                        --> Running transaction check
                        ---> Package ceph.x86_64 0:0.80.1-0.el6 will
                        be updated
                        ---> Package ceph.x86_64 0:0.80.1-2.el6 will
                        be an update
                        --> Processing Dependency:
                        libboost_program_options.so.5()(64bit) for
                        package: ceph-0.80.1-2.el6.x86_64
                        --> Processing Dependency:
                        libboost_program_options-mt.so.5()(64bit) for
                        package: ceph-0.80.1-2.el6.x86_64
                        --> Running transaction check
                        ---> Package boost-program-options.x86_64
                        0:1.41.0-18.el6 will be
                        installed
                        --> Finished Dependency Resolution

                        Dependencies Resolved


                        
========================================================================================================================================================================================================================================================================

                          Package Arch Version Repository
                        Size

                        
========================================================================================================================================================================================================================================================================

                        Updating:
                          ceph x86_64 0.80.1-2.el6 epel
                        18 M
                        Installing for dependencies:
                          boost-program-options x86_64 1.41.0-18.el6 base
                        106 k

                        Transaction Summary

                        
========================================================================================================================================================================================================================================================================

                        Install       1 Package(s)
                        Upgrade       1 Package(s)

                        Total download size: 18 M
                        Is this ok [y/N]: y
                        Downloading Packages:
                        (1/2):
                        boost-program-options-1.41.0-18.el6.x86_64.rpm
                        | 106 kB     00:00
                        (2/2): ceph-0.80.1-2.el6.x86_64.rpm |  18 MB 00:00

                        
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                        Total 26 MB/s |  18 MB     00:00
                        Running rpm_check_debug
                        Running Transaction Test


                        Transaction Check Error:
                           file
                        /usr/lib/python2.6/site-packages/ceph_argparse.pyc
                        from install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64
                           file
                        /usr/lib/python2.6/site-packages/ceph_argparse.pyo
                        from install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64
                           file
                        /usr/lib/python2.6/site-packages/ceph_rest_api.pyc
                        from install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64
                           file
                        /usr/lib/python2.6/site-packages/ceph_rest_api.pyo
                        from install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64
                           file
                        /usr/lib/python2.6/site-packages/cephfs.pyc
                        from install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64
                           file
                        /usr/lib/python2.6/site-packages/cephfs.pyo
                        from install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64
                           file
                        /usr/lib/python2.6/site-packages/rados.pyc
                        from install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64
                           file
                        /usr/lib/python2.6/site-packages/rados.pyo
                        from install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64
                           file
                        /usr/lib/python2.6/site-packages/rbd.pyc from
                        install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64
                           file
                        /usr/lib/python2.6/site-packages/rbd.pyo from
                        install of
                        ceph-0.80.1-2.el6.x86_64 conflicts with file
                        from package
                        python-ceph-0.80.1-0.el6.x86_64

                        Error Summary
                        -------------


                        _______________________________________________
                        ceph-users mailing list
                        ceph-users@lists.ceph.com
                        <mailto:ceph-users@lists.ceph.com>
                        http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


                    _______________________________________________
                    ceph-users mailing list
                    ceph-users@lists.ceph.com
                    <mailto:ceph-users@lists.ceph.com>
                    http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


        _______________________________________________
        ceph-users mailing list
        ceph-users@lists.ceph.com <mailto:ceph-users@lists.ceph.com>
        http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to