Problem updating python-devel on FC6
Antonio Olivares
olivares14031 at yahoo.com
Fri Dec 15 13:35:55 UTC 2006
----- Original Message ----
From: James Wilkinson <fedora at aprilcottage.co.uk>
To: fedora-list at redhat.com
Sent: Monday, December 11, 2006 11:50:18 AM
Subject: Re: Problem updating python-devel on FC6
Antonio Olivares wrote:
> I have the same problem, but his easy solution does not work for me
>
> [root at 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 at localhost Downloads]# rpm -qa python
> python-2.4.3-18.fc6
> python-2.4.4-1.fc6
> [root at 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 at 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 |
--
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Thank you very much. Done!! using -nodeps did the trick.
[root at localhost Downloads]# rpm -e --nodeps python-devel-2.4.3-18.fc6.i386
[root at localhost Downloads]# rpm -e python-2.4.3-18.fc6
[root at localhost Downloads]# rpm -i python-devel-2.4.4-1.fc6.i386.rpm
error: open of python-devel-2.4.4-1.fc6.i386.rpm failed: No such file or directory
[root at localhost Downloads]# rpm -qa python*
python-elementtree-1.2.6-5
python-sqlite-1.1.7-1.2.1
python-numeric-23.7-2.2.2
python-urlgrabber-2.9.9-2
python-ldap-2.2.0-2.1
python-2.4.4-1.fc6
[root at localhost Downloads]# yum install python-devel
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package python-devel.i386 0:2.4.4-1.fc6 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
python-devel i386 2.4.4-1.fc6 updates 3.0 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 3.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): python-devel-2.4.4 100% |=========================| 3.0 MB 00:02
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: python-devel ######################### [1/1]
Installed: python-devel.i386 0:2.4.4-1.fc6
Complete!
[root at localhost Downloads]#
Regards,
Antonio
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.
More information about the users
mailing list