Bug 2088203
| Summary: | redhat-lsb-core for RHEL 9 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Thomas Stephen Lee <lee.jnk> |
| Component: | redhat-lsb | Assignee: | Lukáš Nykrýn <lnykryn> |
| Status: | NEW --- | QA Contact: | qe-baseos-daemons |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | farid_ghoreyshi, frank.vandamme, fweimer, gmadzia92, g.s.srinath89, lee.jnk, martin.weber, naresh.sukhija_ext, quent.haas, sergio, vipnsd12290 |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Thomas Stephen Lee
2022-05-19 02:07:26 UTC
Hi I'm trying to install Canon MF4890dw driver for printing but the script fails because it depends on /usr/bin/lsb_release this is the error message I'm getting: error: Failed dependencies: /usr/bin/lsb_release is needed by cnrdrvcups-ufr2-uk-5.50-1.07.x86_64 so I'd appreciate it if you could provide us with this package and if not possible, suggest us other alternatives. So maybe we might fix it by making a link into /usr/bin/lsb_release +1 - Please add it! (In reply to Farid Ghoreyshi from comment #1) > Hi > > I'm trying to install Canon MF4890dw driver for printing but the script > fails because it depends on /usr/bin/lsb_release this is the error message > I'm getting: > > error: Failed dependencies: > /usr/bin/lsb_release is needed by cnrdrvcups-ufr2-uk-5.50-1.07.x86_64 > > so I'd appreciate it if you could provide us with this package and if not > possible, suggest us other alternatives. So maybe we might fix it by making > a link into /usr/bin/lsb_release I downloaded the following from Fedora 36 redhat-lsb-4.1-56.fc36.src.rpm mailx-12.5-41.fc36.src.rpm ncurses-6.2-9.20210508.fc36.src.rpm star-1.6-6.fc36.src.rpm , made EL 9 RPMS and installed it on RHEL 9 as a workaround for now. (In reply to Thomas Stephen Lee from comment #3) > (In reply to Farid Ghoreyshi from comment #1) > > Hi > > > > I'm trying to install Canon MF4890dw driver for printing but the script > > fails because it depends on /usr/bin/lsb_release this is the error message > > I'm getting: > > > > error: Failed dependencies: > > /usr/bin/lsb_release is needed by cnrdrvcups-ufr2-uk-5.50-1.07.x86_64 > > > > so I'd appreciate it if you could provide us with this package and if not > > possible, suggest us other alternatives. So maybe we might fix it by making > > a link into /usr/bin/lsb_release > > I downloaded the following from Fedora 36 > > redhat-lsb-4.1-56.fc36.src.rpm > mailx-12.5-41.fc36.src.rpm > ncurses-6.2-9.20210508.fc36.src.rpm > star-1.6-6.fc36.src.rpm > > , made EL 9 RPMS and installed it on RHEL 9 as a workaround for now. Made EL9 RPMS ? Could you please shed more light on how you did that ? I need to add fedora 36 Repo or what ? Thanks I downloaded them using the command yumdownloader in a Fedora 36 VM. you can manually download them from https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/tree/Packages/ if you do not want to install Fedora. Once downloaded on your RHEL 9 machine, install the rpm-build package. and do the step from here https://wiki.centos.org/HowTos/RebuildSRPM rpmbuild --rebuild /tmp/mypackage-1.0.0-1.src.rpm @lee.jnk Hi, I'm also trying to install Canon printer drivers on RHEL 9 and I'm getting the same error. I downloaded all the files from Fedora installed the rpm-build package (at least I think so), but the installation of the drivers ends up with the same error. I struggled the most with 'RebuildSRPM' part and probably did something wrong. I'd be very thankful if you could help me with this part. Thanks, Greg Yes, I got an Epson printer and just ran into the same issue. Is there a timeline for resolution? I tried getting the redhat-lsb packages from fedora and tried rpmbuild --rebuild too. But, I still ended up in the same place. Sorry, this is my first time using the bugzilla portal, I don't know how or why the needinfo flag was removed. #From my Bash history Login as your user. ~ sudo dnf install rpm-build ~ mkdir fedora ~ cd fedora/ ~ wget https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/tree/Packages/r/redhat-lsb-4.1-56.fc36.src.rpm ~ wget https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/tree/Packages/m/mailx-12.5-41.fc36.src.rpm ~ wget https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/tree/Packages/n/ncurses-6.2-9.20210508.fc36.src.rpm ~ wget https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/tree/Packages/s/star-1.6-6.fc36.src.rpm ~ rpmbuild --rebuild redhat-lsb-4.1-56.fc36.src.rpm ~ rpmbuild --rebuild mailx-12.5-41.fc36.src.rpm ~ rpmbuild --rebuild ncurses-6.2-9.20210508.fc36.src.rpm ~ rpmbuild --rebuild star-1.6-6.fc36.src.rpm ~ cd ~ mkdir rhel ~ cd rhel/ ~ cp ~/rpmbuild/RPMS/noarch/*.rpm . ~ cp ~/rpmbuild/RPMS/x86_64/*.rpm . ~ sudo dnf install redhat-lsb-core-4.1-56.el9.x86_64.rpm ncurses-compat-libs-6.2-9.20210508.el9.x86_64.rpm spax-1.6-6.el9.x86_64.rpm redhat-lsb-submod-security-4.1-56.el9.x86_64.rpm I just followed all the instructions above for an Epson printer and it failed again. sudo dnf install epson-inkjet-printer-escpr2-1.1.49-1lsb3.2.x86_64.rpm Updating Subscription Management repositories. Last metadata expiration check: 0:35:03 ago on Tue 16 Aug 2022 01:39:01 AM PDT. Error: Problem: conflicting requests - nothing provides lsb >= 3.2 needed by epson-inkjet-printer-escpr2-1.1.49-1lsb3.2.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) I do not know if it is of any help but https://dl.fedoraproject.org/pub/fedora/linux/updates/36/Everything/source/tree/Packages/e/epson-inkjet-printer-escpr-1.7.18-1.1lsb3.2.fc36.src.rpm https://dl.fedoraproject.org/pub/fedora/linux/updates/36/Everything/source/tree/Packages/e/epson-inkjet-printer-escpr2-1.1.48-1.1lsb3.2.fc36.src.rpm are there and you can build EL 9 RPMs from the source RPMs The lack of this package in RHEL9 is preventing the use of MongoDB Compass as well[1]. [1] https://jira.mongodb.org/browse/COMPASS-6025 (In reply to Thomas Stephen Lee from comment #9) > #From my Bash history > > Login as your user. > > ~ sudo dnf install rpm-build > ~ mkdir fedora > ~ cd fedora/ > ~ wget > https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/ > tree/Packages/r/redhat-lsb-4.1-56.fc36.src.rpm > ~ wget > https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/ > tree/Packages/m/mailx-12.5-41.fc36.src.rpm > ~ wget > https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/ > tree/Packages/n/ncurses-6.2-9.20210508.fc36.src.rpm > ~ wget > https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/ > tree/Packages/s/star-1.6-6.fc36.src.rpm > ~ rpmbuild --rebuild redhat-lsb-4.1-56.fc36.src.rpm > ~ rpmbuild --rebuild mailx-12.5-41.fc36.src.rpm > ~ rpmbuild --rebuild ncurses-6.2-9.20210508.fc36.src.rpm > ~ rpmbuild --rebuild star-1.6-6.fc36.src.rpm > ~ cd > ~ mkdir rhel > ~ cd rhel/ > ~ cp ~/rpmbuild/RPMS/noarch/*.rpm . > ~ cp ~/rpmbuild/RPMS/x86_64/*.rpm . > ~ sudo dnf install redhat-lsb-core-4.1-56.el9.x86_64.rpm ncurses-compat-libs-6.2-9.20210508.el9.x86_64.rpm spax-1.6-6.el9.x86_64.rpm redhat-lsb-submod-security-4.1-56.el9.x86_64.rpm Hi, I followed all the instructions above for lsb-package (which I need for lngrd) in my centos stream 9 but I am getting the following error after running last command: sudo dnf install redhat-lsb-core-4.1-56.el9.x86_64.rpm ncurses-compat-libs-6.2-9.20210508.el9.x86_64.rpm spax-1.6-6.el9.x86_64.rpm redhat-lsb-submod-security-4.1-56.el9.x86_64.rpm Last metadata expiration check: 1:31:01 ago on Saturday 27 August 2022 04:16:47 PM. Error: Problem 1: conflicting requests - nothing provides ncurses-base = 6.2-9.20210508.el9 needed by ncurses-compat-libs-6.2-9.20210508.el9.x86_64 Problem 2: package redhat-lsb-core-4.1-56.el9.x86_64 requires ncurses-compat-libs(x86-64), but none of the providers can be installed - conflicting requests - nothing provides ncurses-base = 6.2-9.20210508.el9 needed by ncurses-compat-libs-6.2-9.20210508.el9.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Please help me to resolve this problem. Thanks (In reply to Vipul Nishad from comment #13) > (In reply to Thomas Stephen Lee from comment #9) > > #From my Bash history > > > > Login as your user. > > > > ~ sudo dnf install rpm-build > > ~ mkdir fedora > > ~ cd fedora/ > > ~ wget > > https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/ > > tree/Packages/r/redhat-lsb-4.1-56.fc36.src.rpm > > ~ wget > > https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/ > > tree/Packages/m/mailx-12.5-41.fc36.src.rpm > > ~ wget > > https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/ > > tree/Packages/n/ncurses-6.2-9.20210508.fc36.src.rpm > > ~ wget > > https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Everything/source/ > > tree/Packages/s/star-1.6-6.fc36.src.rpm > > ~ rpmbuild --rebuild redhat-lsb-4.1-56.fc36.src.rpm > > ~ rpmbuild --rebuild mailx-12.5-41.fc36.src.rpm > > ~ rpmbuild --rebuild ncurses-6.2-9.20210508.fc36.src.rpm > > ~ rpmbuild --rebuild star-1.6-6.fc36.src.rpm > > ~ cd > > ~ mkdir rhel > > ~ cd rhel/ > > ~ cp ~/rpmbuild/RPMS/noarch/*.rpm . > > ~ cp ~/rpmbuild/RPMS/x86_64/*.rpm . > > ~ sudo dnf install redhat-lsb-core-4.1-56.el9.x86_64.rpm ncurses-compat-libs-6.2-9.20210508.el9.x86_64.rpm spax-1.6-6.el9.x86_64.rpm redhat-lsb-submod-security-4.1-56.el9.x86_64.rpm > > > Hi, > I followed all the instructions above for lsb-package (which I need for > lngrd) in my centos stream 9 but I am getting the following error after > running last command: > > sudo dnf install redhat-lsb-core-4.1-56.el9.x86_64.rpm > ncurses-compat-libs-6.2-9.20210508.el9.x86_64.rpm spax-1.6-6.el9.x86_64.rpm > redhat-lsb-submod-security-4.1-56.el9.x86_64.rpm > Last metadata expiration check: 1:31:01 ago on Saturday 27 August 2022 > 04:16:47 PM. > Error: > Problem 1: conflicting requests > - nothing provides ncurses-base = 6.2-9.20210508.el9 needed by > ncurses-compat-libs-6.2-9.20210508.el9.x86_64 > Problem 2: package redhat-lsb-core-4.1-56.el9.x86_64 requires > ncurses-compat-libs(x86-64), but none of the providers can be installed > - conflicting requests > - nothing provides ncurses-base = 6.2-9.20210508.el9 needed by > ncurses-compat-libs-6.2-9.20210508.el9.x86_64 > (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to > use not only best candidate packages) > > > > Please help me to resolve this problem. > Thanks I think the solution should be Red Hat / CentOS Stream 9 providing the packages, as this hack is a temporary solution. the command should be modified as sudo dnf install redhat-lsb-core-4.1-56.el9.x86_64.rpm ncurses-compat-libs-6.2-9.20210508.el9.x86_64.rpm spax-1.6-6.el9.x86_64.rpm redhat-lsb-submod-security-4.1-56.el9.x86_64.rpm ncurses-base-6.2-9.20210508.el9.noarch.rpm as all the new packages are in the same directory. The problem is ncurses is a system package and there will be issues when Red Hat or CentOS releases updates to ncurses. see also https://bugzilla.redhat.com/show_bug.cgi?id=2088871 Perhaps this weekend I will bring redhat-lsb from fedora to epel 9 , I'm studying the case (In reply to Sergio Basto from comment #15) > see also https://bugzilla.redhat.com/show_bug.cgi?id=2088871 > > Perhaps this weekend I will bring redhat-lsb from fedora to epel 9 , I'm > studying the case If of any help, I just needed redhat-lsb-core on RHEL 9 I was able to build it on RHEL 9.1 using ncurses-6.3-4.20220501.fc37.src.rpm and redhat-lsb-4.1-59.fc37.src.rpm from Fedora 37. please follow this bug report https://bugzilla.redhat.com/show_bug.cgi?id=2118596 , as this is Red Hat Enterprise Linux 9 bug and we maybe will fix it on EPEL 9 |