Skip to content

Instantly share code, notes, and snippets.

@dustymabe
Last active July 17, 2018 15:17
Show Gist options
  • Save dustymabe/21a78b0b5deadbf702067b0aeca3eede to your computer and use it in GitHub Desktop.
Save dustymabe/21a78b0b5deadbf702067b0aeca3eede to your computer and use it in GitHub Desktop.
no python

Below are packages that get removed from host without python

Most notable are:

  • authconfig
  • nfs-utils
  • policycoreutils-python (selinux tools)
  • iscsi-initiator-utils
  • tuned
  • subscription-manager
  • atomic-registries

Note in Fedora Atomic Host there are several other notable ones that would be removed:

  • ceph-common
  • cockpit-docker
  • firewalld
[root@rhcos ~]# rpm -e python
error: Failed dependencies:
        python >= 2.2 is needed by (installed) pyxattr-0.5.1-5.el7.x86_64
        python >= 2.4 is needed by (installed) yum-3.4.3-158.el7.noarch
        python is needed by (installed) ceph-common-1:0.94.5-2.el7.x86_64
        python is needed by (installed) authconfig-6.2.8-30.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-iniparse-0.4-9.el7.noarch
        python(abi) = 2.7 is needed by (installed) python-six-1.9.0-2.el7.noarch
        python(abi) = 2.7 is needed by (installed) python-gobject-base-3.22.0-1.el7_4.1.x86_64
        python(abi) = 2.7 is needed by (installed) python-dateutil-1.5-7.el7.noarch
        python(abi) = 2.7 is needed by (installed) python-decorator-3.4.0-3.el7.noarch
        python(abi) = 2.7 is needed by (installed) python-ipaddress-1.0.16-2.el7.noarch
        python(abi) = 2.7 is needed by (installed) yum-metadata-parser-1.1.4-10.el7.x86_64
        python(abi) = 2.7 is needed by (installed) newt-python-0.52.15-4.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-IPy-0.75-6.el7.noarch
        python(abi) = 2.7 is needed by (installed) libselinux-python-2.5-12.el7.x86_64
        python(abi) = 2.7 is needed by (installed) PyYAML-3.10-11.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-pytoml-0.1.14-1.git7dea353.el7.noarch
        python(abi) = 2.7 is needed by (installed) python-sssdconfig-1.16.0-19.el7.noarch
        python(abi) = 2.7 is needed by (installed) python-ethtool-0.8-5.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-inotify-0.9.4-4.el7.noarch
        python(abi) = 2.7 is needed by (installed) python-configobj-4.7.2-7.el7.noarch
        python(abi) = 2.7 is needed by (installed) audit-libs-python-2.8.1-3.el7.x86_64
        python(abi) = 2.7 is needed by (installed) libsemanage-python-2.5-11.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-backports-1.0-8.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch
        python(abi) = 2.7 is needed by (installed) python-setuptools-0.9.8-7.el7.noarch
        python(abi) = 2.7 is needed by (installed) atomic-registries-1:1.22.1-3.git2fd0860.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-urllib3-1.10.2-5.el7.noarch
        python(abi) = 2.7 is needed by (installed) libxml2-python-2.9.1-6.el7_2.3.x86_64
        python(abi) = 2.7 is needed by (installed) python-dmidecode-3.12.2-2.el7.x86_64
        python(abi) = 2.7 is needed by (installed) pyliblzma-0.5.3-11.el7.x86_64
        python(abi) = 2.7 is needed by (installed) pyxattr-0.5.1-5.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-chardet-2.2.1-1.el7_1.noarch
        python(abi) = 2.7 is needed by (installed) python-requests-2.6.0-1.el7_1.noarch
        python(abi) = 2.7 is needed by (installed) python-perf-3.10.0-862.2.3.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-linux-procfs-0.4.9-3.el7.noarch
        python(abi) = 2.7 is needed by (installed) python-schedutils-0.4-6.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-rados-1:0.94.5-2.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-rbd-1:0.94.5-2.el7.x86_64
        python(abi) = 2.7 is needed by (installed) iscsi-initiator-utils-6.2.0.874-7.el7.x86_64
        python(abi) = 2.7 is needed by (installed) policycoreutils-python-2.5-22.el7.x86_64
        python(abi) = 2.7 is needed by (installed) dbus-python-1.1.1-9.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-pyudev-0.15-9.el7.noarch
        python(abi) = 2.7 is needed by (installed) tuned-2.9.0-1.el7.noarch
        python(abi) = 2.7 is needed by (installed) pygpgme-0.3-9.el7.x86_64
        python(abi) = 2.7 is needed by (installed) rpm-python-4.11.3-32.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-pycurl-7.19.0-19.el7.x86_64
        python(abi) = 2.7 is needed by (installed) python-urlgrabber-3.10-8.el7.noarch
        python(abi) = 2.7 is needed by (installed) yum-3.4.3-158.el7.noarch
        python(abi) = 2.7 is needed by (installed) subscription-manager-rhsm-1.20.11-1.el7_5.x86_64
        python(abi) = 2.7 is needed by (installed) subscription-manager-1.20.11-1.el7_5.x86_64
        python(abi) = 2.7 is needed by (installed) subscription-manager-plugin-container-1.20.11-1.el7_5.x86_64
        python(abi) = 2.7 is needed by (installed) subscription-manager-plugin-ostree-1.20.11-1.el7_5.x86_64
        python(abi) = 2.7 is needed by (installed) ceph-common-1:0.94.5-2.el7.x86_64
        python(abi) = 2.7 is needed by (installed) authconfig-6.2.8-30.el7.x86_64
        python-argparse is needed by (installed) ceph-common-1:0.94.5-2.el7.x86_64
        python-sqlite is needed by (installed) yum-3.4.3-158.el7.noarch
        /usr/bin/python is needed by (installed) gettext-0.19.8.1-2.el7.x86_64
        /usr/bin/python is needed by (installed) python-ethtool-0.8-5.el7.x86_64
        /usr/bin/python is needed by (installed) libsemanage-python-2.5-11.el7.x86_64
        /usr/bin/python is needed by (installed) python-setuptools-0.9.8-7.el7.noarch
        /usr/bin/python is needed by (installed) atomic-registries-1:1.22.1-3.git2fd0860.el7.x86_64
        /usr/bin/python is needed by (installed) libxml2-python-2.9.1-6.el7_2.3.x86_64
        /usr/bin/python is needed by (installed) python-chardet-2.2.1-1.el7_1.noarch
        /usr/bin/python is needed by (installed) python-linux-procfs-0.4.9-3.el7.noarch
        /usr/bin/python is needed by (installed) python-schedutils-0.4-6.el7.x86_64
        /usr/bin/python is needed by (installed) systemd-sysv-219-57.el7.x86_64
        /usr/bin/python is needed by (installed) nfs-utils-1:1.3.0-0.54.el7.x86_64
        /usr/bin/python is needed by (installed) policycoreutils-python-2.5-22.el7.x86_64
        /usr/bin/python is needed by (installed) tuned-2.9.0-1.el7.noarch
        /usr/bin/python is needed by (installed) python-urlgrabber-3.10-8.el7.noarch
        /usr/bin/python is needed by (installed) yum-3.4.3-158.el7.noarch
        /usr/bin/python is needed by (installed) subscription-manager-1.20.11-1.el7_5.x86_64
        /usr/bin/python is needed by (installed) authconfig-6.2.8-30.el7.x86_64

more output from colin:

error: The following base packages would be removed:
PyYAML-3.10-11.el7.x86_64, atomic-registries-1:1.22.1-3.git2fd0860.el7.x86_64,
audit-libs-python-2.8.1-3.el7.x86_64,
authconfig-6.2.8-30.el7.x86_64,
ceph-common-1:0.94.5-2.el7.x86_64,
dbus-python-1.1.1-9.el7.x86_64,
docker-2:1.13.1-63.git94f4240.el7.x86_64,
docker-client-2:1.13.1-63.git94f4240.el7.x86_64,
docker-common-2:1.13.1-63.git94f4240.el7.x86_64,
docker-lvm-plugin-2:1.13.1-63.git94f4240.el7.x86_64,
docker-novolume-plugin-2:1.13.1-63.git94f4240.el7.x86_64,
gettext-0.19.8.1-2.el7.x86_64,
grub2-1:2.02-0.44.el7.x86_64,
grub2-efi-1:2.02-0.44.el7.x86_64,
grub2-tools-1:2.02-0.44.el7.x86_64,
iscsi-initiator-utils-6.2.0.874-7.el7.x86_64,
iscsi-initiator-utils-iscsiuio-6.2.0.874-7.el7.x86_64,
libselinux-python-2.5-12.el7.x86_64,
libsemanage-python-2.5-11.el7.x86_64,
newt-python-0.52.15-4.el7.x86_64,
nfs-utils-1:1.3.0-0.54.el7.x86_64,
origin-node-3.11.0-0.alpha.0.340.a439eee.x86_64,
ostree-grub2-2018.6.41-fef07889d38c55406d687c81b0b29e86532189dc.61448e46ae20d64b69b7d5b0d952fdee94aa8363.el7.centos.x86_64,
podman-0.4.1-4.gitb51d327.el7.x86_64,
policycoreutils-python-2.5-22.el7.x86_64, 
python-IPy-0.75-6.el7.noarch, 
python-backports-1.0-8.el7.x86_64,
python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch, 
python-chardet-2.2.1-1.el7_1.noarch, 
python-configobj-4.7.2-7.el7.noarch,
python-decorator-3.4.0-3.el7.noarch,
python-gobject-base-3.22.0-1.el7_4.1.x86_64,
python-ipaddress-1.0.16-2.el7.noarch,
python-linux-procfs-0.4.9-3.el7.noarch,
python-perf-3.10.0-862.2.3.el7.x86_64,
python-pytoml-0.1.14-1.git7dea353.el7.noarch,
python-pyudev-0.15-9.el7.noarch,
python-rados-1:0.94.5-2.el7.x86_64, 
python-rbd-1:0.94.5-2.el7.x86_64, 
python-requests-2.6.0-1.el7_1.noarch, 
python-schedutils-0.4-6.el7.x86_64,
python-setuptools-0.9.8-7.el7.noarch, 
python-six-1.9.0-2.el7.noarch, 
python-sssdconfig-1.16.0-19.el7.noarch, 
python-urllib3-1.10.2-5.el7.noarch,
sssd-1.16.0-19.el7.x86_64, 
systemd-sysv-219-57.el7.x86_64, 
tuned-2.9.0-1.el7.noarch,
tuned-profiles-atomic-2.9.0-1.el7.noarch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment