Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Installation no longer fails when using "%packages --nobase --nocore" in a Kickstart file
Previously, using a Kickstart file which contained the "%packages" section and specified the "--nobase" and "--nocore" options at the same time caused the installation to fail with a traceback message due to a missing _yum-langpacks_ package. The package is now available, and the described problem no longer occurs.
DescriptionAlexander Todorov
2015-10-14 15:58:42 UTC
Version-Release number of selected component:
anaconda-21.48.22.55-1
The following was filed automatically by anaconda:
anaconda 21.48.22.55-1 exception report
Traceback (most recent call first):
File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
File "/usr/lib64/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 267, in _copyLangpacksConfigToTarget
iutil.getSysroot()+_yum_target_langpack_conf)
File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1563, in postInstall
self._copyLangpacksConfigToTarget()
File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 257, in doInstall
payload.postInstall()
File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
threading.Thread.run(self, *args, **kwargs)
IOError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/yum/pluginconf.d/langpacks.conf'
Additional info:
addons: org_fedora_oscap, com_redhat_kdump
cmdline: /usr/bin/python /sbin/anaconda
cmdline_file: inst.repo=http://download.eng.bos.redhat.com/nightly/RHEL-7.2-20151013.n.0/compose/Server/x86_64/os ks=http://192.168.122.1/ks.cfg
executable: /sbin/anaconda
hashmarkername: anaconda
kernel: 3.10.0-323.el7.x86_64
product: Red Hat Enterprise Linux 7
release: Red Hat Enterprise Linux Workstation release 7.2 Beta (Maipo)
release_type: pre-release
type: anaconda
uid: 0
version: 7.2
Potential duplicate: bug 1172004
Comment 1Alexander Todorov
2015-10-14 15:58:44 UTC
Using the kickstart file from bug #1190764, can you add "yum-langpacks" to the %packages section and see if it works? I think this is a bug from the rebase of anaconda, but one that we can work around for 7.2.
Comment 16Alexander Todorov
2015-10-15 08:07:52 UTC
(In reply to David Cantrell from comment #15)
> Using the kickstart file from bug #1190764, can you add "yum-langpacks" to
> the %packages section and see if it works? I think this is a bug from the
> rebase of anaconda, but one that we can work around for 7.2.
Adding yum-langpacks works.
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/RHEA-2016-2158.html
Version-Release number of selected component: anaconda-21.48.22.55-1 The following was filed automatically by anaconda: anaconda 21.48.22.55-1 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: File "/usr/lib64/python2.7/shutil.py", line 130, in copy2 copyfile(src, dst) File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 267, in _copyLangpacksConfigToTarget iutil.getSysroot()+_yum_target_langpack_conf) File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1563, in postInstall self._copyLangpacksConfigToTarget() File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 257, in doInstall payload.postInstall() File "/usr/lib64/python2.7/threading.py", line 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run threading.Thread.run(self, *args, **kwargs) IOError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/yum/pluginconf.d/langpacks.conf' Additional info: addons: org_fedora_oscap, com_redhat_kdump cmdline: /usr/bin/python /sbin/anaconda cmdline_file: inst.repo=http://download.eng.bos.redhat.com/nightly/RHEL-7.2-20151013.n.0/compose/Server/x86_64/os ks=http://192.168.122.1/ks.cfg executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.10.0-323.el7.x86_64 product: Red Hat Enterprise Linux 7 release: Red Hat Enterprise Linux Workstation release 7.2 Beta (Maipo) release_type: pre-release type: anaconda uid: 0 version: 7.2 Potential duplicate: bug 1172004