Questions tagged [rpm]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
590 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
733 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
144 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
2k 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
476 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
76 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
2k 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
84 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
2k 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
539 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
39 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
160 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 ...
1
vote
1answer
538 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
562 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
35 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. ...
2
votes
3answers
618 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 ...
0
votes
2answers
516 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
3k 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
3k 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
284 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
756 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
177 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
561 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 ...
9
votes
1answer
3k 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 ...
0
votes
1answer
445 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 ...
29
votes
7answers
5k 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 ...
1
vote
1answer
78 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 ...
1
vote
1answer
195 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 ...
0
votes
2answers
1k 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 ...
1
vote
1answer
2k 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 ...
1
vote
1answer
585 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-...
0
votes
2answers
812 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 ...
2
votes
1answer
10k 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, %...
0
votes
2answers
437 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 ...
0
votes
1answer
2k 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 ...
1
vote
1answer
2k 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@...
6
votes
6answers
26k 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 -...
5
votes
2answers
195 views

Does anyone bother to remove rpmkeys?

My Fedora 26 system still has rpmkeys installed from Fedora 25 and RPMFusion for Fedora 25: $ rpm -qa gpg-pubkey --qf "%{version}-%{release} %{summary}\n" fdb19c98-56fd6333 gpg(Fedora 25 Primary (25) ...
1
vote
1answer
2k views

How do I skip specific tests when building an rpm?

I am building an RPM of git version 2.13.0. The build has gone ok but one of the tests are failing: Config variable ${LIB_HTTPD_SVN} is not defined Config variable ${LIB_HTTPD_SVN_PATH} is not ...
0
votes
1answer
51 views

Use a directory from RPM as a parameter for different tool

I have a need to fetch a folder from an RPM package that contains number of .jar files. My idea was that maybe it would be possible to pass it in a stream to java -cp command as classpath for it? The ...
2
votes
1answer
210 views

Mark RPM as Automatically or Manually Installed

A question exists regarding how to mark an RPM as automatically installed, but that question concerns Fedora. I am using zypper on OpenSUSE as an end-user and would like to know how to mark a package ...
2
votes
1answer
973 views

Reinstalling only packages with missing or corrupt files on a non-running system?

1st. Thanks in advance. This is somewhat like # 216697: Reinstalling packages with missing/corrupt files except in that person's situation, after recovery, the system still worked. Mine does not. Can'...
15
votes
1answer
1k views

What to do with a circular dependency between two packages in Fedora?

I am new to Fedora and recently installed Fedora 26 OS. I am trying to connect to wifi using that. I followed the youtube video Broadcom installation and tried to install the Broadcom drivers. I have ...
1
vote
1answer
120 views

How do I install a package with the correct dependencies from a bunch of RPMs I've downloaded?

I'm in a situation similar to How can I install a local RPM using only the local dependency RPM files? or install a directory full of RPMs so that rpms providing dependencies are installed before ...
0
votes
1answer
106 views

Downgrading Fedora 20 kernel has failed dependencies

I currently have a virtual box Fedora 20 VM that's running kernel 3.19.8-100, however, I need 3.16.6-200. I found the appropriate rpm file but but attempting to install gives Failed dependencies with ...
1
vote
1answer
3k views

Can I install software in OpenSUSE using .deb files? If possible, how?

I just installed OpenSUSE and set everything up. But I am wondering if OpenSUSE use .deb files to install. If it's possible, how can I do? Can I just use alien?
1
vote
0answers
977 views

Download RPM on windows pc then install on centos server

Actually, i don't want to ask this as much as possible. But i'm really stuck in installing services in centOS server for 2 days. I almost browse all the pages in Google result. I'm a windows user guy ...
-2
votes
1answer
538 views

apt-get 'deb' is not known in /etc/apt/sources.list

I get following error trying to excute apt-get update 'deb' is not known in /etc/apt/sources.list My sources.list deb http://deb.debian.org/debian/ stable main contrib deb-src http://deb.debian....