Skip to main content

All Questions

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

How to manually validate the signature of an rpm file

What I need A way to get an asc file containing the signature from an rpm file. Why I need it I'm running into the issue described in this Reddit thread, where Chrome installed from https://www.google....
Keegan's user avatar
  • 111
0 votes
2 answers
23k views

How to force install an rpm?

I have a gitlab pipeline where I will be installing latest rpm everytime. Some times, even if the target machine is changed manually, the rpm should be installed successfully. But some how I am ...
Kalel's user avatar
  • 254
0 votes
1 answer
211 views

How to check if an rpm is completely installed on centos?

We have an rpm to our project and that contains pre and post install scripts. While the post install script is still running, yum list is showing the package name in it. sudo yum list installed ...
Kalel's user avatar
  • 254
0 votes
1 answer
59 views

How to deduce remote location of RPM that has been installed?

Suppose I had the following entries in /var/log/dnf.log: elfutils-default-yama-scope noarch 0.185-1.el8 baseos 49 k elfutils-devel ...
Lucky's user avatar
  • 113
1 vote
3 answers
215 views

Library Won't Update

I'm trying to update my libarchive library on CentOS 7. Currently, I have version 3.1.2. If I type the following command, here is the result: # rpm -q libarchive libarchive-3.1.2-10.el7_2.x86_64 I ...
Steven's user avatar
  • 11
0 votes
0 answers
1k views

RPM failed dependency that's already installed

We have an old dev server for Centos 6 I want to update Openssl to a modified version 1.0.2k (we have got a C8 server to replace it, but trying to update the old one in the interim). I have built the ...
Ian's user avatar
  • 193
0 votes
0 answers
859 views

Proper way to package a NodeJS application with rpmbuild

I have created my first rpm package for a NodeJS app which is ran as a systemd service. Since I do not want to package the node_modules folder with the rpm (AFAIK npm install is system/node version ...
HomeIsWhereThePcIs's user avatar
0 votes
1 answer
876 views

install docker in offline Centos Server

I want to install docker into a offline Centos 7 server, but I have missing dependencies. I have executed the following instruction into my local virtual machine ( Centos 7 with kernel 3.10) to ...
knoppix's user avatar
0 votes
0 answers
333 views

How I could install NGINX from nginx.org repo using yum in CentOS-8?

Problem: After enabling repos, like I did for centos-7, yum just does not see any Nginx RPMs from nginx.org repo: # cat << 'EOF' > /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo #baseurl=...
vitaly.v.ch's user avatar
1 vote
2 answers
316 views

How can I best get the mpt2 drivers back in to Centos8 [for maas images and openstack ironic/image builder]

I need the mpt2sas drivers to get Centos8 to work with my servers. Thanks to them using the rhel nutered kernel the device id's have been removed and wont load with out using a dd disk. I have both ...
Kendrick's user avatar
  • 303
1 vote
1 answer
4k views

Oracle Linux 8.3 can't find libyaml-devel

I'm evaluating Oracle Linux as a CentOS alternatives. During my tests I have to compile a package depending on libyaml-devel but the lib isn't present in the repo. I had the impression Oracle Linux ...
Alexandre Stein's user avatar
0 votes
3 answers
2k views

`yum`/`dnf`/`rpm` equivalent to `dpkg -l` for RHEL/CentOS?

Is there an equivalent yum, dnf, or rpm command to Debian/Ubuntu's dpkg -l command to list both package names and installation status?
wyphan's user avatar
  • 105
0 votes
1 answer
4k views

yum history list + how to verify rpm historical status

The rpm command gives every package installed a transaction ID. The transaction ID is a Unix time stamp (number of seconds since January 1, 1970). You can then perform some operations on packages ...
sheffadmin's user avatar
1 vote
1 answer
288 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 ...
Wedge's user avatar
  • 1,617
1 vote
2 answers
2k 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 ...
Harsh Singh's user avatar
-1 votes
1 answer
258 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....
SANITH's user avatar
  • 99
1 vote
1 answer
1k 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 ...
nodakai's user avatar
  • 311
0 votes
1 answer
238 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 ...
Leon's user avatar
  • 179
1 vote
1 answer
344 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 ...
vbezhenar's user avatar
  • 273
2 votes
2 answers
828 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 ...
Christoffer Reijer's user avatar
0 votes
1 answer
319 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 ...
Akhil's user avatar
  • 101
1 vote
0 answers
946 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 ...
User's user avatar
  • 1,405
0 votes
1 answer
571 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 ...
Orelsanpls's user avatar
1 vote
0 answers
4k views

Centos yum error: Failed to initialize NSS library - other fixes not working for me

Basic issue from screenshot: yum error: Failed to initialize NSS library There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: cannot ...
Dave Heritage's user avatar
5 votes
3 answers
18k views

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 ...
Arlion's user avatar
  • 628
7 votes
1 answer
8k views

yum install local rpm throws error if up to date

When installing rpm packages from local file directory it runs fine the first time sudo yum install packages/* -y --disablerepo=* When the same thing is run the second time as part of automated ...
JackLeo's user avatar
  • 258
0 votes
2 answers
967 views

CentOS update package in install folder

I was trying to deploy CentOS from PXE with an install directory extracted from latest iso (1611). Install failed (with or without kickstart) because of microcode_ctl package, after some researches I ...
Wddysr's user avatar
  • 1
0 votes
1 answer
1k views

Installing RPMs on system with no internet causes dependency conflicts: libstdc++.so.6, libm, etc

To avoid the XY problem, let me first describe the situation. We have a client project of unique circumstances. We have a relatively modern software stack (Keras DNN stuff) that needs to run on a ...
DeusXMachina's user avatar
4 votes
1 answer
3k views

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 ...
red888's user avatar
  • 4,273
0 votes
1 answer
329 views

force downgrade on the next `yum update`

I have microcode_ctl-2.1-16.1.el7_3.x86_64 I have control of the centos repo I want the next yum update which runs on any machine to automatically downgrade this package to microcode_ctl-2.1-16.el7....
Jas's user avatar
  • 711
0 votes
2 answers
530 views

make rpm find dependencies in a specific location

I was trying to install a software through rpm. However, it requires glibc-2.15. We only have glibc-2.12 on CentOS-6. I have installed a glibc-2.15 at a separate location. So how can I make rpm to ...
NormanD's user avatar
  • 11
1 vote
2 answers
17k views

redhat 6 | how-to install libpcap-devel

the server is running: # cat /proc/version Linux version 2.6.32-431.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:...
nskalis's user avatar
  • 147
0 votes
1 answer
1k views

Can't build apr-util rpm, missing apr_dbd_mysql file

I'm trying to install apache 2.4 on a CentOS 6.8 server and I have followed this tutorial to do it: geekpeek.net/running-latest-apache-2-4-with-php-7-0-on-centos-6/#disqus_thread But I'm stuck at ...
raaaahman's user avatar
2 votes
1 answer
831 views

Saltstack rpm package install fails

So i got these errors while run salt -G 'os:centos' state.apply ---------- ID: filebeat Function: pkg.installed Result: False Comment: An exception occurred in this state: Traceback (most ...
Shadowraze's user avatar
0 votes
2 answers
128 views

Requirementes on rpmbuild

I'm building a RPM package and one of my requirements is python-pip, only available in Epel repositories. (following line), Requires: python python-pip python-devel If the OS already has epel-...
Carlos Parisotto's user avatar
0 votes
0 answers
4k views

yum update failed - How to resolve the depsolving problems

I'm having CentOS 5.10 which i currently needed to install bc, i,e i issued yum install bc At the end of command it is showing Error of glibc-headers-2.5-118.el5_10.2.i386 from installed has ...
tech2network's user avatar
4 votes
1 answer
3k views

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, ...
Chris Woelkers's user avatar
0 votes
2 answers
1k views

Synchronize RPM repository atomically

We have a RPM repository (on a Centos 6 machine) that we need to push to another machine. So far we've been using rsync -av --delete to simply push the repo directory over the network. This makes the ...
Mifeet's user avatar
  • 111
0 votes
0 answers
796 views

Building CentOS kernel from RPM with patches (but missing files that are in the SRPMs)

I have a hardware system that I am running CentOS 7 on. I would like to add some patches to the default CentOS kernel, since I have some custom hardware to support, but I also want to track the ...
diwhyyyyy's user avatar
  • 111
0 votes
1 answer
77 views

Build rpm on CentOS for RHEL

I need to install some software which is not available pre-compiled on a client's RHEL Server. I decided to create a rpm for easier installation on multiple systems. As i have no RHEL subscription, ...
embedded's user avatar
  • 476
0 votes
0 answers
47 views

CentOS: unable to verify backported fixes

Generally one uses rpm to verify backported fixes to a package like: rpm -q --changelog httpd But on my CentOS server, it's giving me: package httpd is not installed Or: package php is not ...
Zeno's user avatar
  • 211
2 votes
1 answer
25 views

Matching back ported package versions to major releases

Is there a way to link a backported versions of package to what is released by the original developers. For example the latest Centos package for OpenSSL is : openssl-1.0.1e-42.el6_7.4.x86_64.rpm ...
soopanova's user avatar
0 votes
3 answers
4k views

upgrading openssl in CentOS 7

First, I tried downloading the source tarball openssl-1.0.1s.tar.gz from openssl.org and doing a ./config && make install, and although it seems to have completed the process successfully, I ...
bvpx's user avatar
  • 113
1 vote
1 answer
891 views

Exclude or change package used as dependency in rpm package under CentOS

I have an RPM package that depends on many other packages, so installing it will install everything I need - quite a normal approach. But one of the packages depends on custom nginx build (general ...
Alexander's user avatar
  • 854
2 votes
1 answer
1k views

I think I've resolved dependency, rpm doesn't

I have upgraded EPEL repo in order to install Remi repository in order to upgrade PHP to 3.5.4 in order to upgrade civicrm (on a CentOS 6.7 VPS running one production site and its dev site). repolist:...
Richard Grevers's user avatar
4 votes
1 answer
2k views

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 ...
Josiah Lenz's user avatar
0 votes
1 answer
430 views

Gitlab rpm version

It is recommended to installed Gitlab as a Omnibus package. Packages are available for the popular deb and rpm formats. Packages are available here. There is a also script that automates installation....
idobr's user avatar
  • 103
0 votes
1 answer
910 views

How should I provide a replacement for a package in yum?

I'm writing a spec file to replace a yum package with one from our own repository. The new package will be a drop-in replacement for the original. I thought the best way to do it would be to give the ...
Score_Under's user avatar
1 vote
1 answer
391 views

Yum update complains about dependency (architecture mismatch)

I created a meta RPM package (say metapkg) that pulls all the dependencies I need on my system (CentOS 7). This package specifies the exact versions of its dependencies (without the architecture ...
mgraff's user avatar
  • 31
5 votes
2 answers
6k views

CentOS 6.6 (Final) - yum kernel upgrade troubles

Well-being everybody, I'm a SysAdmin Junior managing 3 CentOS Virtual (Web)Servers, this morning I'm facing some troubles with package manager yum. As usual operation, this morning I've run the ...
lese's user avatar
  • 192