Created attachment 1239672 [details] flat-fedora-live-python-classroom.ks for the reproducer Situation: python3-tox recommends couple of packages: $ rpm -q --recommends python3-tox pypy pypy3 python26 python27 python33 python34 python35 I want to include python3-tox in kickstart but I don't want to include all of the recommended packages to save space. So I have this in %packages: python3-tox -pypy -python26 -python33 -python34 -python35 Nevertheless those are pulled in: 2017-01-11 23:39:19,828 INFO livemedia-creator: Installing pypy.x86_64 (703/1148) 2017-01-11 23:41:55,280 INFO livemedia-creator: Installing python26.x86_64 (1027/1148) 2017-01-11 23:41:55,280 INFO livemedia-creator: Installing python33.x86_64 (1028/1148) 2017-01-11 23:41:55,280 INFO livemedia-creator: Installing python34.x86_64 (1029/1148) 2017-01-11 23:41:55,284 INFO livemedia-creator: Installing python35.x86_64 (1064/1148) Version-Release number of selected component (if applicable): 26.3-2.fc26 25.17-1.fc25 How reproducible: In 25 and rawhide mock. Steps to Reproduce: 1. livemedia-creator --make-iso --no-virt --ks /root/flat-fedora-live-python-classroom.ks --release 26 Actual results: pypy, python26, python33, python34 and python35 are installed in the image Expected results: pypy, python26, python33, python34 and python35 are not installed in the image Note that I was not able to create iso in rawhide mock due to bz1412391 but the log already revealed this. Also the iso created in F25 mock contains those and they can be safely removed via dnf when the iso is booted (so they are not pulled in as a dependency of another package). Attaching flat-fedora-live-python-classroom.ks
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
This is also an option in Koji. See https://koji.fedoraproject.org/koji/packageinfo?packageID=23843 It contains python26 and others even when explicitly minused.
s/an option/an issue/
The way to fix this is to make it so that packages not wanted are set as excluded from the DNF sack. I've done this change in livecd-tools for this reason: https://github.com/livecd-tools/livecd-tools/commit/617e737474fb17da0e266422367e56ec54516bec I ported this change to Anaconda (which is what actually does the real processing for lorax): https://github.com/rhinstaller/anaconda/pull/917 This is also the same solution that is used for other similar media creation tools (such as KIWI from SUSE, which the "ignore" tag for packages does the same thing).
This isn't something that lmc has any control over. It will need to be addressed by Anaconda.
PR: https://github.com/rhinstaller/anaconda/pull/917
This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.