This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2088203 - redhat-lsb-core for RHEL 9
Summary: redhat-lsb-core for RHEL 9
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: redhat-lsb
Version: 9.0
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-19 02:07 UTC by Thomas Stephen Lee
Modified: 2023-10-13 11:30 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-21 10:55:40 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-5840 0 None Migrated None 2023-10-13 11:30:22 UTC
Red Hat Issue Tracker RHELPLAN-122515 0 None None None 2022-05-19 02:17:27 UTC

Internal Links: 2118596

Description Thomas Stephen Lee 2022-05-19 02:07:26 UTC
Hi,

Kindly Provide the redhat-lsb-core package for RHEL 9.
I am looking for the lsb_release script available in most distributions.

I was able to rebuild  and install the package on RHEL 9 with SRPMs from RHEL 8.
Kindly make the package available for RHEL 9 also.

Thanks

Comment 1 Farid Ghoreyshi 2022-06-24 08:46:30 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

Comment 2 martin.weber 2022-06-28 03:54:12 UTC
+1 - Please add it!

Comment 3 Thomas Stephen Lee 2022-06-29 12:01:08 UTC
(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.

Comment 4 Farid Ghoreyshi 2022-07-03 12:54:21 UTC
(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

Comment 5 Thomas Stephen Lee 2022-07-05 04:53:44 UTC
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

Comment 6 gmadzia92@gmail.com 2022-08-09 20:30:26 UTC
@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

Comment 7 Srinath 2022-08-16 03:40:05 UTC
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.

Comment 8 Srinath 2022-08-16 03:41:45 UTC
Sorry, this is my first time using the bugzilla portal, I don't know how or why the needinfo flag was removed.

Comment 9 Thomas Stephen Lee 2022-08-16 08:35:52 UTC
#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

Comment 10 Srinath 2022-08-16 09:14:26 UTC
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)

Comment 12 Quentin Haas 2022-08-17 15:03:15 UTC
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

Comment 13 Vipul Nishad 2022-08-27 12:45:17 UTC
(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

Comment 14 Thomas Stephen Lee 2022-08-29 06:19:15 UTC
(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.

Comment 15 Sergio Basto 2023-02-03 14:31:24 UTC
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

Comment 16 Thomas Stephen Lee 2023-02-04 22:06:19 UTC
(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.

Comment 17 Sergio Basto 2023-02-05 18:57:38 UTC
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

Comment 18 RHEL Program Management 2023-09-21 10:48:54 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 19 RHEL Program Management 2023-09-21 10:55:40 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.

Comment 20 Sergio Basto 2023-10-13 11:30:22 UTC
BTW , just in case redhat-lsb-5.0 is arriving to epel 9 ,  https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-336dbb57e0


Note You need to log in before you can comment on or make changes to this bug.