Questions tagged [rpm]

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

RPM Package Manager is a package management system. "RPM" refers to the .rpm file format, files in this format, software packaged in such files, and the package manager itself. RPM was intended primarily for GNU/Linux distributions. The file format is the baseline package format of the Linux Standard Base.

718 questions
5
votes
4 answers

How do I use RPM to install GCC from my CentOS distribution media?

I have a few package installation related questions concerning RPM, YUM and CentOS and getting GCC installed: I've mounted my distribution media on my CentOS 5.2 machine but I can't seem to work out how to point RPM at the media and use that…
Kev
  • 7,877
  • 18
  • 81
  • 108
5
votes
2 answers

What does this Linux command do?

I have by a mistake written this command on a CentOS server xargs rpm -e|rpm -qa|grep test11 where I meant rpm -qa|grep test11|xargs rpm -e which should uninstall all packages matching "test11". Can someone figure out what the first command do? I…
Sandra
  • 10,303
  • 38
  • 112
  • 165
4
votes
1 answer

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 GetPageSpeed, but it is 1am their time. How do I warn…
Pascal
  • 493
  • 3
  • 11
4
votes
3 answers

yum/rpm Failed to initialize NSS library in chroot

I am performing a yum update from CentOS 7.4 to CentOS 7.5, when nspr and nss soft-softoken receive the updates, I am left with the following error: yum update nspr error: Failed to initialize NSS library There was a problem importing one of the…
Arlion
  • 608
  • 1
  • 5
  • 17
4
votes
1 answer

How can I track down why the rpm DB on my servers keeps getting corrupted?

Running Centos 7 (various versions) The rpm DB on my servers keeps getting corrupted. It seems like every few weeks I have to do an rpm rebuild on a server or two. Where should I look to see what could be the culprit? I know how to fix this when it…
red888
  • 4,183
  • 18
  • 64
  • 111
4
votes
1 answer

Local RPM/YUM repository on Debian

I manage a mix of Debian and CentOS servers. I have a local DEB repository, kept up-to-date with apt-mirror, on a Debian server. Because this server has so much extra HD space, of 250GB at the moment, I would like to use it as a local RPM repository…
Chris Woelkers
  • 298
  • 2
  • 11
4
votes
1 answer

Installing rpm-package to systemd?

I am new to systemd, and trying to get an in-house app packaged as rpm, to install on systemd host (RHEL7). The rpm tries to place the systemd .service-file: myapp.service into: /etc/systemd/system But that generates an error, I dont…
Rop
  • 151
  • 1
  • 6
4
votes
1 answer

Upgrade cURL to latest on CentOS 5.8

I need to update cURL on my MediaTemple DV server with CentOS. My server is running cURL version: 7.15.5 and CentOS version: 5.8 (final). I've seen commands like yum update curl, but just want to be certain before I start running commands on my…
4
votes
2 answers

yum : Could not contact CDS load balancer in AWS

I have an old EC2 instance with RedHat 6.5 installed. When I want to yum check-update, it show following error: $ yum check-update Loaded plugins: amazon-id, rhui-lb, security Could not contact CDS load balancer…
Rangi Lin
  • 290
  • 1
  • 3
  • 12
4
votes
2 answers

rpm2cpio skips files from RPM

These steps are from a box running CentOS 6.5. I merely tried converting a RPM package to a CPIO archive and was surprised to find files listed in the RPM but absent from the archive. Here are the steps taken. List out paths in the RPM: $ rpm -qlp…
pdp
  • 778
  • 1
  • 7
  • 16
4
votes
1 answer

.rpmnew file not created on package upgrade?

I'm currently testing installing a RPM with a config file using the config(noreplace) directive. As per using config(noreplace) my spec file marks a single file as a config file: %config(noreplace) /opt/lm/dest/conf/db.xml I did an on disk…
kaizenCoder
  • 343
  • 2
  • 8
  • 22
4
votes
6 answers

Error: Nothing to do trying to install local RPM

I'm trying to install this RPM locally via yum and am greeted with just a "Error: Nothing to do" message. Full stdout Loaded plugins: fastestmirror, priorities Setting up Install Process Examining…
atxdba
  • 337
  • 1
  • 5
  • 15
4
votes
1 answer

Is it legal to create an RPM which only runs %post scripts to modify a file owned by another RPM?

I'm writing some RPMs which install YUM repo configuration files for various internal YUM repos, same structure and concept as the EPEL repo RPMs. We will have multiple environments with equivalent repos, so we use yum priorities plugin to insure…
4
votes
1 answer

Continuous Integration testing of RPM upgrades

We release software on RPM-based linux. We receive many packages from different teams, some outside of our business unit, that must upgrade correctly (in the future we want to check dependencies are correct). Recently we were bitten by a bug in…
AlexB
  • 91
  • 1
  • 3
4
votes
1 answer

Yum won't reinstall PHP on Amazon Linux

Ultimately, this question is about Yum and the Amazon Linux AMI (see the end for that part), but first I'll give some background to how I got into my situation. I installed PHP from source I am working on setting up a new PHP application on a web…
Nate C-K
  • 142
  • 4