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.
Version-Release number of selected component:
The following was filed automatically by anaconda:
anaconda 22.214.171.124-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
File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 267, in _copyLangpacksConfigToTarget
File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1563, in postInstall
File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 257, in doInstall
File "/usr/lib64/python2.7/threading.py", line 764, in run
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'
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
product: Red Hat Enterprise Linux 7
release: Red Hat Enterprise Linux Workstation release 7.2 Beta (Maipo)
Potential duplicate: bug 1172004
Created attachment 1082885 [details]
Created attachment 1082886 [details]
Created attachment 1082887 [details]
Created attachment 1082888 [details]
Created attachment 1082889 [details]
Created attachment 1082890 [details]
Created attachment 1082891 [details]
Created attachment 1082892 [details]
Created attachment 1082893 [details]
Created attachment 1082894 [details]
Created attachment 1082895 [details]
Created attachment 1082896 [details]
Testing with the ks.cfg from:
At the end of the installation I hit this error. IIRC there was a similar error in RHEL 6 but can't find the bug right now.
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.
(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.
Documenting as a known issue with workaround for 7.2, moving to the 7.3 planning list. Thanks, Alexander.
Verified on anaconda-126.96.36.199-1. System is installed successfully with:
%packages --instLangs=bg_BG --nocore --nobase
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.