Questions tagged [rpm]

RPM Package Manager is a package management system used primarily for GNU/Linux operating systems. It used the .rpm file format.

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

How can i install an old samba version on Oracle Linux 7.5

Apologies if this is a lame question but i don't have much experience with subject.. I know that there are a bunch of posts regarding this but i wasn't able to find a proper solution... I running ...
0
votes
1answer
61 views

Rollback Yum machine to historical state, ignoring “obsoletes”

I have a large number of stateful servers that use Yum for package management. I am interested in a general automatic process for rolling them back to a historical state. Usually, enabling the ...
0
votes
0answers
6 views

Upgrading a server to RPM versions of another server

I have a few CentOS machines. I'd like to install the latest RPM package updates regularly on one staging machine and then - if there are no issues - install these updates on the other machines two ...
2
votes
1answer
22 views

How can we limit and give space in after each special character in bash script output?

I have to send all rpm related information to our log analyzer and I am running the command below which give continuous output as follows: CMD sudo rpm -qa --info | egrep 'Name|Version|Architecture|...
0
votes
0answers
31 views

yum list available shows package and yum install package claims nothing to do

How can I force yum to install the package I want or figure out why it thinks there's nothing to do? I can see that the package exists and is not installed but when I try to install it yum claims "...
1
vote
1answer
102 views

Determining fully (or sufficiently) qualified rpm package name from short name

Yum has some sort of built-in "semantic sugar" which does a translation of short-hand package names to actual package names, but I can't figure out how to easily get a hold of it. Here's a simple ...
0
votes
0answers
30 views

Dynamic proxy configuration in a linux server for yum

Is possible to set multiple proxies to retrieve RPMs? In /etc/yum.repos.d/myrepo.repo I can define only one proxy with the statement proxy = myproxy. Thank you
0
votes
0answers
33 views

Squid cache RPMs only one time

I created local repositories. I'm using squid that act as proxy/caching for RPMs requests. If I make a local request of rpm http://repo1/foo, squid saves in cache foo. Now if I request http://repo2/...
0
votes
1answer
73 views

Broken yum installation

I tried to update my CentOS on my server using yum update but I get the following error: Traceback (most recent call last): File "/usr/bin/yum", line 4, in <module> import yum File "/...
0
votes
1answer
18 views

sync system rpmdb to a local copy

On our business servers, for various reasons we want to use rpm packages, but we can't install the rpm package into the system database (permissions, multiple instances, etc). So we have created our ...
1
vote
1answer
50 views

yum claims package is installed but files not there in docker

I've got some weird behaviour yum vs rpm where both claim to install, but only rpm actually creates the files while yum just claims installed. I can't tell what I'm doing wrong and why the files won'...
1
vote
2answers
139 views

How RPM found conflict during installation?

I was building an rpm. I ran rpm -ivh X.rpm but got an error file /lib/modules/abc conflicts with file from package Y. My question is how rpm check the conflicts? can I use all these conflicts in the ...
2
votes
3answers
146 views

How to build a RPM for all version of Centos 7.X?

The developer provided the source with the spec file. Is it possible to build a RPM that works across all CentOS 7.x builds and is that a good idea?
3
votes
1answer
44 views

RPM spec file case update

I'm trying create rpm package. Spec file has next macros: %postun systemctl stop metrics_haproxy.service systemctl stop checker_haproxy.service systemctl stop keep_alive.service systemctl disable ...
0
votes
0answers
19 views

Newer ssl on Oracle Linux (RHEL/Centos) 5?

For various reasons (none of which I am comfortable with) I am building a new host for an Oracle database using Oracle Linux 5. Problem 1: the latest full distribution of Oracle Linux is 5.11r1, but ...
0
votes
1answer
58 views

Unable to build initscripts package

I have some patches that I added in spec files and after adding those patches I am unable to build the rpm package. Obsoletes: hotplug <= 3:2004_09_23-10.1 Processing files: debugmode-9.03.61-1.0....
1
vote
0answers
77 views

how to know from which site it is safe to download pkgs

usually I download from redhat repository all rpms that I need one rpm is - java-1.8.0-openjdk-devel-1.8.0.171-8.b10.el7_5.x86_64.rpm location - http://rpm.pbone.net/index.php3/stat/4/idpl/44308336/...
0
votes
0answers
125 views

CentOS: prestodelta package missing error when installing from EPEL mirror

When I install packages from my company's internal EPEL mirror, I get the error epel/prestodelta FAILED. This is the full command output. $ sudo yum install -y python36-zmq Loaded ...
-1
votes
1answer
30 views

Build Docker image with a future view of RPM upgrade [closed]

My aim is to build a docker image for my application, the core part of the application is installed through RPM during the image build. Suppose I've built my docker image with 'application-version-1....
0
votes
0answers
261 views

Adding additional RPMs to custom Red Hat ISO via a kickstart file and new package repository

Overview: I am trying to create a RHEL7 ISO on an offline RHEL7 that is customized to my liking through additional RPMs and a kickstart file. Currently, I can boot with the kickstart file, and I am ...
2
votes
0answers
69 views

Accidentally installed RPM package into ubuntu

I accidentally installed a package using directly RPM in my ubuntu system. The package was libiconv-1.15: > rpm -i libiconv-1.15-1.el6.src.rpm rpm: RPM should not be used directly install RPM ...
1
vote
1answer
50 views

CentOS: detailed history of patch updates

e.g. http://mirror.centos.org/centos/7/os/x86_64/Packages/ ... chrony-3.2-2.el7.x86_64.rpm Any ways to know what made the -2 part in 3.2-2? I.e. deltas between 3.2 and 3.2-2. That's no-brainer ...
5
votes
1answer
455 views

How do I warn people that a repo has been hacked?

The GetPageSpeed repo has been hacked. Anyone with the repo installed will have malicious code installed on their box by yum update, including the file /etc/cron.d/sysstat2. I've notified ...
16
votes
3answers
2k views

How did installing this RPM create a file?

Running yum install https://extras.getpagespeed.com/redhat/7/noarch/RPMS/getpagespeed-extras-release-7-1.el7.gps.noarch.rpm creates /etc/cron.d/sysstat2 but RPM disavows the file: # rpm -ql ...
0
votes
1answer
69 views

How to swap(with yum) two rpms on fly?

I'm trying to install MPTCP(Multi-Path TCP) enabled kernel and tools on a CentOS7 box according to the installation doc. It needs 3 rpm packages to be installed. I encounter a trouble when I ...
1
vote
1answer
219 views

Correct way to update an RPM package in a local repository

I made a local CentOS 7 repository (here) with custom packages built and it is working fine, the problem is in yum update. When I update the source of an RPM package, I either increase the epoch or ...
1
vote
1answer
58 views

List of new and changed from package files

I want to list all files that differ from the rpm provided files on my system, so I could backup them and have complete backup with all configurations. I've found rpm -qa and yum verify commands (I ...
1
vote
0answers
181 views

Yumdownloader fails to download postgres dependency

I am using this command: sudo yumdownloader --destdir=/opt/test --resolve https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm I get this output: ...
0
votes
1answer
468 views

Send rpm to multiple systems, remotely execute rpm install and repeat

Fairly long time reader, first time poster. I am not a scripter (yet) but I understand/know some basics. Not all the basics, but some. I've been doing lots of searching but have not found my ...
0
votes
1answer
19 views

The kibana old repo can't be installed even after removing the previously installed newer version in centos 7

I have installed the whole elk stack 7.0 in a centos 7.0 server. I followed the following guidelines to install the kibana https://www.elastic.co/guide/en/kibana/current/rpm.html But for a testing ...
3
votes
3answers
2k views

Trouble removing package using Yum on CentOS7

Problem: Removing python-boto from the system and Yum. It appears to be no longer installed, but still appears in Yum. Tried: yum clean all; yum check; rpm -e --noscripts python-boto and rpm -e --...
1
vote
1answer
183 views

Can not start sshd service: relocation error

After updating openssh version from 5.3 to 7.9 I am having problems when I try to start sshd service, The script that I executed is: rpm -Uvh openssh-latest-7.9p1-1.el6.cgsl7741.x86_64.rpm --...
2
votes
2answers
241 views

How to extract rpm preamble

I am working on a non-redhat based machine and I need to extract Version: x.y.z and Release: a.b.c information from some .rpms that pass across the machine. Typically one would do: rpm -qip ./Foo.x....
0
votes
1answer
161 views

yum update fails: _rpm.error: invalid header data

I am trying to update a package, but it fails with what appears to be a rpm database error - is there a way to repair this? bash-4.2# yum update icinga2 ... Transaction test succeeded Running ...
2
votes
1answer
47 views

Binaries generated by perl's PAR::Packer break when packaged in RPM

I have a perl script that I want to be usable on systems with no perl interpreter installed (like a linux container, for example). I generate a binary with PAR::Packer and everything appears to work ...
0
votes
1answer
54 views

RPM from installed package

The question is simple. I have an old CentOS 7 system that has some installed packages with specific version numbers. However, these versions are unavailable now in the repository they were downloaded ...
0
votes
1answer
1k views

reposync/createrepo or rsync for mirroring a yum repository?

In the redhat docs there is this howto https://access.redhat.com/solutions/23016 It uses reposync and createrepo to mirror a repository server. But you can also use rsync to just mirror the whole ...
9
votes
1answer
229 views

searching for installed rpms by vendor

I am trying to figure out the syntax to use to search installed rpms by a specific Vendor in Linux. I was ideally just trying to use the rpm -qi grepping for a specific vendor but that doesn't seem to ...
2
votes
2answers
134 views

How do I install RPMs on a machine that is completely isolated?

So I have a single machine on which I have installed CentOS Minimal and nothing more. It is completely isolated. This means the following: It can never be connected to another server or laptop The ...
3
votes
1answer
101 views

How to make my RPM abort install based on outcome of %pre scriptlet

I am creating an RPM package that installs some tools on a system. I want to check some machine state before installing my RPM package. My initial instinct is to just run some commands from within ...
0
votes
1answer
105 views

Get a rpm subpackage to be installed with an update

As part of my internship task, I've to deploy OpenVPN clients on around 60-70 client devices that run CentOS (which reside on private networks and cannot be accessed directly). I'm quite new to ...
2
votes
1answer
1k views

How to remove package from rpm database

I have a Centos 6 server that I accidentally added a RHEL 7 package to it's rpm database. Added wrong package sudo rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7....
1
vote
0answers
303 views

error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename

I'm working on an old server of mine. I'm trying to run yum update and there seems to be an issue. So far, I've tried setting that log directory to 777 and same with the 2 log files within it. That ...
0
votes
1answer
193 views

Offline installation ImageMagick

I am trying to install ImageMagick into a RedHat 7 which is offline. To do so, I've downloaded ImageMagick RPM along with it's dependencies using : repotrack -p . ImageMagick but also tried with ...
2
votes
2answers
3k views

Yum can't add rpm repository via yum install command

I have CentOS Linux release 7.4.1708 Linux distro. I need to install some package. The first command to execute is to add repoistory: yum install https://extras.getpagespeed.com/release-el7-latest....
0
votes
1answer
460 views

How to make rpm install from user avoid curl SSL errors?

I am trying install a RPM from an url directly from anaconda kickstart (CentOS7) %post phase but I encountered an interesting error: ``` + rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-...
17
votes
2answers
29k views

What's the difference between `yum install <local path>` and `yum localinstall <local path>`

If I have an RPM located on a local disk - what is the diffrefence between the following yum commands? sudo yum install /tmp/rpm_name.rpm sudo yum localinstall /tmp/rpm_name.rpm Note: I use RedHat/...
0
votes
1answer
187 views

How can I make rpm -q --whatprovides see the same libraries as yum provides?

For context, I'm trying to set up a Chef script that calls out to a third-party installer. In the third-party installer is this function: isLibbz() { rpm -q --whatprovides libbz2.so.1 >/dev/...
0
votes
0answers
123 views

Where is the networker public key?

I am trying to install a networker backup client on linux (CentOS). At the moment I have to use "yum install --nogpgcheck" to do this, since I could not find the public gpg-key for their rpms. ...
0
votes
1answer
124 views

rhel7 yum repository metadata GPG signatures

I'm trying to sign yum repo metadata using GPG, as part of a Jenkins job. This is proving more difficult than I first imagined, but I'm sure lots of people must have done this already. I've worked ...

1
2 3 4 5
14