Questions tagged [rpm]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
830 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 ...
statox's user avatar
  • 237
4 votes
2 answers
2k views

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

After a Fedora distro upgrade (27->28) with dnf, I tried to manually resolve conflicts between package versions (needed to keep older OS versions functional; effective OS version is selected at boot ...
ajlittoz's user avatar
  • 175
-1 votes
2 answers
1k 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 ...
Naruto's user avatar
  • 39
24 votes
2 answers
56k 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 [ $...
Googlebot's user avatar
  • 1,959
13 votes
2 answers
32k 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 ...
alkabary's user avatar
  • 1,489
2 votes
1 answer
1k 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 ...
yael's user avatar
  • 13.1k
0 votes
1 answer
2k 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 ...
martijnbrinkers's user avatar
-1 votes
1 answer
1k 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 ...
yael's user avatar
  • 13.1k
0 votes
1 answer
124 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....
LoveWithMaths's user avatar
0 votes
1 answer
944 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 ...
0xC0000022L's user avatar
  • 16.6k
2 votes
1 answer
2k 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 ...
user avatar
1 vote
2 answers
2k 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 ...
Pali's user avatar
  • 111
1 vote
1 answer
2k 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 ...
alessandro's user avatar
1 vote
1 answer
402 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 ...
Simon Chaikin's user avatar
0 votes
1 answer
4k 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 ...
Stanislav Bashkyrtsev's user avatar
1 vote
1 answer
2k 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 ...
joueffy's user avatar
  • 45
3 votes
2 answers
6k 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 ...
PnotNP's user avatar
  • 155
1 vote
1 answer
108 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) ...
PnotNP's user avatar
  • 155
2 votes
1 answer
10k 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 ...
pah8J's user avatar
  • 237
-1 votes
2 answers
407 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.
Rage's user avatar
  • 1
8 votes
1 answer
35k 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 ...
Subrat Sahoo's user avatar
0 votes
0 answers
2k 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-...
Geoffrey's user avatar
  • 101
0 votes
1 answer
78 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 ...
Krish's user avatar
  • 1
0 votes
0 answers
619 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 ...
Lightness Races in Orbit's user avatar
1 vote
1 answer
2k 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 ...
Alois Mahdal's user avatar
  • 4,440
0 votes
1 answer
2k 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 ...
Rajneesh Gadge's user avatar
2 votes
1 answer
76 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. ...
Danny's user avatar
  • 603
2 votes
3 answers
2k 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 ...
AK_'s user avatar
  • 3,782
0 votes
2 answers
2k 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....
elbarna's user avatar
  • 12.7k
19 votes
2 answers
5k 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. ...
spuder's user avatar
  • 18.1k
2 votes
2 answers
6k 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-...
Mir Adnan's user avatar
  • 121
1 vote
1 answer
655 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 ...
user1561358's user avatar
1 vote
1 answer
1k 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 ...
aircraft's user avatar
  • 465
0 votes
2 answers
5k 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....
1243916142's user avatar
0 votes
2 answers
996 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 ...
jayhendren's user avatar
  • 8,384
2 votes
1 answer
2k 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 ...
Kristada673's user avatar
22 votes
1 answer
11k views

What is the purpose of /usr/lib/.build-id/ dir?

After a fresh inst of f27 (netinstall) I noticed that many pkgs place tiny files in /usr/lib/.build-id/ dir. At 1st I thought I somehow had enabled some obscure "debug" mode for dnf, but even $ dnf ...
a tired guy's user avatar
0 votes
1 answer
977 views

How correct update rpm if preremove.sh scipt run after postinstall.sh?

cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) yum list yum yum.noarch 3.4.3-154.el7.centos Repo: https://github.com/patsevanton/simple-package-update I build 1-th and 2-th ...
Anton Patsev's user avatar
29 votes
7 answers
7k views

Is it possible to build a Linux distro supporting both RPM and .deb packages?

I am wondering if it is theoretically possible to build a Linux distro that can both support rpm and debian packages. Are there any distros live out there that support both? And if not is it even ...
alkabary's user avatar
  • 1,489
1 vote
1 answer
356 views

When upgrading an rpm previously installed with prefixes, how to make sure the same prefixes are used?

On RHEL 7.2 I have installed an rpm with the command # rpm -ivh --relocate /some/default/prefix=/some/custom/prefix example-1.rpm Now I want to upgrade example.rpm to version 2 and make sure that ...
m0rch's user avatar
  • 11
1 vote
1 answer
494 views

sh4gcc cross-compiler installation for Centos 7

I am trying to compile a program which requires sh4gcc cross-compiler and I'm not able to find any rpm package which provides sh4gcc compiler. On executing this command [root@localhost stapp]# make ...
Sankalp Gupta's user avatar
2 votes
2 answers
6k views

yum + unpacking of archive failed

during hive installation we get the following errors /usr/bin/yum install hive_2_6_0_3_8 Installing : hive_2_6_0_3_8-1.2.1000.2.6.0.3-8.noarch ...
yael's user avatar
  • 13.1k
2 votes
1 answer
10k views

How do you use rpmbuild to make an rpm package when there are file not found or permission errors?

I am trying to create an RPM file for the wget utility. Both of my attempts (with sudo and without sudo) to use the rpmbuild comman fail to create an .rpm file. I run a "sudo rpmbuild" command to ...
Jermoe's user avatar
  • 111
1 vote
1 answer
1k views

is this possible to uninstall rpm package in only one command from list>> grep >> uninstall?

I'm thinking about include 3 steps to uninstall a package on CentOS7 but stuck in merge 3 command of uninstall a package to only 1 command. Okay, this is my situation: I have java package jdk-8u151-...
nguyendung_nt's user avatar
0 votes
2 answers
2k views

Can a package be installed but not seen by yum or rpm commands?

I want to install a HP CLI utility so I first check the dependencies and find out that something called rpmlib is needed : [root@centos2 ~]# rpm -qRp hp-health-10.30-1752.15.rhel7.x86_64.rpm | grep ...
Pozinux's user avatar
  • 1,375
7 votes
1 answer
35k views

RPM install file conflict from previous install

I am getting install failure due to file conflicts. I am facing this issue only on Red Hat Linux 7. Same spec file works on Ubuntu and other Linux distributions. I tried putting echo on %pre, %post, %...
user avatar
0 votes
2 answers
794 views

CentOS new repositories install

I am trying to install a package but this package needs to some dependencies. You can see installation output at below. error: Failed dependencies: jack-audio-connection-kit = 1.9.9.5-6.el7 is ...
Süleyman Bilgin's user avatar
0 votes
1 answer
3k views

Target initialization failed. Failed to cache rpm database (1)

I am running an openSUSE leap 42.2 64 bit os on my laptop. I was trying to install some packages including nautilus-dropbox, so I added the packman repo. After zypper update, there were some packages ...
Hipparkhos's user avatar
1 vote
1 answer
6k views

`rpm -qa` vs `yum list installed`: Why certain packages can be found with `rpm -qa` only?

I've Python 2.7.5 installed in CentOS and wondering why I can find this using rpm -qa but not yum list installed command? [root@CentOS7 centos]# python -V Python 2.7.5 [root@CentOS7 centos]# [root@...
Charlotte Russell's user avatar
10 votes
6 answers
54k views

libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by skypeforlinux-8.9.0.1-1.x86_64

My environment: $ cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) $ uname -a Linux X 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux $ rpm -...
alexus's user avatar
  • 986

1
7 8
9
10 11
22