All Questions
222
questions
3
votes
2
answers
260
views
giving variables a default value in a spec file
I have a spec (myspecfile.spec) file that looks similar to
Name: package-%{myname}
Version: %{myversion}
Release: %{myrelease}
License: gpl2
Summary: this is my package
BuildArch: noarch
%...
0
votes
0
answers
17
views
Custom package security metadata (RPM)
I'm extremely new to packaging RPM's. I have an internal yum repository that I have RPM's for internal SSL certificates, but a few other programs/utilities that are simple enough to package that I can'...
0
votes
1
answer
44
views
How to identify which rpm database is being queried?
Good morning,
I have an internal tool that does some requirements checks prior to deploy our software. One of these checks is to check for mandatory packages installed or not.
When the client executes ...
0
votes
1
answer
91
views
RHEL9: List dependencies of a "rpm" package with "dnf": I wish to see the Repo package name
List dependencies of a "rpm" package with "dnf".
dnf repoquery --requires java-17-openjdk-devel
Updating Subscription Management repositories.
(..)
/bin/sh
/usr/sbin/alternatives
...
0
votes
0
answers
68
views
TOTP app for SL7 (RHEL7), preferably RPM?
We are unfortunately stuck with Scientific Linux 7 (a RHEL 7 clone) for a while longer, until we prepare our move to Ubuntu later this year. Our organisation is now also starting to require MFA for ...
3
votes
1
answer
312
views
RHAOS packages on RHEL
I am downloading some RPM packages from the Red Hat Customer site and came across some rhaos packages. I'm not sure what they are exactly.
For example: podman-4.4.1-3.rhaos4.13.el8.x86_64.rpm
I couldn'...
0
votes
1
answer
4k
views
yum equivalent of rpm --nofiledigest/--nomd5
I have a package that I would like to install. However, I get the following error when doing so
# yum install package.rpm
...
Transaction test succeeded
Running transaction
Installing : package....
1
vote
0
answers
3k
views
package XX does not verify: Payload SHA256 ALT digest: BAD
Trying to install a package using yum with and without the option --nogpgcheck on RHEL 9.
In both cases I get the following error:
package XXX does not verify: Payload SHA256 ALT digest: BAD (Expected ...
0
votes
1
answer
320
views
Can I install an rpm for RHEL 8.4 on RHEL 8.2 ? (that is, across minor releases)
Can I install rpm across minor releases within a major release of RHEL, such as RHEL 8.4 packages on RHEL 8.2 ? (e.g. of my scenario is provided at the end)
I see some info regarding compatibility ...
0
votes
0
answers
757
views
Yum is broken after deleting /lib64/python3.6 on CentOS 8
I accidentally removed /lib64/python3.6 which was installed with yum previously. Yum is now broken and i cant install packages. I am running on CentOS8. I installed python3.10 from source. I have ...
0
votes
0
answers
174
views
Conditional package dependencies
I am creating an RPM package for Red Hat Enterprise Linux. My software requires the 'redhat-lsb' package when running on RHEL 7 and 8, but does not require it on RHEL 9. Furthermore, the package isn't ...
2
votes
1
answer
1k
views
What is the best way to distribute a kernel module with the source code?
I have a kernel module and I would like to distribute it (ie. package it).
I'd like to distribute it so that the user doesn't need to do anything other than yum/dnf install kmod-mymodule.
SRPM: The ...
0
votes
0
answers
347
views
RPMDB Corruption Issue - RHEL 7
RPMDB got corrupted recursively on one of my server recursively.
2016-07-07 14:14:31,296 - ERROR - error: rpmdb: BDB0113 Thread/process 6723/140691298633536 failed: BDB1507 Thread died in Berkeley ...
1
vote
3
answers
1k
views
How do you build an in-tree kernel module as if it were an out-of-tree kernel module?
I would like to use the Oracle Linux UEK7 Kernel but UEK7 disabled DRBD , which we rely on heavily.
However, the .src.rpm is available so theoretically the drbd.ko module could be built against /lib/...
0
votes
2
answers
444
views
How to upgrade RPM to 4.16 on RedHat 8?
I would like to upgrade RPM to version 4.16 on RedHat 8. I currently have 4.14.3 installed.
When I try to upgrade, I get "Nothing to do":
$ sudo yum -y upgrade rpm
Updating Subscription ...