Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rpm]

RPM is a package management system intended primarily for Linux distributions.

9
votes
1answer
256 views

Equivalent of `rpm -K` using `apt`

What is the apt equivalent of rpm -K *.rpm, where -K is defined as verifying the signature of the repository in man rpm and in Maximum RPM? Example of a situation: sudo rpm --import https://mirrors....
0
votes
1answer
30 views

How RPM and dnf databases are maintained?

Does dnf and rpm uses the same database to store details about installed packages.? Can someone mention the path of database created by rpm and dnf?
0
votes
3answers
28 views

sed search and show matching pattern, removing the rest

I am trying to clean a list containing packages. I wish to remove the package revisions, leaving the package names only. I see every package has naming convention like this: package-name-majorver-...
-1
votes
1answer
26 views

Converting .rpm to .deb using alien

I am trying to convert .rpm to .deb using alien command: sudo alien <name of package>.rpm But it's just create a directory that has the same name but never get .deb to install it There is no ...
0
votes
0answers
23 views

“rpm -qa kernel” command lists only older version of the kernel on CentOS. why?

Typing rpm -qa kernel on CentOS terminal only shows kernel version - 3.10.0-957.5.1.el7.x86_64 but I do have 4.20.12-1.el7.elrepo.x86_64 also installed and currently running. $ rpm -qa kernel ...
0
votes
1answer
63 views

How do I set a RPM package to require Java 8 or higher, whose dependencies can be satisfied by Java 11

I'm trying to package an RPM that requires any Java version above Java 8. The RPM works fine if there's no Java installed, or if JRE/JDK for 8 is installed. HOWEVER if I install OpenJDK 11, when I ...
0
votes
0answers
16 views

How to install specific NetworkManager package in Linux

While installing the NetworkManager package to a specific version it's always recommending to install stable NetworkManager package. Example- If I am trying to install: # yum install NetworkManager-...
0
votes
2answers
46 views

Change and Remove several package by command

I want to remove several package by using rpm -qa --last to check, i afraid doing wrongly and crash the system. Question: I have installed pcsc tool for two installation in one system, how to set ...
0
votes
1answer
33 views

How to configure rpmbuild to forbid installing 32 bit package in 64 bit systems?

I'm packaging software in RPM and distributing it in different packages by architecture (32bit or 64bit). Some libraries of my 32bit package have binaries that cannot be executed in 64bit systems (...
1
vote
1answer
55 views

CentOS rpm package not available when using yum

I wanted to install Oracle 11.2 on my centOS7. I did all but one prerequisite steps. Oracle requires me to have a lot of rpm packages preinstalled. Do I need to find all of them and then download ...
0
votes
1answer
56 views

cannot offline install vnc server on CentOS 7

I am trying to install realvnc server on my CentOS 7 VM. I've downloaded the rpm package from the official website. I am using ESXI and nothing is or should be connected to the internet. When trying ...
0
votes
1answer
28 views

How to easily convert Debian script to RPM script? [closed]

I'm aiming to translate a Debian package to an RPM package to install it on a CentOS Linux 7 (Red Hat).I used alien to accomplish it: alien --to-rpm --scripts --keep-version debian_pkg.deb. However, ...
1
vote
1answer
107 views

No rpmlib(SetVersions) with the rpm-4.11.3-35.el7.x86_64.rpm?

How to resolve the following problem without the rpmlib(SetVersions): [root@cspt3db5 install]# [root@cspt3db5 install]# [root@cspt3db5 install]# rpm -ivh libgpm-1.20.1-alt18.1.x86_64.rpm ...
1
vote
1answer
38 views

Why does tab completion not work for all rpm command options?

When running the command rpm --query --all the options such as --query and -all are auto-completed when using the tab key. When running the command rpm --verify --all, the option --all does not auto-...
0
votes
1answer
48 views

Why package installation with yum show wrong source repository?

I have a brand new CentOS 7 VM. Right after a global yum -y update I'm trying to install additional packages, for instance net-snmp. Package net-snmp 1:5.7.2-33.el7_5.2 (...
0
votes
0answers
36 views

Centos: no such package(s) for specific nginx version

I tried to build a customized nginx with specific nginx version with module in https://github.com/anomalizer/ngx_aws_auth I setup the nginx repo # nginx.repo [nginx] name=nginx repo baseurl=http://...
2
votes
1answer
48 views

What are the relationships between package commands?

RPM based package managers support subcommands such as requires, recommends, conflicts, obsoletes, suggests and supplements. In reading the rpm man pages and dependencies documentation, it isn't ...
6
votes
1answer
273 views

Where I can find original CentOS RPM Spec files?

Recently CentOS upgraded from 7.5 to 7.6 and now one of the packages upgraded to a newer version I'm not ready to use yet. I'm planning instead to build and support an older version of this package. ...
-1
votes
2answers
34 views

rpm used before to install/upgrade packages - would now want to use yum instead

Someone was performing an upgrade of a software running on our RHEL Server with rpm -Uvh package_name.rpm I'd like to use yum -U package_name.rpm Can this cause any problem or inconsistency?
0
votes
2answers
51 views

rpm -e package does not remove entry from /etc/passwd

I've been playing around with Splunk and got some questions: I have installed it using rpm -iv splunk-7.2.3-06d57c595b80-linux-2.6-x86_64.rpm I removed it next using rpm -e splunk-7.2.3-...
0
votes
1answer
139 views

alien conversion from deb to rpm on fedora 27

I find myself unable to convert a .deb package to .rpm to install it on fedora. I am not able to download the equivalent rpm file, so conversion is my only way out. I get this error after using the ...
2
votes
1answer
126 views

How to set an environment variable during package installation

I am working on a legacy cross-platform project packaged to both DEB and RPM formats. Once the Linux package is installed, an environment variable holding the path to the installation folder is ...
-1
votes
2answers
39 views

How is RPM package installed?

This is like a 'chicken and egg' question. RPM package manager (similarly other package management programs) is packaged in an RPM package itself and installed. But then how is RPM initially installed?...
2
votes
0answers
80 views

How to build an RPM package for python app that works in Fedora 28 and 29, which have different default Python3 version?

What I Want To Do I'm trying to build an RPM package of my app that could be installed in different Fedora distros, which have different default Python 3 versions (i.e. Fedora 28 has python3.6, and ...
2
votes
1answer
78 views

Disable automatic package update in RPM package manager for single application in CentOS7

How can I disable automatic package update in RPM package manager for a single application in CentOS 7?
1
vote
1answer
202 views

Package libibumad is obsoleted by mlnx-ofa_kernel

I wanted to update a KVM virtualization suite (VMmanager KVM) running on CentOS 7. The error I am getting: Package libibumad-17.2-3.el7.x86_64 is obsoleted by mlnx-ofa_kernel-4.3-OFED.4.3.1.0.1.1....
0
votes
1answer
38 views

How to ingore rpmfusion source repos when downloading source package

I have few rpm repos in my Fedora installation and I've want to download source package and got error that synchronization of rpmfusion-free-updates-source and rpmfusion-nonfree-updates-source failed. ...
0
votes
0answers
15 views

Using RPM's '–prefix NEWPATH option' with alien

Alien can used to install an RPM to Ubuntu and it works great. However on CentOS I can do the following sudo rpm -i --prefix=/tmp/acme acme-1.1-1.el7.noarch.rpm i.e. the RPM can be installed to a ...
1
vote
2answers
42 views

Is there a chance that a CentOS machine does not have RPM?

I am going to work on a remotely located CentOS machine without internet. I do not know its situation and it is very hard for me to move things between. In other words I have only one-shot for setting ...
0
votes
1answer
224 views

How to download rpm packages manually (without yum)?

I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either. Can I download .rpm packages manually? If yes, ...
0
votes
0answers
32 views

Install a source RPM from Fedora's rpms

I found a great package on Fedora Package Sources. It is hosted as source codes. The specific package is Syncthing, whose official website provides an rpm binary download. But I would like the ...
-1
votes
1answer
97 views

Linux Repository Error

I created a network repository for the hosts that hasn't got internet connection.So the environment has 1 repo server and 1 client. (It's in the test stage so both host can go to internet). I did make ...
1
vote
1answer
27 views

Create a RPM repo and hosted in a cloud service? [closed]

I want to know how can I create my own Fedora repository and if the packages can be hosted in a Cloud service like Dropbox or Google Drive?.
1
vote
1answer
86 views

Install custom perl modules

I have build an RPM from a proprietary software collection in a CentOS 7 environment but the build process required executing some Perl modules (.pm files) found within the source itself. When I ...
0
votes
1answer
264 views

yum install dependency problem

I want install ansible on server without internet and I have this error : Error: Package: 1:openssl-devel-1.0.1e-60.el7.x86_64 (@local-repo) Requires: openssl-libs(x86-64) = 1:1.0.1e-60....
2
votes
1answer
52 views

Python module RPM package Requires section

I am trying to build an RPM package for some Python module (actually its graph-tool: https://git.skewed.de/count0/graph-tool/) The question is: what do I have to put to the Requires section? If I, ...
1
vote
2answers
74 views

How query custom installed rpm package

How query custom installed rpm package Generally if i need to query rpm based package I use following commands rpm -qi package rpm -ql package # to get installed binaries of package rpm -qf ...
1
vote
2answers
137 views

After an AIX mksysb NIM migration upgrade, virtual package AIX-rpm is out-of-sync with the OS level

After upgrading an AIX system using mksysb migration via NIM, the AIX-rpm virtual package was left behind at the previous AIX level: $ oslevel -r 7100-04 $ rpm -q AIX-rpm AIX-rpm-6.1.7.0-7 This ...
5
votes
1answer
133 views

Why does the rpm command have a '--pipe' option?

From rpm's man page: --pipe CMD Pipes the output of rpm to the command CMD. Why was this added? Why would you use it instead piping via the shell itself?
0
votes
2answers
240 views

Have /bin/bash not /usr/bin/bash but Cant install RPM Update because of Failed Dependency

Linux system with bash located in /bin and not /usr/bin. Attempting to install (as root) glibc-common-2.17-222.el7.x86_64 using either of the following commands: rpm -ivh glibc-2.17-222.el7.x86_64....
0
votes
1answer
207 views

Custom options during RPM install with rpmbuild

I would like to use custom options during RPM install. I use rpmbuild to craft the RPM so I have the SPEC file. Can I define my own option that I can use in the SPEC file (e.g. rpm -i --r_password=...
1
vote
2answers
140 views

SUSE Linux Signature verification failed

When I code, build and sign .rpm file for SUSE Linux, it is signed successfully as follows: rpm --checksig -v xxx.rpm Header V4 RSA/SHA256 Signature, key ID 7936b039: OK Header SHA1 digest: OK ...
1
vote
2answers
281 views

How to update Firefox offline to a specific version on Centos 6.9

I'm trying to install a specific version of Firefox (52.8) on Centos 6.9. I've used "yumdownload --resolve firefox...x86_64". It created a folder the firefox rpm as well as 5 or six other dependencies....
0
votes
3answers
77 views

Why does rpm -i <package> fail on a dependency that I have installed?

I tried installing the following package: [root@localhost ~]# rpm -i libmicrohttpd-0.9.22-1.el7.centos.x86_64.rpm But I got an error for failed dependencies: [root@localhost ~]# rpm -i ...
0
votes
1answer
40 views

What is the recommended way to clean my system after removing an rpm?

Assume I remove an rpm as follows: rpm -e <package-name> I then do a system wide search: find / |grep <keyword-from-package-name> It returns many instances where the keyword was ...
0
votes
1answer
33 views

Rebuild from src.rpm using new version

This is a follow up to my previous question regarding Building QuantLib on Amazon Linux. I followed the instructions in the answer posted by MLu: Download the source RPM (QuantLib-1.4-7.el7.src.rpm) ...
0
votes
2answers
67 views

Glib-2.28 RPM package dependency problem

On rpmfind.net's page for glibc-2.28.9000-6.fc30 RPM for i686, libc.so.6(GLIBC_2.28) is listed under both "Provides" and "Requires", so it's impossible to satisfy the package dependency?
1
vote
1answer
63 views

Building QuantLib on Amazon Linux

I am trying to get QuantLib version 1.13 running on Amazon Linux. I found some .rpm files at https://pkgs.org/download/QuantLib, although there is an up to date .rpm for Fedora, there isn't one for ...
1
vote
1answer
249 views

How to add rpm fusion testing repository in Fedora?

This is similar question to How to add the RPM Fusion and livna repositories to Fedora? but I want to install testing repository so I can have Chromium 68. I have testing fedora repo and I need ...
6
votes
1answer
222 views

What is the proper way to set SELinux context in an RPM .spec? (RHEL7 in 2018)

The RHEL7 supplied tomcat package supports multiple instances through the creation of directories and symlinks. Once such a multiple instance is created and packaged as an RPM, the extra instances ...