Bug 1259837
Summary: | Yum will fail once a empty line is encountered in /var/lib/yum/groups/* files | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Roy Williams <fang64> | ||||
Component: | yum | Assignee: | Valentina Mukhamedzhanova <vmukhame> | ||||
Status: | CLOSED ERRATA | QA Contact: | Eva Mrakova <emrakova> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.1 | CC: | aaron, emrakova, james.antill, ksrot, lmiksik, ovasik, pgervase, snagar, valentin.bajrami, vmukhame | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | yum-3.4.3-132.el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-11-19 12:39:00 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Roy Williams
2015-09-03 15:19:31 UTC
Created attachment 1071856 [details]
patch
Valentina, This seems to fix the issue, can this be patched in EL7.0/EL7.1? Or will this require waiting on 7.2? Roy Hello Roy, we may not be able to get the fix in 7.2 as it is quite late already. However, it might be helpful if you escalate this issue officially through a Global support services. Karel, Thanks I will do that I'll reference this BZ Roy Karel, As a follow up, CASE # is 01506368, I've created a RHGS case at Red Hat. Roy Is there a workaround for when this has occurred? I've hit the bug shortly after starting from a minimal install and trying a group install, as such my groups directory only contained two files, installed and environment, both empty. So I just removed the rm -rf /var/lib/yum/groups After this I can still install gnome-desktop-environment but trying to install or remove base doesn't do anything (the suggested command "yum groups mark install base" doesn't change anything either). [root@localhost ~]# yum groups install base 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 Loading mirror speeds from cached hostfile * base: www.muug.mb.ca * extras: www.muug.mb.ca * updates: mirror.its.sfu.ca Warning: Group base does not have any packages to install. Group base does have 1 conditional packages, which may get installed. Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update Aaron, I don't believe this is a problem. You should be able to run yum update after a group is selected and it will install the packages in the groups that are marked for installation. This command behaves more like "yum groups mark install base" occasionally if there are some weird group associations it breaks horribly. I've only seen that problem with EPEL a few times and other third party repositories. Roy (In reply to Aaron Luchko from comment #14) > Is there a workaround for when this has occurred? > > I've hit the bug shortly after starting from a minimal install and trying a > group install, as such my groups directory only contained two files, > installed and environment, both empty. So I just removed the > > rm -rf /var/lib/yum/groups > > After this I can still install gnome-desktop-environment but trying to > install or remove base doesn't do anything (the suggested command "yum > groups mark install base" doesn't change anything either). > > [root@localhost ~]# yum groups install base > 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 > Loading mirror speeds from cached hostfile > * base: www.muug.mb.ca > * extras: www.muug.mb.ca > * updates: mirror.its.sfu.ca > Warning: Group base does not have any packages to install. > Group base does have 1 conditional packages, which may get installed. > Maybe run: yum groups mark install (see man yum) > No packages in any requested group available to install or update Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2095.html *** Bug 1291939 has been marked as a duplicate of this bug. *** |