Questions tagged [rpm]
.rpm is the file-format used by the RPM Package Manager (originally the Red Hat Package Manager), found primarily in Red Hat Linux and its derivatives.
325
questions
0
votes
0
answers
543
views
Why yum install is giving me this "Could not retrieve mirrorlist" error trying to install a software?
I am not a system engineer (I am more a software developer).
I am trying to install Zabbix agent on a CentOS 7 system and I am finding the following problem with yum (I have done the same process on ...
0
votes
0
answers
261
views
How do I install glusterfs-server using rpm on Oracle Linux 9?
I have to install glusterfs-server using rpm on oracle linux 9.
I just found how to install glusterfs-server on other linux distributions.
But, I can not found any solution for oracle linux 9.
Oracle ...
0
votes
0
answers
127
views
Should files from an RPM package be installed with root permissions?
Our software is installed via RPM alongside a customizable service user and group. No other users need to run the software besides the service user. I've spent some time searching and can't seem to ...
0
votes
1
answer
316
views
How find a fileset install date on RHEL after an OS upgrade
I have a fileset installed months ago, and I need to find the exact date.
My first shoot was rpm -qa -- last | grep myfileset however, the OS was recently upgraded (much after the fileset was ...
4
votes
1
answer
2k
views
No module named yum when working on RHEL 8
Since our application works with python2, we needed to move to RHEL 8
After we installed python2 on RHEL 8 machine, we see the following:
rpm -qa | grep python2
python2-pip-9.0.3-19.module+el8.6.0+...
1
vote
1
answer
1k
views
How to download all dependencies of RPM to offline installation on SUSE 12 SP15
I have SUSE Linux Enterprise Server 12 SP5 and RPM which should be installed offline. How to download all dependencies of RPM to transfer them to offline machine with same OS?
I've tried downloading a ...
1
vote
2
answers
297
views
How to run my installed rpm package?
I have a package that I've installed using
sudo rpm -i getlisteners-debuginfo-1.0.0-113.el7.x86_64
How do I then run my package?
The non-debug version can be run using "getlisteners" in ...
1
vote
1
answer
222
views
Command `yum history package-list` not finding expected matches
On a server of Red Hat 7.9 (Maipo), we got an estimate that we removed the DSMC application from about five months ago. As a due diligence, we need to find more details including exactly when and who.
...
1
vote
1
answer
1k
views
Can't install and use acpi_call on Fedora 37
Fedora 37 Workstation 6.0.7-301.fc37.x86_64
I downloaded acpi_call from here, and rpm -qa | grep acpi_call returns acpi_call-1.1.0-1.noarch, so it's installed.
And rpm -ql acpi_call returns list of ...
2
votes
0
answers
341
views
How to install snmp in ASIANUX Server 7 offline?
I am working with ASIANUX Server7 machine offline and I need to install snmp.
In fact, I downloaded net-snmp-5.7.2-49.el7.x86_64.rpm from other machine and I copied it to the ASIANUX machine and I ...
1
vote
2
answers
2k
views
RPM none-zero exit code if a package is already installed
I created a new script to install a few local packages on CentOS 7 without internet. I want script exits upon any error
set -e
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
rpm --import ./RPM-GPG-...
1
vote
2
answers
6k
views
Installing an RPM package on a server without any access to the internet
I have a minimal CentOS server with no access to the internet. Let's call it server A.
My target it to build a shell script file to install a specific version of a local RPM file for an application. ...
1
vote
1
answer
1k
views
How to remove multiple identical installed RPM packages?
A host crashed near the end of some package update, and now I have an inconsistency I'd like to fix:
rpm -Va complains about dependency packages would be missing, but those packages are installed!
...
0
votes
0
answers
2k
views
Installing Git LFS
I'm following this guide. When I have to run this trainer:
trainer = Seq2SeqTrainer(
model,
args,
train_dataset=tokenized_datasets,
eval_dataset=tokenized_eval,
data_collator=...
1
vote
0
answers
320
views
How To Setup ostree and rpm-ostree on openEuler?
I have a task which is to test the rpm-ostree on openEuler. It seems not set up correctly, simply installing it with yum may not enable it.
> rpm-ostree status
error: This system was not booted via ...
0
votes
2
answers
248
views
What is the strategy used to deploy RPM at the system installation time?
To clarify, I am wondering how you can install RPM on a system at the installation time.
Yes, I know that to install you use "rpm -i", but that is not the question.
My point is that when you ...
0
votes
1
answer
2k
views
beginner RPM about %install and rpmbuild -bb
I am a bit confused about the install step of building a binary RPM.
I think that the install step is designed to be run when the user installs the binary package, the .rpm.
I am trying to package a ...
0
votes
2
answers
1k
views
How do you create a chroot environment for OpenSUSE Leap?
I have CentOS 7 and would like to install a chroot environment of OpenSUSE Leap for testing.
How do I do that?
0
votes
1
answer
2k
views
yum update fails with lots of duplicate packages
I am trying to update a RHEL server that has not been updated for 4 years. yum update returns a lot of duplicate package errors. I can only paste part of the output. How can I clear these and be able ...
0
votes
1
answer
409
views
Remove content from /var/lib/yum/plugins/local in Centos
The /var/lib/yum/plugins/local folder seems to store installed rpm packages:
$ ls /var/lib/yum/plugins/local
389-ds-base-1.2.11.15-95.el6_9.x86_64.rpm
389-ds-base-devel-1.2.11.15-95.el6_9.i686.rpm
......
2
votes
1
answer
14k
views
RPM installation error: failed dependencies
I'm trying to install an application on a GNU/Linux OS with RPM, however it keeps saying me that it's dependencies are failed:
rpm -i sap-1.7.54-0.i686.rpm
error: Failed dependencies:
libncurses....
1
vote
1
answer
543
views
Updating yum package does not install minimal version of required package
Installing pkg-a which Requires: pkg-common >= 1.1.0 does not update existing installed package pkg-common which is as version 1.0.0.
pkg-a Spec
Name: pkg-a
Version: 2.3.4
Requires: pkg-common ...
0
votes
1
answer
135
views
Permit RPM to install file over other RPM's file?
I know, "bad practice". In this case, suppose 2 RPMs which define which things should be installed onto a given server. RPM 1 wants to install config.json and RPM 2 wants to install it as ...
0
votes
1
answer
361
views
why rpm failed but yum worked for the same downloaded rpm
In order to install libpcap-devel offline, I used yum install -y --downloadonly --downloaddir=. libpcap-devel and got 2 rpm:
libpcap-1.5.3-12.el7.x86_64.rpm libpcap-devel-1.5.3-12.el7.x86_64.rpm
Then ...
2
votes
1
answer
4k
views
yum + skip broker or exclude rpms
during yum update on one of our rhel 7.6 server we get the following error
--> Finished Dependency Resolution
Error: Package: libtirpc-devel-0.2.4-0.6.el7.x86_64 (installed)
Requires: ...
0
votes
1
answer
2k
views
Is there a way to determine what the rpm file permissions should be?
I am working on hardening an instance of Fedora CoreOS and I am using OpenSCAP to perform a security scan to enumerate issues that need to be fixed. One of the issues is that some of the permissions ...
0
votes
1
answer
492
views
which iso file to download in order to upgrade rhel from 7.2 to 7.6
we have 762 linux rhel servers with version 7.2
we want to upgrade all servers to rhel 7.6 but off-line ( without network )
from redhat site - https://access.redhat.com/downloads/content/69/ver=/rhel--...
1
vote
1
answer
3k
views
On Fedora - how do I find (configuration-)files which have been altered since installation?
I'm currently observing a problem with my onboard sound device (popular NUC device) and I found no fix for this yet. So I'm currently "hoping" I've made some modifications on some configuration file ...
1
vote
1
answer
794
views
yum: Identifying Packages where Installed version-release is Newer than Repo version-release
I manage my RHEL 6 / 7 systems with yum pointed at a local repository that is a replica of the official repository from Red Hat.
Other people have installed newer versions of some packages as follows:...
1
vote
0
answers
450
views
yum + Multilib version problems found
we are installing now docker on rhel 7.2 version
during yum install we see the following
--> Finished Dependency Resolution
Error: found. This often means that the root
cause is ...
0
votes
1
answer
82
views
creating rpm for two different hardware systems on Mageia
I am trying to build rpm that will be installed in two different hardware devices.
For each hardware , there are different files and commands that need to be done, I want the rpm to auto-detect the hw ...
0
votes
1
answer
458
views
interpretation of yum error messages
I tried to upgrade php 5 to php 7 on CentOS6 but failed with errors like this:
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-5.el6.x86_64 (epel)
Requires: php(api) ...
0
votes
1
answer
947
views
How to set user/group/mode for directory created with `install -D`
When installing a file with the -D option to include creation of parent directories, how do you specify the user, group, and mode to use for the created directories? This is in the context of an RPM ...
1
vote
0
answers
1k
views
How can I upgrade rpm on Centos 7 offline?
I'm trying to install python modules on centos 7 and python2-setuptools-45.2.0-1.noarch requires rpmlib(PayloadIsZstd) <= 5.4.18-1
I have so far installed epel-release-latest-7.noarch by ...
0
votes
0
answers
241
views
yum - unexpected dependency
Platform: CentOS Linux release 7.6.1810 (Core)
I'm trying to download a set of rpm files for an offline installation. I have one master RPM that lists a set of dependencies. using a command like this
...
0
votes
2
answers
270
views
Removed rpm symlink from bin/rpm
I have accidentally removed the symlink to /bin/rpm from my Centos7 installation. Now the rpm command is not working. Does anyone know how to fix this one or how to add this again as symlink ?
0
votes
1
answer
393
views
rpmrebuild creates broken SPEC file
rpmrebuild seems to create a broken SPEC file, even if I don't actually change anything. I do the following:
[build@admin slurm]$ EDITOR=emacs rpmrebuild -enp slurm-19.05.5-1.el7.src.rpm
Do you ...
0
votes
1
answer
100
views
RHEL yum Package Installation from Repository of Differing Release Number
I have two RHEL machines. One runs RHEL 6.9, and the other runs RHEL 7.7.
I have access to local copies of both the RHEL 6.9 and the RHEL 7.7 repositories. This is the only repository access I have.
...
0
votes
1
answer
729
views
Troubles with Python and YUM on CentOS 7.5
I have a problem with yum istallation.
Yum needs Python:
rpm -i yum-3.2.29-81.el6.centos.noarch.rpm
error: Failed dependencies:
python(abi) = 2.6 is needed by yum-3.2.29-81.el6.centos.noarch
...
2
votes
0
answers
23
views
Query packages installed after action
I'm trying to find out which packages have been installed by a script on CentOS7 which uses yum, so I can later download as rpms to install it on a similar machine offline.
I've come up with some ...
1
vote
2
answers
2k
views
What is the effect of rpm scriplets returning 1?
According to the RPM documentation, the %pre, %post, %preun and %postun scriptlets must return 0 for the (un)installation proceeds.
(1) But what is the effect of one of those scriptlets returning a ...
1
vote
1
answer
83
views
getting the error "Medium without key" while installing my rpm from my repo
O.S: Mageia 5
Problem:
I build rpm , sign it and add it to my private repo.
I exported my key using the command gpg --export -a 'MY NAME' > RPM-GPG-KEY-pmanager
I took this key and imported it ...
0
votes
1
answer
389
views
RPM failing to install on RHEL
I am trying to install an RPM package on RHEL7.
I am getting the following error;
Fri Aug 30 05:36:55 UTC 2019--> Start Installing downloaded package...
file /etc/rc.d from install of abc....
2
votes
2
answers
1k
views
Can I build an rpm package that owns a file it does not install?
I have a situation where I need to create a configuration file filled with default values on initial startup of my application. This is not a typical configuration file where we care deeply about any ...
0
votes
1
answer
80
views
RPM Spec file diagnostics
I'm writing a spec file and getting slightly unexpected results when I install the rpm. I'd like to see what the install process thinks it's doing.
Contrived example, suppose I have:
%install
...
0
votes
1
answer
855
views
How can I get a list of installed centos packages by only reading from the filesystem?
I am writing a tool for analyzing images and have full access to an image's filesystem.
I want to produce a list of all installed packages with name and version info. However, I do not want to ...
0
votes
1
answer
101
views
How to build Kazoo RPM files from source code?
I am experimenting with kazoo and wanted to install it from source code. I am able to generate a deployable release but i am not able to build rpm from it. I heard that spec file is needed to build ...
0
votes
1
answer
437
views
dnf in Fedora 27 is throwing a python error
I am looking to upgrade from Fedora 27 however, DNF has broken somehow.
$ dnf upgrade
Traceback (most recent call last):
File "/bin/dnf", line 58, in <module>
main.user_main(sys.argv[1:], ...
0
votes
2
answers
907
views
dnf has lost track of an installed package
Despite that vim is installed on my Fedora 29 system, the command
dnf search vim-common
returns "No matches found." In contrast, the ...
0
votes
1
answer
46
views
Dose rpms that ended with .i386 can fit also for linux 64Bit
we have linux redhat 7.3
[root@master install_zone]# uname -r
3.10.0-327.el7.x86_64
[root@master install_zone]# uname -a
Linux master.sys65.com 3.10.0-327.el7.x86_64 #1 SMP Thu Oct 29 17:29:29 EDT ...