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.

-1
votes
2answers
35 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
63 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
303 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
435 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
43 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
163 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
175 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
392 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
56 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
22 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
44 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
785 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
51 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
128 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
129 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
582 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
71 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
105 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
206 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
160 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
578 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
239 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
277 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
388 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
185 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
42 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
53 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
96 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
85 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
387 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 ...
7
votes
1answer
418 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 ...
2
votes
1answer
160 views

Custom HTTP repository refusing to display on local Centos server

I set up a local repository of packages, copied from the Centos isntallation DVD iso. The local dns address (myrpmweb) and computer LAN IP successfully loads the Apache 123.. test page, in my Firefox ...
3
votes
1answer
8k views

systemctl status shows vendor preset: disabled

Could someone please clarify what "vendor preset : disable" means? This option is visible after enabling a package in RHEL7.
0
votes
1answer
108 views

Installing a kernel rpm package in Qubes OS complains: dracut-install: ERROR: installing '/usr/lib64/plymouth//label.so'

$ sudo dnf install kernel-latest-4.18.5-8.pvops.qubes.x86_64.rpm kernel-latest-devel-4.18.5-8.pvops.qubes.x86_64.rpm Qubes OS Repository for Dom0 ...
1
vote
0answers
46 views

what is inside weak-update folder?

First, installed a driver package to OS (ex: CentOS ) -- foo_1.0.rpm Second, install the same driver but different version -- foo_2.0.rpm by rpm -ivh --force foo_2.0.rpm It seems an extra folder ...
1
vote
1answer
377 views

CentOS 7 linux-firmware - how to trim it?

CentOS 7 has merged a number of firmware packages into 'linux-firmware' and made these a dependency of kernels. Is there an easy way to create a stripped down version of this, removing those firmware ...
1
vote
1answer
66 views

Cannot build RPM packages from SRPM using mock

I've successfully built the SRPM and after that step I'm trying to build the RPM from the SRPM. Following is the directory from where I am building the RPM. THe Source RPM are in the following ...
1
vote
1answer
76 views

Using 'rpm -i' to install a package on CentOS6 but getting dependency error, even though I have installed the dependency, why?

Operating System = CentOS 6 I'm trying to install a package as follows: rpm -i package_name.rpm But I get the following error: error: Failed dependencies: sqlite >= 3.7.15 is needed by ...
0
votes
1answer
66 views

Why does rpmfusion recommend the nogpgcheck switch?

See the commandline RHEL/CentOS section at https://rpmfusion.org/Configuration/ Doesn't this --nogpgcheck switch allow for tampering to happen unnoticed?
0
votes
1answer
45 views

Listing files in rpm archive

What is the difference in the following 2 commands: rpm -qlp <filename>.rpm rpm -qilp <filename>.rpm I know the -i flag is for install but how does that relate to producing different ...
-1
votes
2answers
318 views

What is the difference on a system level between installing python packages with yum as opposed to pip?

I'm wondering what the difference is between pip, the Python package installer, and yum? As a means of providing some context to my question: I assume the first answer will be because PIP is only ...
0
votes
2answers
88 views

How to install `pg_recvlogical` to Centos 6?

I have a Centos 6 installed. I did yum update. I need pg_recvlogical. I didn't find it using yum search pg_recvlogical so I found it mentioned here. So I download it and wanted to install using rpm -...
2
votes
1answer
744 views

How to eliminate the warnings: mockbuild does not exist

I was building a package from SRPM on Fedora: $ rpmbuild --rebuild *.src.rpm ... warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: ...
0
votes
1answer
127 views

Change creation time of files (RPM) from download time to build time

I am going to create my own internal repository service via createrepo and want to provide an Java repository as well. Downloading the JRE and JDK packages automatically and as described at Stack ...
1
vote
0answers
59 views

How can I repackage a fedora 2[6-8] rpm to a Centos7.5 rpm [closed]

I'd like to be able to install the following fedora rmps on a centos7.5 box. sudo dnf install powerline powerline-fonts sudo dnf install tmux-powerline sudo dnf install vim-powerline Unfortunately ...
0
votes
1answer
55 views

mock config_opts['files'] seem to be ignored

I'm trying to create a fake /etc/hosts to set the hostname in a Mock-built RPM. This is CentOS7 and the Mock/rpmbuild are not new enough to understand the new Fedora _buildhost macro. So I ...
0
votes
2answers
1k views

yum is not working after entering in command in RHEL 7

I entered in a command: $ rpm -e --nodeps python and after that I get this when I try to enter in something with yum: -bash: /bin/yum: /usr/bin/python: bad interpreter: No such file or directory ...
0
votes
1answer
643 views

Java is running from /usr/java/latest/bin/java instead of /usr/bin/java

I have the latest version of Java installed on my system. But I wonder why when I run any program, the location from where java executes is /usr/java/latest/bin/java instead of /usr/bin/java. [...
0
votes
1answer
315 views

dnf can't download package from URL

I have a URL which I want to install a package from. Typing su -c 'dnf install http://www.geogebra.org/download/rpm.php?arch=amd64&ver=6' gives the error: rpm.php?arch=amd64 ...