Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rpm]

RPM is a package management system intended primarily for Linux distributions.

1
vote
1answer
70 views

How to differentiate between repo and built packages with dnf?

When I build an rpm package with the same name as a package that already exists in a repo and type the command $ dnf info package This command only shows information about the built package. I would ...
-1
votes
1answer
93 views

How do I mark dnf package as removed?

I want to remove dnf installed packages using pip but when I type: $ dnf info package the package manager wrongly shows that the package is installed. I alternatively tried removing the package ...
0
votes
1answer
117 views

Why doesn't rpm or dnf recognize default perl?

I have an rpm package I built which depends on perl. When I try to install this package it fails: $ rpm -ivh <package-y> error: Failed dependencies: perl is needed by package-y.x86_64 If I ...
1
vote
2answers
329 views

Red Hat Enterprise Linux 6.9 - Cannot Find or Install RPM Python Bindings?

I am running Red Hat Enterprise Linux 6.9, and I cannot find the RPM Python bindings? I am trying to install rpm-py-installer-0.7.0 and it throws an error: RPM Python binding on system Python should ...
0
votes
1answer
71 views

Download of mysql rpm unauthorized

I've been using this website: https://opensourcedbms.com/dbms/installing-mysql-5-7-on-centosredhatfedora/ as a basis for executing the following command: wget http://dev.mysql.com/get/mysql57-...
0
votes
2answers
141 views

Install Java 6 from Oracle to Debian Lenny

Since Java 6 is not available in Debian 5 I decided to take it from Oracle. I have downloaded Java 6 SDK in file jdk-6u45-linux-i586-rpm.bin. But how to install it? I executed jdk-6u45-linux-i586-rpm....
3
votes
2answers
438 views

RHEL 7.4 - moreutils dependency on perl IPC::Run

I am trying to install moreutils on Red Hat Enterprise Linux 7.4, but it is complaining about a dependency on perl(IPC::Run). Here is the command I'm running and the error message I am receiving: # /...
0
votes
1answer
90 views

How do delta RPMs work at the server end?

Here's a question and answers on what delta RPMs actually are: What is DRPM and How does it differ from RPM? I'm interested in the algorithms and data structures server side. I've Googled but nothing ...
1
vote
1answer
440 views

Where is the dependency information stored for an RPM package

With yum deplist one can check the dependencies of an RPM package. I am wondering where the information about the list of dependencies is stored. I downloaded the rpm package and checked its content ...
1
vote
1answer
276 views

Installing Fedora packages on Amazon Linux AMI

I'm trying to install a Fedora package, specifically the package poppler-utils versions 0.5x or later, but that currently only for Fedora. I don't have a lot of knowledge on Amazon Linux AMI, but from ...
2
votes
1answer
2k views

how to update ca-bundle.crt with local company-root.crt

I am on RHEL 6.9 When I run the command sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc I get the following message curl performs SSL certificate verification by default, using ...
0
votes
2answers
55 views

RPM is skipping packages. Need to install 2 architecture versions

I want to install a bunch of packages, both 32bit and 64bit. When I'm executing I'm getting something like $ rpm -ihv pkg.i386 pkg.x86_64 warning: package pkg.i386 was already added, skipping pkg....
0
votes
1answer
102 views

RPM upgrade database

I have a system where I have to find a process on how to migrate from rpm 4.6.0-rc1 (2009) rpm to 4.11.3 (2014). The problem is, that executing the new rpm on the system of the old one, will give me ...
2
votes
3answers
13k views

How to add a CentOS repo, having URL of Packages

In Centos 7, I want to install some packages that I see in the following URL: http://mirror.centos.org/centos/7.4.1708/extras/x86_64/Packages/ How can I add this URL to my yum package manager ? PS: ...
0
votes
1answer
71 views

Wine is still available after uninstalling it

I am facing a problem that I don't understand on a CentOS 7.4 box. Someone installed a wine and didn't documented how they installed it (was it with yum, directly with a rpm or built from sources? I ...
2
votes
2answers
242 views

How to manually force reload of files from an RPM package?

This is a repost from Stack Overflow, considering this site could be a better target. After a Fedora distro upgrade (27->28) with dnf, I tried to manually resolve conflicts between package versions (...
-1
votes
2answers
336 views

rpm -ivh file.rpm throws error already installed [closed]

I uninstalled gitlab using gitlab ctl uninstall, removed /etc/gitlab, /var/opt/gitlab,/var/log/gitlab. After that I erased rpm using rpm -e file.rpm. Now when I am installing a new file.rpm, it throws ...
12
votes
2answers
6k views

How to use Bash for sh in Ubuntu

I am installing a huge program, which has its resources as an rpm file. It stuck at the line of #!/bin/sh SCITEGICPERLBIN=`dirname $0` SCITEGICPERLHOME=`dirname $SCITEGICPERLBIN` if [ $...
2
votes
1answer
857 views

How to temporarily disable and permanently disable repos in Debian based systems?

I know how to do it on Red Hat based systems. yum –disablerepo=* --enablerepo=epel update The above command will temporarily disable all repos and enable epel and update only epel packages. yum ...
1
vote
1answer
120 views

how to identify wrong/bad repo in my linux machine?

dear friends and colleges, I want to share with you the following issue , and I am sure this important to some of the colleges here I want to verify the that all repo in my linux machine are ok so ...
0
votes
1answer
568 views

How to update a disconnected CentOS system from a list of installed RPMs?

I have spend a lot of time looking for a good solution on how to update a disconnected CentOS 7 system but have not found a suitable solution yet. Most solutions on how to update an disconnected ...
0
votes
1answer
612 views

yum + print all available security updates that are not installed

regarding redhat 7 linux the following yum syntax print the list of all available security updates without installing them ( the installed rpm's and the non installed ) # yum updateinfo list ...
0
votes
1answer
40 views

Questions regarding the way rpm installation/upgrade takes place

Below is the quote from my textbook while explaining naming convention of a package (eg : packagename-a.b.c-x.arch.rpm). Build No : The number following the version number (x) is the build number....
0
votes
1answer
168 views

How can I compare the pristine configuration files with the contents of /etc?

Being tasked to put several machines under configuration management I was wondering how I could go about comparing the configuration files from all installed packages with the contents of /etc and any ...
1
vote
1answer
570 views

How are RPM packages marked as “security” updates?

If I am applying yum install -y --security and a package is updated; how is the package "marked" as a security update? For example, lets say I have a package blah that I maintain, its current version ...
0
votes
2answers
473 views

rpm mock - complex rpm building

Lets say I want to make an RPM which delivers an Apache Webserver with its own OpenSSL: /mydir/apache_postfix1 /mydir/openssl_postfix1 Since Apache mod_ssl requires a real OpenSSL installation I ...
0
votes
1answer
633 views

dnf: (something) was supposed to be installed but is not!

I see that it is an error that happend here and there for some packages, but I didnt find any solution working for me. Everything broke down trying to install Jupyter by dnf install python2-qtconsole ...
1
vote
1answer
125 views

How install pcnfs on Centos 7

I have CentOS 7.2 on my NFS server, but I can't find the rpm for pcnfs. I have some DOS clients that use pcnfs authentication for mounting partitions. Due to an old netapp being removed, I need ...
0
votes
1answer
1k views

CentOS RPM: Find repo with older version of the lib

I need to find older version of the lib: cairo-1.14.2-1.el7. In EPEL there is a newer version, but I can't use it. If I find an RPM package of cairo and try to install it, it fails because there are ...
0
votes
1answer
347 views

need to stop initv service before rpm removal/upgrade?

Is there a need to stop a service before performing the removal or upgrade of the service's RPM package? Normally, what the RPM package manager does when performing an upgrade is to install the new ...
2
votes
2answers
1k views

Modify RPM package to remove dependencies

tl;dr: We build an RPM package that automatically detect dependencies (no Requires in .spec file). How can I remove dependencies from this RPM package. Long story:-> I'm shipping the dynamic ...
1
vote
1answer
75 views

package versioning across distributions [closed]

Goal is to identify a package version across distros RPM based Fedora, CentOS, RedHat etc. Can I rely on upstream version to be same on all the distros? If yes then how can I retrieve (RPM or DEB) ...
0
votes
1answer
1k views

How to use rpmbuild to build a rpm package from binary tarball?

Resources on Internet are all about how to build a rpm files from source code. But I have already got compiled binary tarball of software. But I don't want to directly extract it to / , because it ...
-1
votes
2answers
70 views

Update directory full of rpms

I've got a directory with about 400 rpms. What can I do to make yum/rpm fetch the last version from the system repository with all its dependencies and replace the old rpm? I'm using CentOS 6.4.
0
votes
1answer
989 views

How do i list out all dependencies for a package in Centos/Rhel?

I am trying to install below tools on a system where i don't have internet connection. nodejs with npm jdk8 firefox scripty In order to get all the dependencies & packages, i logon to a system ...
0
votes
0answers
481 views

Unable to yum install package with repo configured

I am trying to install packages but I am not able to find them with yum install while I have them in the mirror. Here is the content of my /etc/yum.repos.d/CentOS-OpenShift-Origin36.repo: [centos-...
0
votes
1answer
37 views

Script to get appropriate rpm package

I've two packages available on CentOS 7 system: package-6.34-1.el7.i686.rpm (32-bit) package-6.34-1.el7.x86_64.rpm (64-bit) I'm looking for a command to fetch the appropriate package full name based ...
0
votes
0answers
124 views

Is there an option to log console output from package installation executed by kickstart?

I've built an ISO on top of CentOS 6 minimal that bundles some additional packages. Generally it works great, but some recent change I've made has broken it a little: the SELinux module I'm allegedly ...
0
votes
1answer
387 views

File mode in 7 digit octal format

rpm --dump will print file mode in 7-digit octal format: $ rpm -q --dump rpm | grep -E '/usr/bin/rpmdb|/var/lib/rpm ' | cut -d' ' -f1,5 /usr/bin/rpmdb 0100755 /var/lib/rpm 040755 $ What do all those ...
0
votes
1answer
482 views

“rpm -qa --changelog package_name” not listing CVE numbers for one package, but works fine for others

I'm trying to find out what vulnerabilities are already fixed for mysql* packages, but to my surprise the changelog is not listing any CVE numbers. When I run rpm -qa --changelog package_name it ...
2
votes
1answer
31 views

Get rpm installation order (Areca hw bus reset)

We have a standard configuration for all of our machines. Installation is via a script which installs approx 800 packages over a minimum Centos 6 install. This has worked fine for 5 years already. ...
0
votes
2answers
510 views

how to install ccrypt on CentOS

I'm trying to install ccrypt on centOS, but I'm getting the following error: yum install ccrypt No package ccrypt available. I tried to download the rpm and install it manually but it will require ...
1
vote
2answers
405 views

rpm reports dependency missing, but it is present?

I want to install this rpm (of course I can install it with -nodeps but I don't like this "solution"). LANG=C rpm -Uvh /home/pippiripi/rpmbuild/RPMS/x86_64/oracle-fdw-27012018git-1.el7.centos.x86_64....
19
votes
2answers
2k views

Why should you always use `rpm -U` and not `rpm -i` to install package?

rpm has a -i (--install) option to install a package rpm has a -U (--upgrade) option that will install or upgrade a package The red hat documentation indicates that rpm -i is perfectly acceptable. ...
0
votes
2answers
2k views

Yum repository throwing - [Errno -1] Package does not match intended download

I am building a Yum repository to install RPM packages. I am creating a folder mkdir -p ~/yum/el7/x86_64 and moving rpm file to it under same path given above. Here is my my-app.repo file info. [my-...
1
vote
1answer
246 views

What kind of RPM packages should I use for armv7l

Suppose I get something like this from uname. Linux localhost 3.8.13-mrvl #12 PREEMPT Wed Aug 12 10:15:36 PDT 2015 armv7l I presume I should use armv7hl packages? The device is Steam Link. The ...
1
vote
1answer
693 views

Find the telnet-server in CentOS7.2

I use yum installed telnet-server in my CentOS-7.2: yum install -y telnet-server The above prints: Downloading packages: telnet-server-0.17-64.el7.x86_64.rpm ...
0
votes
2answers
3k views

Downgrading the `kernel-devel-3.10.0-xxx.el7.x86_64.rpm`

I use the wget download the kernel-devel, then I want install it, but it seems has been installed by yum: $ rpm -i kernel-devel-3.10.0-327.el7.x86_64.rpm warning: kernel-devel-3.10.0-327.el7.x86_64....
0
votes
2answers
135 views

Without using the Yum cache, can I retrieve or reconstruct an RPM after it has been installed?

My company manages some RHEL 7 systems for various customers. One customer in particular has a package installed from a non-default repository on their system. Several weeks ago, that repository ...
1
vote
1answer
472 views

Is it possible to download RPM packages and their dependencies in a Mac?

I want to install some packages (.rpm files) on a RedHat system with no internet access. So, I'd have to download the packages on another system and copy them to the target system. But I do not have ...