Questions tagged [rpm]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
363 views

porting install scripts : can rpm replace apt?

I have the following install script for ubuntu : #!/bin/bash sudo apt update sudo apt full-upgrade -y sudo apt install jq sudo apt autoclean -y sudo apt autoremove will the following work under ...
3
votes
1answer
176 views

How to depend on java 11 so it can be satisfied by openjdk or by Oracle java 11 packages?

I'm trying to create an rpm package with a dependency on java 11; however, it seems like the openjdk and Oracle java 11 packages don't provide any overlapping java virtual packages. OpenJDK Java 11 ...
1
vote
2answers
128 views

How to acquire SPEC files from SRPM?

is it possible to specifically download only SPEC files (which are used in srpm files for rpm building) ? Or more precisely, is there any server that would store only SRPM files available for ...
2
votes
1answer
33 views

What utility does rpm --import use to download keys?

I was trying to add brave key to fedora repository. I am behind a http-proxy, so I am unable to connect.I wonder what utility (like wget or curl) does rpm use to download the keys? so that I can add ...
1
vote
1answer
114 views

MySQL Java connector still using old java version?

Installing mysql-connector-java-8.0.15-1.el6.noarch.rpm (available here ) shows libgcj package as a dependency. Installing libgcj creates below file: /usr/bin/gij $/usr/bin/gij -version java version ...
2
votes
1answer
41 views

rpm -V verify purpose

I am told I should do rpm -Va because: operating system must be configured so that the cryptographic hash of system files and commands matches vendor values... Without cryptographic integrity ...
2
votes
1answer
194 views

RHEL/CentOS - How can I find all rpm packages which depends on a particular package?

Linux distribution: Red Hat Enterprise Linux Server release 6.10 (Santiago) Context: I need to uninstall all old versions of Java in my server. I have the list of java paths, example: /usr/lib/jvm/...
0
votes
1answer
175 views

Can one file be owned by two RPM packages?

Below commands show that one file is owned by two packages. Is there something wrong or is this an expected/acceptable behaviour with RPM packages? $rpm -qf /bin/ls coreutils-8.4-46.el6.x86_64 ...
9
votes
1answer
310 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
53 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
30 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
167 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
79 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
853 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
32 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
63 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
141 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
153 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
239 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
47 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
2k 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
52 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
237 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
94 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
66 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
600 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
39 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
82 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
455 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 ...
3
votes
1answer
618 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
61 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
278 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
252 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
585 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
71 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
28 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
46 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 ...
2
votes
2answers
2k 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
70 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
182 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
29 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
2answers
173 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
889 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
96 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
171 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 ...
2
votes
2answers
263 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
194 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
1k 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
280 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
450 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 ...