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.

9
votes
1answer
2k 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
383 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 ...
28
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
71 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
163 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
511 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
702 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 ...
1
vote
1answer
7k 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
387 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
1k 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
22k 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
162 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
46 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
187 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
843 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
97 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
99 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
861 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
436 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....
-1
votes
1answer
30 views

What should I do if rpm -e never completes?

In a Fedora 19 box I am trying to erase the AdobeReader_enu package. sudo rpm -e AdobeReader_enu never completes, it runs the same pattern of hard drive crunching over and over. Is there any way to ...
1
vote
0answers
50 views

Build “shadow” RPM database?

Let's say the ones in charge of the server are unwilling to have our department's software installed using RPM packages. Because it requires superuser rights and they are afraid it could mess up their ...
0
votes
1answer
2k views

Install Broadcom BCM4360 of MacBook Air CentOS 7, Installing system-release(25)

I was trying to install my Wifi using https://www.youtube.com/watch?v=TG_EHEWHQuM [root@localhost Downloads]# lspci | grep Wireless 03:00.0 Network controller: Broadcom Limited BCM4360 802.11ac ...
2
votes
0answers
185 views

YUM not resolving dependency with requirement for older version

YUM is failing to resolve an old version of a dependency in my repository. It seems to be getting confused by the fact that there is a newer version present, even though the older version (which ...
0
votes
1answer
190 views

How do I install an RPM key on my Amazon Linux system?

I'm using Amazon Linux. Here's the uname info [myuser@mymachine3 ~]$ uname -a Linux mymachine3 4.8.18-12.31.amzn1.x86_64 #1 SMP Thu Jun 22 06:20:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I'm ...
3
votes
1answer
36 views

Can rpm package build on Fedora be used on other systems?

I want to build rpm package for my icon theme and upload it to www.gnome-look.org, with deb and tar.gz. If I'll build it on Fedora will users be able to use it on other systems like Red Hat? The ...
1
vote
1answer
421 views

Can yum detect dependencies installed via pip?

Environment is CentOS 7.3.1611. I deploy an application that depends on a few packages that seem to have disappeared from the EPEL. These packages are: python-turbocheetah python-cherrypy2 python-...
0
votes
1answer
331 views

How do i create a complete new rpm including all dependencies - Ansible disconnected package

I need to install Ansible on my node and the node doesn't have internet connection. So i had to download all the dependencies and installed the same. Now i would like to create a complete package ...
1
vote
0answers
72 views

How to install X desktop on a custom Linux distribution without X in the official yum repo?

I am using a custom Linux distribution. It is minimal. It uses yum but has very small amount of packages in its official yum repo. yum search does not find any matching records. So far as I know, no ...
1
vote
1answer
273 views

What are the differences between rpm.org and rpm5.org?

I would like to make a pull request for upgrading the rpm formula of Homebrew. And, I'm looking for the latest stable code base for rpm. I found two project: http://rpm.org and http://rpm5.org The ...
0
votes
1answer
64 views

unable to remotly query rpm [duplicate]

I am querying rpm database using --qf flag rpm -q --qf '<prm><N>%{N}</N></rpm>' --all this work fine locally, now when I try to ssh it ssh -l root ${host} rpm -q --qf '<...
0
votes
1answer
2k views

Problem: nothing provides libcrypto.so.10()(64bit) needed by Percona-Server-client-57-5.7.10-3.1.el7.x86_64

I'm trying to install downloaded percona RPM packages: > ls -1 Percona-Server-5.7.10-3-r63dafaf-el7-x86_64-bundle.tar Percona-Server-57-debuginfo-5.7.10-3.1.el7.x86_64.rpm Percona-Server-client-57-...
0
votes
1answer
36 views

How to pack current state of OS?

I'm planning to install CentOS and fill it with applications curated to and revolving around my workflow. But I also don't want to install those applications every time I have to install it on a new ...
1
vote
1answer
1k views

Check rpmdb corruption

Sometimes rpmdb gets corrupted, usually due to some process dying. The fix is quite easy, simply run rpm --rebuilddb, maybe remove the lock and some other files. My question is, is there any way to ...
-3
votes
1answer
9k views

Yum, Rpm and Find Command Not Found [closed]

I am trying to use "yum", "rpm" and "find" commands to install cpanel on my vps, but i am just getting "command not found", please help
0
votes
1answer
669 views

How to read content from rpm file and show file permissions

I am able to read content of rpm by using rpm -qlp *.rpm But it shows me the files without permissions. I want it looks like output from 'ls -l' command. How is this possible without extract the ...
0
votes
1answer
353 views

Fedora 25 : Software management fails to start

From the System settings >> System Administration, starting Software Management fails to start. with the message Failed to load system repo: failed loading RPMDB Some context After the OS ...
0
votes
1answer
1k views

Can't install libpng because it conflicts with earlier version

I'm trying to install SDL2_image-2.0.1-5, which seems to be the latest version of SDL2_image, based on rpmfind.net. (The machine is CentOS, latest version, running on VMware on a 64-bit Windows box, ...
0
votes
1answer
2k views

Installing multiple RPMs, dependency errors?

I have a folder on my CentOS box called "RPM" and inside, I have multiple RPMs that I would like to install. Some of these are custom made for special purposes, so there is no chance of getting them ...
1
vote
0answers
176 views

How to Check if Dependencies are Met Between RPM Packages?

Given a bunch of RPMs in a directory, how does one check whether there are no unmet dependencies among them, and, if there are, print a list of the missing ones? The solution should not assume ...
1
vote
0answers
250 views

suse yast nothing provides .so needed by, building from source

I have some software provided as an x8-64.rpm. The one specifically giving me a problem let's call it MYSoftwareRPM.x86_64. Using Yast-Software Manager it tells me nothing provides libreadline.so.6()...
0
votes
1answer
43 views

YUM: How to see what an RPM requires, and presence of prereqs on system without inet

Using yum on CentOS 6.8 and 7 System lacks outbound connectivity, for security. We push the needed rpms to the system via sftp. Questions: If a prereq is missing , and we do yum localinstall, will ...
1
vote
1answer
433 views

Can't uninstall ruby gem Vagrant to install Vagrant via RPM

I can't install or reinstall a vagrant on CentOS 7. First, I've followed a tutorial on how to install a Vagrant on CentOS 7 with Ruby & Ruby Gem. After installation, I've typed inside a terminal ...
0
votes
1answer
251 views

RPM database not seeing file installed as part of RPM

Intro: The following was done on a RHEL 6.9 32bit OS. I installed the oracle (not openjdk) version of JRE rpm using the rpm -Uvh command. I then built a package using rpmbuild that requires ...
0
votes
1answer
8k views

Is it possible to run apt-get in centos , if yes how?

For some reasons I have to use apt-get in CentOS. After some effort I noticed RPMForge/RepoForge (which is needed to install apt-get) is dead project. Please refer to this page. however is it ...