Re: Problem updating python-devel on FC6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Antonio Olivares wrote:
> I have the same problem, but his easy solution does not work for me
> 
> [root@localhost Downloads]# yum update
> Loading "installonlyn" plugin
> Setting up Update Process
> Setting up repositories
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package libgsf.i386 0:1.14.1-7 set to be updated
> ---> Package bind-libs.i386 31:9.3.3-0.1.rc3.fc6 set to be updated
> ---> Package python-devel.i386 0:2.4.4-1.fc6 set to be updated
> ---> Package libgsf-devel.i386 0:1.14.1-7 set to be updated
> ---> Package bind-utils.i386 31:9.3.3-0.1.rc3.fc6 set to be updated
> ---> Package dhclient.i386 12:3.0.5-1.fc6 set to be updated
> --> Running transaction check
> --> Processing Conflict: python-devel conflicts python < 2.4.4-1.fc6
> --> Finished Dependency Resolution
> Error: python-devel conflicts with python < 2.4.4-1.fc6
> [root@localhost Downloads]# rpm -qa python
> python-2.4.3-18.fc6
> python-2.4.4-1.fc6
> [root@localhost Downloads]# rpm -e python-2.4.3-18.fc6
> error: Failed dependencies:
>         python = 2.4.3-18.fc6 is needed by (installed) python-devel-2.4.3-18.fc6.i386

So python-devel depends on python being at the same level. And you've
got an old version of python-devel.

> [root@localhost Downloads]# rpm -e python-devel-2.4.3-18.fc6
> error: Failed dependencies:
>         python-devel is needed by (installed) sip-devel-4.4.5-3.i386
>         python-devel is needed by (installed) pycairo-devel-1.2.0-1.1.i386

These just want *one* version of python-devel to be installed.

I'd imagine that you've had yum crash on you while you've been updating
python. The packaging system *shouldn't* allow both packages to be
installed at the same time, but it will be inconsistent while doing
updates.

In this case, the easiest thing would simply be to uninstall the -devel
packages and re-install later. Or you could manually download
python-devel-2.4.4-1.fc6,
rpm -e --nodeps python-devel-2.4.3-18.fc6.i386
rpm -e python-2.4.3-18.fc6
rpm -i python-devel-2.4.4-1.fc6.i386.rpm

The newer python-devel package should satisfy the dependencies you broke
with nodeps. You shouldn't normally be allowed to have both versions of
python-devel installed at the same time, and yum won't (normally) let
you, so you do have to use both rpm and --nodeps

Hope this helps,

James.

-- 
E-mail:     james@ | Please do not put sandwiches in the disk drive.
aprilcottage.co.uk | 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux