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.

Filter by
Sorted by
Tagged with
4 votes
1 answer
392 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+...
King David's user avatar
0 votes
0 answers
179 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 ...
Pierre's user avatar
  • 101
-1 votes
2 answers
71 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 ...
Jeannie H.'s user avatar
1 vote
1 answer
46 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. ...
James's user avatar
  • 289
1 vote
1 answer
733 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 ...
metramarta's user avatar
2 votes
0 answers
173 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 ...
HakimFerchichi's user avatar
0 votes
0 answers
92 views

"unable to upgrade to Fedora Linux 35": complaining about mysql cannot be verified and repo is GPG enabled?

My box was at Fedora31 for a long time, and as it can only upgrade two versions at once, I upgraded to 33 and would then go to 35 then the current (I think) 36. Going from Settings->Fedora->...
Swiss Frank's user avatar
1 vote
2 answers
629 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-...
mercury's user avatar
  • 25
1 vote
2 answers
2k 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. ...
mercury's user avatar
  • 25
1 vote
1 answer
476 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! ...
U. Windl's user avatar
  • 516
0 votes
0 answers
838 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=...
zest16's user avatar
  • 119
1 vote
0 answers
269 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 ...
metaphor's user avatar
0 votes
2 answers
113 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 ...
Olivier M.'s user avatar
0 votes
1 answer
583 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 ...
Tim Richardson's user avatar
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?
KJ7LNW's user avatar
  • 351
0 votes
1 answer
1k 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 ...
fhcat's user avatar
  • 101
0 votes
1 answer
278 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 ......
Grigoriy Volkov's user avatar
0 votes
1 answer
8k 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....
Daniel's user avatar
  • 507
1 vote
1 answer
417 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 ...
Josh M.'s user avatar
  • 1,488
0 votes
1 answer
26 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 ...
Josh M.'s user avatar
  • 1,488
0 votes
1 answer
2k views

Android x86 i686 version doesnt have a ISO

So, i'm trying to install android on a old laptop i have laying around, it runs on i686, when i go to the android x86 site the only file i can download is a RPM, only the 64 bit version has a iso, ...
Boo's user avatar
  • 11
0 votes
1 answer
219 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 ...
Tiina's user avatar
  • 2,970
2 votes
1 answer
3k 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: ...
King David's user avatar
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 ...
Ben's user avatar
  • 51
0 votes
1 answer
376 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--...
King David's user avatar
1 vote
1 answer
2k 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 ...
frans's user avatar
  • 1,067
1 vote
1 answer
472 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:...
Dave's user avatar
  • 1,065
1 vote
0 answers
325 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 ...
King David's user avatar
0 votes
1 answer
61 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 ...
some_name_here's user avatar
0 votes
1 answer
284 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) ...
William's user avatar
  • 113
0 votes
1 answer
645 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 ...
Josh M.'s user avatar
  • 1,488
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 ...
TheWorker's user avatar
  • 127
0 votes
0 answers
198 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 ...
djna's user avatar
  • 143
0 votes
2 answers
195 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 ?
Damithdev's user avatar
0 votes
1 answer
283 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 ...
loris's user avatar
  • 121
0 votes
1 answer
70 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. ...
Dave's user avatar
  • 1,065
0 votes
1 answer
650 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 ...
Dmitry Goryaynov's user avatar
2 votes
0 answers
18 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 ...
Chirlo's user avatar
  • 121
1 vote
2 answers
1k 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 ...
Algiz's user avatar
  • 151
1 vote
1 answer
71 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 ...
some_name_here's user avatar
0 votes
1 answer
291 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....
Nagri's user avatar
  • 123
2 votes
2 answers
678 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 ...
John Calcote's user avatar
0 votes
1 answer
61 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 ...
djna's user avatar
  • 143
0 votes
1 answer
502 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 ...
William Overton's user avatar
0 votes
1 answer
68 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 ...
Jayachandra's user avatar
0 votes
1 answer
400 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:], ...
Psymøn's user avatar
  • 101
0 votes
2 answers
594 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 ...
Gidfiddle's user avatar
0 votes
1 answer
42 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 ...
King David's user avatar
1 vote
1 answer
2k views

yum transaction error when trying to install RPM built from RPM spec file

I use a meta package to manage software and common dependencies across several lab systems, and until today, this has worked great. However, after a recent build every RPM spec file directive to copy ...
garrettmills's user avatar
0 votes
1 answer
655 views

Yum install dependencies on RHEL

Trying to install openssl-devel for keepalived-1.4.5 on RHEL7.4. after sudo yum install openssl-devel I'm getting ...<Processing Dependencies> Finished Dependency Resolution Error: Package ...
Oh_No_nononono's user avatar

1
2 3 4 5
7