[root@RHEL7HARDEN ~]# rpm -qa yum
yum-3.4.3-132.el7.centos.0.1.noarch
[root@RHEL7HARDEN ~]#
I captured the list of ‘Warning: group <groupname> does not exitst.’ (see previous post) from a ‘yum update’ run which I CTRL+c out of once the warnings ended.
I removed the ‘Warning: group ‘ from the front and the ‘ does not exitst.’ from the back and then put the result into a variable.
[root@RHEL7HARDEN ~]# yum groupremove ‘X Window System’ ‘GNOME’
Loaded plugins: fastestmirror, langpacks
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): extras/7/x86_64/primary_db | 90 kB 00:00:03
(2/4): base/7/x86_64/group_gz | 155 kB 00:00:09
(3/4): updates/7/x86_64/primary_db | 953 kB 00:00:09
(4/4): base/7/x86_64/primary_db | 5.3 MB 00:00:10
Determining fastest mirrors
* base: mirror.vastspace.net
* extras: mirror.upsi.edu.my
* updates: mirror.upsi.edu.my
No environment named X Window System exists
No environment named GNOME exists
Maybe run: yum groups mark remove (see man yum)
No packages to remove from groups
[root@RHEL7HARDEN ~]#
I had gone for the ‘yum groups mark remove’ way some days ago when I was hit by that issue…
It looks like setting upgrade_group_objects_upgrade=0 or group_command=simple in /etc/yum.conf resolves this issue.
main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
group_command=simple
# This is the default, if you make this bigger yum won’t see if the metadata
# is newer on the remote and so you’ll “gain” the bandwidth of not having to
# download the new metadata and “pay” for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don’t keep old packages around. If you don’t like this checking
# interupting your command line usage, it’s much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[root@RHEL7HARDEN ~]# yum groupremove ‘X Window System’ ‘GNOME’
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
Loading mirror speeds from cached hostfile
* base: mirror.vastspace.net
* extras: mirror.upsi.edu.my
* updates: mirror.upsi.edu.my
No environment named X Window System exists
No environment named GNOME exists
Resolving Dependencies
–> Running transaction check
—> Package PackageKit-command-not-found.x86_64 0:1.0.7-5.el7.centos will be erased
—> Package PackageKit-gtk3-module.x86_64 0:1.0.7-5.el7.centos will be erased
—> Package abrt-desktop.x86_64 0:2.1.11-36.el7.centos will be erased
—> Package at-spi2-atk.x86_64 0:2.8.1-4.el7 will be erased
–> Processing Dependency: libatk-bridge-2.0.so.0()(64bit) for package: gtk3-3.14.13-16.el7.x86_64
—> Package at-spi2-core.x86_64 0:2.8.0-6.el7 will be erased
–> Processing Dependency: at-spi2-core for package: pyatspi-2.8.0-3.el7.noarch
org-x11-drv-ati x86_64 7.5.0-3.el7 @base 444 k
xorg-x11-drv-dummy x86_64 0.3.6-21.el7 @base 20 k
xorg-x11-drv-evdev x86_64 2.9.2-2.el7 @base 69 k
xorg-x11-drv-fbdev x86_64 0.4.3-20.el7 @base 25 k
xorg-x11-drv-intel x86_64 2.99.917-8.20150615.el7 @base 1.9 M
xorg-x11-drv-nouveau x86_64 1:1.0.11-2.el7 @base 217 k
xorg-x11-drv-qxl x86_64 0.1.1-18.el7 @base 179 k
xorg-x11-drv-synaptics x86_64 1.8.2-1.el7 @base 131 k
xorg-x11-drv-v4l x86_64 0.2.0-42.el7 @base 24 k
xorg-x11-drv-vesa x86_64 2.3.2-20.el7 @base 29 k
xorg-x11-drv-vmmouse x86_64 13.0.0-11.el7 @base 29 k
xorg-x11-drv-vmware x86_64 13.0.2-7.20150211git8f0cf7c.el7 @base 164 k
xorg-x11-drv-void x86_64 1.4.1-1.el7 @base 15 k
xorg-x11-drv-wacom x86_64 0.29.0-1.el7 @base 957 k
yelp-libs x86_64 1:3.14.2-1.el7 @base 243 k
zenity x86_64 3.8.0-5.el7 @base 5.3 M
Transaction Summary
===========================================================================================================================================================================================================
Remove 98 Packages (+133 Dependent packages)
Installed size: 634 M
Is this ok [y/N]:
yum groupremove “multimedia” “internet-browser” “guest-agents” “guest-desktop-agents” “x11” “print-client” “dial-up”
Recent Comments