Project

General

Profile

wxPython package install problem

Added by Duncan Sousa over 11 years ago

Hi,

I am trying to install Leginon and Appion on CentOS 6.4 (64 bit). I have run into a problem with wxPython package dependencies that I have not found a solution to. The relevant error lines are below. I have tried updating all the package installers, etc.

  1. yum install wxPython
    ...
    --> Processing Dependency: python(abi) = 2.4 for package: wxPython-2.8.12.0-1.el5.x86_64
    --> Finished Dependency Resolution
    Error: Package: wxPython-2.8.12.0-1.el5.x86_64 (epel)
    Requires: python(abi) = 2.4
    Installed: python-2.6.6-36.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
    python(abi) = 2.6
    Available: python-2.6.6-37.el6_4.i686 (updates)
    python(abi) = 2.6
    Available: python26-2.6.8-2.el5.x86_64 (epel)
    python(abi) = 2.6
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

Thanks,
Duncan


Replies (3)

RE: wxPython package install problem - Added by Sargis Dallakyan over 11 years ago

Hi Duncan,

It seems that you have installed el5 instead of el6. Run rpm -e epel-release-5-4.noarch.rpm to remove epel-release-5 or cd /etc/yum.repos.d/ and remove the file corresponding to epel-5. You can then install extra packages for CentOS 6 using:

su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm'

Please let me know if you have questions or need more information.

Sargis

RE: wxPython package install problem - Added by Duncan Sousa over 11 years ago

Hi Sargis,

Thanks for your prompt reply and help! I tried removing my epel install the way you recommended, but it didn't work (see below). I then tried 'yum remove epel-release' and 'rpm --rebuilddb'. Those commands appeared to work so I then ran the reinstall command you recommended. Install of wxPython worked after that.

Duncan

[]# rpm -e epel-release-5-4.noarch.rpm
error: package epel-release-5-4.noarch.rpm is not installed
cd /etc/yum.repos.d/
[]# ls
CentOS-Base.repo remi.repo
CentOS-Debuginfo.repo rpmfusion-free-updates.repo
CentOS-Media.repo rpmfusion-free-updates-testing.repo
CentOS-Vault.repo rpmfusion-nonfree-updates.repo
epel.repo rpmfusion-nonfree-updates-testing.repo
epel-testing.repo
[root@VLA yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile * base: mirrors.lga7.us.voxel.net * epel: www.gtlib.gatech.edu * extras: mirror.cogentco.com * rpmfusion-free-updates: mirror.us.leaseweb.net * rpmfusion-nonfree-updates: mirror.us.leaseweb.net * updates: centos.aol.com
repo id repo name status
base CentOS-6 - Base 6,381
epel Extra Packages for Enterprise Linux 6 - x86_64 9,390
extras CentOS-6 - Extras 13
rpmfusion-free-updates RPM Fusion for EL 6 - Free - Updates 267
rpmfusion-nonfree-updates RPM Fusion for EL 6 - Nonfree - Updates 69
updates CentOS-6 - Updates 1,050
repolist: 17,170

RE: wxPython package install problem - Added by Sargis Dallakyan over 11 years ago

You are very welcome Duncan and thanks for the update. Glad to see install of wxPython worked on your system.

    (1-3/3)