Livecd-tools fails after installing the upgrades to Fedora Workstation 41 available on 2024-12-22. Among the small number of upgrades available that day was an upgrade to python3.x86_64 3.13.1-2.fc41 from python3.x86_64 3.13.0-1.fc41. Livecd-creator worked flawlessly before the upgrades. After the upgrades, every time I run livecd-creator the following error messages show as the livecd-creator script fails: Traceback (most recent call last): File "/usr/bin/livecd-creator", line 265, in <module> sys.exit(main()) ~~~~^^ File "/usr/bin/livecd-creator", line 195, in main ks = imgcreate.read_kickstart(options.kscfg) File "/usr/lib/python3.13/site-packages/imgcreate/kickstart.py", line 54, in read_kickstart ksfile = urlgrabber.urlgrab(path, filename=tmpks) File "/usr/lib/python3.13/site-packages/urlgrabber/grabber.py", line 808, in urlgrab return default_grabber.urlgrab(url, filename, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/urlgrabber/grabber.py", line 1205, in urlgrab (url,parts) = opts.urlparser.parse(url, opts) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/urlgrabber/grabber.py", line 873, in parse pathname = pathname2url(url) File "/usr/lib64/python3.13/urllib/request.py", line 1679, in pathname2url return quote(pathname, encoding=encoding, errors=errors) File "/usr/lib64/python3.13/urllib/parse.py", line 908, in quote raise TypeError("quote() doesn't support 'encoding' for bytes") TypeError: quote() doesn't support 'encoding' for bytes
Update: 1. a) On 2025-01-12 I reinstalled f41 workstation b) ran livecd-creator c) live image built as expected 2. a) dnf5 upgrade -x *python* b) ran livecd-creator c) live image built as expected 3. a) dnf5 upgrade b) ran livecd-creator c) livecd-creator failed with error messages already reported. 4. Conclusion: There is an incompatibility between the livecd-creator script and the python3 packages in the fedora repositories as of 2025-01-13 0230 UTC. P.S. I realize f40 is approaching end of life, but this issue affects f40 workstation as well.
Update for FC41 ... looking at the bug, it still appears to live in the FC42 packages too, my solution and work around to get my build system working again was to downgrade all the Python packages and then perform a version lock. [root@fedora-builder FedoraRemix]# dnf downgrade *python* [root@fedora-builder FedoraRemix]# dnf versionlock add *python* Allowed the build system to get up and running again. Tracking the bug separately with exact package versions in Github repo issue tied to FedoraRemix build. https://github.com/tmichett/Fedora_Remix/issues/83
https://github.com/livecd-tools/livecd-tools/issues/279 Further testing led to the discovering the issue appears only with the kickstart.py. The work around on a system with unlocked versions of Python can be fixed with ... [root@fedora FedoraRemix]# sudo mv /usr/lib/python3.13/site-packages/imgcreate/kickstart.py /usr/lib/python3.13/site-packages/imgcreate/kickstart_bkup.py [root@fedora FedoraRemix]# sudo cp ~travis/Downloads/kickstart.py /usr/lib/python3.13/site-packages/imgcreate/kickstart.py [root@fedora FedoraRemix]# chmod +x /usr/lib/python3.13/site-packages/imgcreate/kickstart.py I believe that Bryan Kearney pointed this out a long while ago with how it processes kickstart files, so is this a regression? https://lists.fedoraproject.org/archives/list/livecd@lists.fedoraproject.org/thread/H3DKUMLTFFOSU7VFDP2GEIWOP5RXISG4/?sort=date
I also stumbled on this and for local files this seems to be fixed in [1]. Would you please consider pushing an update for >=F41? [1] https://github.com/livecd-tools/livecd-tools/commit/41e15de6de2caef6bfadafcaf3dbb60c0531079c.patch
Same problem today with a new Fedora 42 install. Manually changing the kickstart.py file with the previously-mentioned patch did work around the issue. Ideally someone would do a new release of livecd-tools, which would then be picked up by Fedora, but it seems no one is active on that project.
Works for me with proposed patch 41e15de6de2caef6bfadafcaf3dbb60c0531079c.patch (local rebuild).
FEDORA-EPEL-2025-67848c0d6b (livecd-tools-31.0-15.el10_1) has been submitted as an update to Fedora EPEL 10.1. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-67848c0d6b
FEDORA-2025-93966cc044 (livecd-tools-31.0-15.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-93966cc044
FEDORA-EPEL-2025-1e307fb12a (livecd-tools-31.0-15.el10_0) has been submitted as an update to Fedora EPEL 10.0. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-1e307fb12a
FEDORA-2025-7c918882ab (livecd-tools-31.0-15.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-7c918882ab
FEDORA-2025-93966cc044 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-93966cc044` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-93966cc044 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-67848c0d6b has been pushed to the Fedora EPEL 10.1 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-67848c0d6b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-eeac387230 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-eeac387230 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-1e307fb12a has been pushed to the Fedora EPEL 10.0 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-1e307fb12a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-46ecc1cbd8 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-46ecc1cbd8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-7c918882ab has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-7c918882ab` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7c918882ab See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-67848c0d6b (livecd-tools-31.0-15.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2025-1e307fb12a (livecd-tools-31.0-15.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2025-eeac387230 (livecd-tools-31.0-15.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2025-46ecc1cbd8 (livecd-tools-31.0-15.el8) has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-93966cc044 (livecd-tools-31.0-15.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-7c918882ab (livecd-tools-31.0-15.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.