Fedora Account System
Red Hat Associate
Red Hat Customer
When updating the cups-client package from release 41 to release 42 there is a small problem with updateing the alternatives setting. Specifically, the command lpc was moved from /usr/sbin/lpc to /usr/bin/lpc and the alternatives --install command can not handle this. As a workaround you need to run /usr/sbin/alternatives --remove print /usr/bin/lpr.cups and then you can upgrade or re-install cups-client. To test you should be able to re-install cups-client after normal upgrade has completed, and the error should be visible. In the normal update, the error would most likely be missed. Reproducible: Always
Result of upgrading cups-client before fixing it. Total size of inbound packages is 73 KiB. Need to download 73 KiB. After this operation, 0 B extra will be used (install 203 KiB, remove 203 KiB). Is this ok [y/N]: y [1/1] cups-client-1:2.4.11-10.fc42.x86_64 100% | 328.2 KiB/s | 73.2 KiB | 00m00s --------------------------------------------------------------------------------------------------------------------------- [1/1] Total 100% | 147.3 KiB/s | 73.2 KiB | 00m00s Running transaction [1/4] Verify package files 100% | 333.0 B/s | 1.0 B | 00m00s [2/4] Prepare transaction 100% | 10.0 B/s | 2.0 B | 00m00s [3/4] Reinstalling cups-client-1:2.4.11-10.fc42.x86_64 100% | 4.6 MiB/s | 207.4 KiB | 00m00s >>> Running post-install scriptlet: cups-client-1:2.4.11-10.fc42.x86_64 >>> Finished post-install scriptlet: cups-client-1:2.4.11-10.fc42.x86_64 >>> Scriptlet output: >>> link /usr/bin/lpc incorrect for follower print-lpc (/usr/sbin/lpc print-lpc) >>> [4/4] Removing cups-client-1:2.4.11-10.fc42.x86_64 100% | 133.0 B/s | 45.0 B | 00m00s Complete!
Hi Villy! Thank you for reporting the issue and for finding the workaround! I have added %pre scriptlet for client subpackage to remove the lpc follower, which looks working as well - the PR is here https://src.fedoraproject.org/rpms/cups/pull-request/36 . Do let me know if there is issue with the PR. Thank you in advance! Zdenek
(In reply to Zdenek Dohnal from comment #2) > > Do let me know if there is issue with the PR. > Not as far as I can see.
Thank you, Villy!
FEDORA-2025-fcde67aadc (cups-2.4.11-12.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-fcde67aadc
FEDORA-2025-3aff2b6f50 (cups-2.4.11-12.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-3aff2b6f50
FEDORA-2025-3aff2b6f50 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-3aff2b6f50` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3aff2b6f50 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-343fa10617 (cups-2.4.11-13.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-343fa10617
FEDORA-2025-343fa10617 (cups-2.4.11-13.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-6b729d6cea 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-6b729d6cea` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6b729d6cea See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-6b729d6cea (cups-2.4.11-13.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.