#2727 Python cannot be updated when freeipa is installed
Closed: Fixed None Opened 11 years ago by mkosek.

I caught this error on Fedora 17. When freeipa package is installed, I can no longer update the python package:

# yum update 
Resolving Dependencies
--> Running transaction check
---> Package apache-commons-logging.noarch 0:1.1.1-17.fc17 will be updated
---> Package apache-commons-logging.noarch 0:1.1.1-19.fc17 will be an update
---> Package bind-dyndb-ldap.x86_64 0:1.1.0-0.10.b2.fc17 will be updated
---> Package bind-dyndb-ldap.x86_64 0:1.1.0-0.11.rc1.fc17 will be an update
---> Package biosdevname.x86_64 0:0.3.11-6.fc17 will be updated
---> Package biosdevname.x86_64 0:0.4.0-1.fc17 will be an update
---> Package cpp.x86_64 0:4.7.0-2.fc17 will be updated
---> Package cpp.x86_64 0:4.7.0-3.fc17 will be an update
---> Package db4.x86_64 0:4.8.30-9.fc17 will be updated
---> Package db4.x86_64 0:4.8.30-10.fc17 will be an update
---> Package dhclient.x86_64 12:4.2.4-0.2.b1.fc17 will be updated
---> Package dhclient.x86_64 12:4.2.4-0.4.rc1.fc17 will be an update
---> Package dhcp-common.x86_64 12:4.2.4-0.2.b1.fc17 will be updated
---> Package dhcp-common.x86_64 12:4.2.4-0.4.rc1.fc17 will be an update
---> Package dhcp-libs.x86_64 12:4.2.4-0.2.b1.fc17 will be updated
---> Package dhcp-libs.x86_64 12:4.2.4-0.4.rc1.fc17 will be an update
---> Package fedora-logos.noarch 0:17.0.0-1.fc17 will be updated
---> Package fedora-logos.noarch 0:17.0.1-1.fc17 will be an update
---> Package gcc.x86_64 0:4.7.0-2.fc17 will be updated
---> Package gcc.x86_64 0:4.7.0-3.fc17 will be an update
---> Package gdb.x86_64 0:7.4.50.20120120-38.fc17 will be updated
---> Package gdb.x86_64 0:7.4.50.20120120-42.fc17 will be an update
---> Package git.x86_64 0:1.7.10-1.fc17 will be updated
---> Package git.x86_64 0:1.7.10.1-1.fc17 will be an update
---> Package glibc.x86_64 0:2.15-32.fc17 will be updated
---> Package glibc.x86_64 0:2.15-35.fc17 will be an update
---> Package glibc-common.x86_64 0:2.15-32.fc17 will be updated
---> Package glibc-common.x86_64 0:2.15-35.fc17 will be an update
---> Package glibc-devel.x86_64 0:2.15-32.fc17 will be updated
---> Package glibc-devel.x86_64 0:2.15-35.fc17 will be an update
---> Package glibc-headers.x86_64 0:2.15-32.fc17 will be updated
---> Package glibc-headers.x86_64 0:2.15-35.fc17 will be an update
---> Package gmp.x86_64 1:5.0.2-5.fc17 will be updated
---> Package gmp.x86_64 1:5.0.2-6.fc17 will be an update
---> Package grub2.x86_64 1:1.99-19.fc17 will be updated
---> Package grub2.x86_64 1:2.0-0.24.beta4.fc17 will be an update
---> Package httpd.x86_64 0:2.2.22-3.fc17 will be updated
---> Package httpd.x86_64 0:2.2.22-4.fc17 will be an update
---> Package httpd-tools.x86_64 0:2.2.22-3.fc17 will be updated
---> Package httpd-tools.x86_64 0:2.2.22-4.fc17 will be an update
---> Package iproute.x86_64 0:3.3.0-1.fc17 will be updated
---> Package iproute.x86_64 0:3.3.0-2.fc17 will be an update
---> Package java-1.7.0-openjdk.x86_64 1:1.7.0.3-2.1.fc17.1 will be updated
---> Package java-1.7.0-openjdk.x86_64 1:1.7.0.3-2.1.fc17.6 will be an update
---> Package junit.noarch 0:4.10-4.fc17 will be updated
---> Package junit.noarch 0:4.10-5.fc17 will be an update
---> Package kernel.x86_64 0:3.3.4-3.fc17 will be installed
---> Package kernel-headers.x86_64 0:3.3.2-8.fc17 will be updated
---> Package kernel-headers.x86_64 0:3.3.4-3.fc17 will be an update
---> Package krb5-devel.x86_64 0:1.10-5.fc17 will be updated
---> Package krb5-devel.x86_64 0:1.10-6.fc17 will be an update
---> Package krb5-libs.x86_64 0:1.10-5.fc17 will be updated
---> Package krb5-libs.x86_64 0:1.10-6.fc17 will be an update
---> Package krb5-pkinit.x86_64 0:1.10-5.fc17 will be updated
---> Package krb5-pkinit.x86_64 0:1.10-6.fc17 will be an update
---> Package krb5-server.x86_64 0:1.10-5.fc17 will be updated
---> Package krb5-server.x86_64 0:1.10-6.fc17 will be an update
---> Package krb5-server-ldap.x86_64 0:1.10-5.fc17 will be updated
---> Package krb5-server-ldap.x86_64 0:1.10-6.fc17 will be an update
---> Package krb5-workstation.x86_64 0:1.10-5.fc17 will be updated
---> Package krb5-workstation.x86_64 0:1.10-6.fc17 will be an update
---> Package libX11.x86_64 0:1.4.99.1-3.fc17 will be updated
---> Package libX11.x86_64 0:1.4.99.901-2.fc17 will be an update
---> Package libX11-common.noarch 0:1.4.99.1-3.fc17 will be updated
---> Package libX11-common.noarch 0:1.4.99.901-2.fc17 will be an update
---> Package libXi.x86_64 0:1.6.0-1.fc17 will be updated
---> Package libXi.x86_64 0:1.6.1-1.fc17 will be an update
---> Package libgcc.x86_64 0:4.7.0-2.fc17 will be updated
---> Package libgcc.x86_64 0:4.7.0-3.fc17 will be an update
---> Package libgomp.x86_64 0:4.7.0-2.fc17 will be updated
---> Package libgomp.x86_64 0:4.7.0-3.fc17 will be an update
---> Package libipa_hbac.x86_64 0:1.8.2-10.fc17 will be updated
---> Package libipa_hbac.x86_64 0:1.8.3-11.fc17 will be an update
---> Package libipa_hbac-python.x86_64 0:1.8.2-10.fc17 will be updated
---> Package libipa_hbac-python.x86_64 0:1.8.3-11.fc17 will be an update
---> Package libssh2.x86_64 0:1.4.1-1.fc17 will be updated
---> Package libssh2.x86_64 0:1.4.1-2.fc17 will be an update
---> Package libsss_sudo.x86_64 0:1.8.2-10.fc17 will be updated
---> Package libsss_sudo.x86_64 0:1.8.3-11.fc17 will be an update
---> Package libstdc++.x86_64 0:4.7.0-2.fc17 will be updated
---> Package libstdc++.x86_64 0:4.7.0-3.fc17 will be an update
---> Package man-db.x86_64 0:2.6.0.2-4.fc17 will be updated
---> Package man-db.x86_64 0:2.6.0.2-6.fc17 will be an update
---> Package mod_auth_kerb.x86_64 0:5.4-9.fc17 will be updated
---> Package mod_auth_kerb.x86_64 0:5.4-13.fc17 will be an update
---> Package mod_nss.x86_64 0:1.0.8-15.fc17 will be updated
---> Package mod_nss.x86_64 0:1.0.8-16.fc17 will be an update
---> Package nss.x86_64 0:3.13.4-2.fc17 will be updated
---> Package nss.x86_64 0:3.13.4-3.fc17 will be an update
---> Package nss-devel.x86_64 0:3.13.4-2.fc17 will be updated
---> Package nss-devel.x86_64 0:3.13.4-3.fc17 will be an update
---> Package nss-sysinit.x86_64 0:3.13.4-2.fc17 will be updated
---> Package nss-sysinit.x86_64 0:3.13.4-3.fc17 will be an update
---> Package nss-tools.x86_64 0:3.13.4-2.fc17 will be updated
---> Package nss-tools.x86_64 0:3.13.4-3.fc17 will be an update
---> Package ntp.x86_64 0:4.2.6p5-1.fc17 will be updated
---> Package ntp.x86_64 0:4.2.6p5-2.fc17 will be an update
---> Package ntpdate.x86_64 0:4.2.6p5-1.fc17 will be updated
---> Package ntpdate.x86_64 0:4.2.6p5-2.fc17 will be an update
---> Package os-prober.x86_64 0:1.51-1.fc17 will be updated
---> Package os-prober.x86_64 0:1.52-2.fc17 will be an update
---> Package perl-Git.noarch 0:1.7.10-1.fc17 will be updated
---> Package perl-Git.noarch 0:1.7.10.1-1.fc17 will be an update
---> Package ppl.x86_64 0:0.11.2-7.fc17 will be updated
---> Package ppl.x86_64 0:0.11.2-8.fc17 will be an update
---> Package ppl-pwl.x86_64 0:0.11.2-7.fc17 will be updated
---> Package ppl-pwl.x86_64 0:0.11.2-8.fc17 will be an update
---> Package python.x86_64 0:2.7.3-3.fc17 will be updated
---> Package python.x86_64 0:2.7.3-6.fc17 will be an update
---> Package python-devel.x86_64 0:2.7.3-3.fc17 will be updated
---> Package python-devel.x86_64 0:2.7.3-6.fc17 will be an update
---> Package python-libs.x86_64 0:2.7.3-3.fc17 will be updated
---> Package python-libs.x86_64 0:2.7.3-6.fc17 will be an update
---> Package rpm.x86_64 0:4.9.1.3-1.fc17 will be updated
---> Package rpm.x86_64 0:4.9.1.3-6.fc17 will be an update
---> Package rpm-build.x86_64 0:4.9.1.3-1.fc17 will be updated
---> Package rpm-build.x86_64 0:4.9.1.3-6.fc17 will be an update
---> Package rpm-build-libs.x86_64 0:4.9.1.3-1.fc17 will be updated
---> Package rpm-build-libs.x86_64 0:4.9.1.3-6.fc17 will be an update
---> Package rpm-libs.x86_64 0:4.9.1.3-1.fc17 will be updated
---> Package rpm-libs.x86_64 0:4.9.1.3-6.fc17 will be an update
---> Package rpm-python.x86_64 0:4.9.1.3-1.fc17 will be updated
---> Package rpm-python.x86_64 0:4.9.1.3-6.fc17 will be an update
---> Package setools-libs.x86_64 0:3.3.7-23.fc17 will be updated
---> Package setools-libs.x86_64 0:3.3.7-24.fc17 will be an update
---> Package setools-libs-python.x86_64 0:3.3.7-23.fc17 will be updated
---> Package setools-libs-python.x86_64 0:3.3.7-24.fc17 will be an update
---> Package sqlite.x86_64 0:3.7.11-1.fc17 will be updated
---> Package sqlite.x86_64 0:3.7.11-2.fc17 will be an update
---> Package sssd.x86_64 0:1.8.2-10.fc17 will be updated
---> Package sssd.x86_64 0:1.8.3-11.fc17 will be an update
---> Package sssd-client.x86_64 0:1.8.2-10.fc17 will be updated
---> Package sssd-client.x86_64 0:1.8.3-11.fc17 will be an update
---> Package systemd.x86_64 0:44-6.fc17 will be updated
---> Package systemd.x86_64 0:44-8.fc17 will be an update
---> Package systemd-sysv.x86_64 0:44-6.fc17 will be updated
---> Package systemd-sysv.x86_64 0:44-8.fc17 will be an update
---> Package tomcat6.noarch 0:6.0.32-20.fc17 will be updated
---> Package tomcat6.noarch 0:6.0.35-1.fc17 will be an update
---> Package tomcat6-el-2.1-api.noarch 0:6.0.32-20.fc17 will be updated
---> Package tomcat6-el-2.1-api.noarch 0:6.0.35-1.fc17 will be an update
---> Package tomcat6-jsp-2.1-api.noarch 0:6.0.32-20.fc17 will be updated
---> Package tomcat6-jsp-2.1-api.noarch 0:6.0.35-1.fc17 will be an update
---> Package tomcat6-lib.noarch 0:6.0.32-20.fc17 will be updated
---> Package tomcat6-lib.noarch 0:6.0.35-1.fc17 will be an update
---> Package tomcat6-servlet-2.5-api.noarch 0:6.0.32-20.fc17 will be updated
---> Package tomcat6-servlet-2.5-api.noarch 0:6.0.35-1.fc17 will be an update
---> Package wpa_supplicant.x86_64 1:1.0-0.3.fc17 will be updated
---> Package wpa_supplicant.x86_64 1:1.0-0.4.fc17 will be an update
---> Package xerces-j2.noarch 0:2.11.0-5.fc17 will be updated
---> Package xerces-j2.noarch 0:2.11.0-7.fc17 will be an update
Fedora-17-alpha-x86_64/filelists_db                                             |  22 MB     00:08     
Fedora-17-alpha-x86_64-updates/filelists_db                                     |  11 MB     00:04     
--> Processing Dependency: /bin/python for package: freeipa-admintools-2.99.0GITc30f375-0.fc17.x86_64
--> Finished Dependency Resolution
Error: Package: freeipa-admintools-2.99.0GITc30f375-0.fc17.x86_64 (installed)
           Requires: /bin/python
           Removing: python-2.7.3-3.fc17.x86_64 (@Fedora-17-beta-x86_64-updates)
               Not found
           Updated By: python-2.7.3-6.fc17.x86_64 (Fedora-17-alpha-x86_64-updates)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I had to uninstall freeipa, update python and install freeipa again to do the actual update.


Patch freeipa-mkosek-257-fix-python-requires-in-fedora-17-build.patch sent for review

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.0 Core Effort - 2012/05

7 years ago

Login to comment on this ticket.

Metadata