Questions tagged [rpm]

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

Filter by
Sorted by
Tagged with
-2
votes
0answers
13 views

No module like YUM

When I was working, I got an error "no module like yum". I looked at Red Hat's website, but found nothing useful yet. I also ran # rpm -Uvh --replacefiles --replacepkgs python-<version>...
0
votes
1answer
23 views

How can I reliably modify build configs and add compiler flags in C/C++ RPM files?

I need to change the build configuration of a large number of rpm files for testing purposes. I'm only speaking of C/C++ code here. I'm not necessarily looking to do automation, but I could use a hand ...
0
votes
0answers
32 views

Find the service from an installed package (rpm)

I'm trying to link a list of installed packages to the services they have running on a system (init.d). I'm using ansible for this, but of course a bash hint is also usable. For example if upon ...
0
votes
1answer
47 views

Error while building OBS from source code | CentOS 8

I've a problem with OBS source code, because it isn't detecting ffmpeg who's installed on my computer. [mlodybukk@localhost build]$ cmake -DUNIX_STRUCTURE=0 -DCMAKE_INSTALL_PREFIX="${HOME}/obs-...
0
votes
2answers
26 views

Is there a centralized location for the sources or homepages of RPM packages in CentOS?

I'm trying to find a source or homepage for the rpm packages in CentOS that have copyleft licensing, like GPL, and there doesn't seem to be a centralized way to find them other than exhaustive ...
0
votes
1answer
15 views

Wrong packages version in RPM database

While doing an update of some SAS packages on redhat 7, it failed and i restore the directory where it was supposed to be installed (/opt/sas). However i had no backup of /var/lib/ and hence I now ...
0
votes
1answer
28 views

How are Sources mapped to commands in a RPM specfile? [closed]

In an RPM specfile, sometimes I will see: Source0: /some/path/or/url/file.tar.xz Source1: /another/path/or/url/file2.tar.gz Source2: /some/path/library.so Source4: /other/path/icon.ico ... Sometimes ...
0
votes
1answer
22 views

How to install RPM files in Tails OS

I would like to use Skype on Tails 4.7 running on a live USB flash drive. I downloaded the RPM file and looked up the installation procedure, but none of rpm, yum, and dnf works ("command not ...
0
votes
1answer
16 views

How does pkg-config work in RPM specfiles?

In some RPM specfiles, I see lines like: BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libssl) ... I am not very familiar with pkgconfig but I understand ...
1
vote
2answers
30 views

Cannot update/install RPM using yum on Red Hat Enterprise 7 - “Couldn't open file /root/rpms/repodata/repomd.xml”

I have an RHEL OS running as a VM that my team wants to update two specific RPMS (the agent/program is already installed but is an outdated version, so we want to update). I was having issues ...
0
votes
1answer
46 views

Circular dependencies when installing glibc

I am trying to install python3-pygrib on CentOS 7. First I needed to install eccodes, libpng and pyproj. Before those libraries, I need to install glibc231. I ran into circular dependencies trying to ...
2
votes
2answers
28 views

What are some effective ways to build & run an SRPM without installing it?

I am on Fedora 31 and I do software development. I need to work with code in many source RPM packages for relatively short periods of time. For this reason, I'd like to simply build the package, but ...
0
votes
1answer
21 views

How do I run a full system upgrade using old RPM?

I had an old NAS server which is running Fedora release 12 (yes). The last system update was in 2012. Consequently, all packages are extremely outdated, and many core commands aren't even available (...
0
votes
1answer
45 views

Use copr with rpmfusion-nonfree packages

I'm building a custom ffmpeg with fdk-aac-devel. This dependency is located in rpmfusing-nonfree. So copr build fails because it cannot find this package. Is there a way for me to install this ...
0
votes
0answers
11 views

Missing dependencies to install net-snmp

This is set up on CentOS 7 I was trying to install net-snmp via rpm (our yum wont work at all). so I gathered the following rpm packages: (all from the centos updates repository) net-snmp net-snmp-...
0
votes
0answers
10 views

Centos 5 - Installing puppet agent - missing ruby and a couple of dependencies

I know centos is no longer supported but I had to test something on Centos 5.11. I could not find any repo for rubygems. Any suggestion on how to get it working? I used this RPM to install puppet ...
0
votes
0answers
27 views

how to fix “wifi adapter not found” in fedora and "curl error(6) couldn't resolve host: mirrors.fedoraproject.org” when i try to run rpm command?

I installed fedora 32 on my MacBook air, but couldn't start the wifi as it shows no wifi adapter found. I tried using the rpm commands they are not working it shows "curl error (6) couldn't resolve ...
0
votes
1answer
13 views

How is a source RPM different from unpacking an RPM with rpm2cpio and cpio?

I am attempting to understand the use of a .srpm aka "source rpm" Red Hat Package Manager package. From what I understand so far, a .srpm is different from a standard .rpm in that it provides the ...
1
vote
2answers
184 views

CentOS 8: Modular dependency problems

Fresh install of CentOS 8 and I'm getting the following error when doing pretty much any dnf command. For example on yum remove I get: # yum remove Modular dependency problems: Problem 1: ...
0
votes
1answer
45 views

java devel installation by yum

we are installing the rpm - java-1.8.0-openjdk-devel-1.8.0.171-8.b10.el7_5.x86_64.rpm yum localinstall java-1.8.0-openjdk-devel-1.8.0.171-8.b10.el7_5.x86_64.rpm Loaded plugins: langpacks Examining ...
0
votes
1answer
32 views

rhel 7.2 getting Transaction check error: when installing ansible

we have rhel server version 7.2 we intend to install the latest ansible version , with all others rpm's ( because rpm dependencies ) rpm - ansible-2.9.7-1.el7ae.noarch.rpm yum localinstall -y * ...
0
votes
2answers
41 views

Run a command before downloading or installing a package with RPM/DNF

With apt-get, I can use Pre- or Post-Invoke hooks Pre-Invoke, Post-Invoke This is a list of shell commands to run before/after invoking dpkg(1). Like options this must be specified in list ...
0
votes
2answers
26 views

how to remove docker with yum or any other approach

today we installed docker with the following rpm's ( 32 rpm's ) , on rhel 7.2 rpm -qa --last|more libselinux-devel-2.5-15.el7.x86_64 Sun 10 May 2020 07:03:31 AM UTC libselinux-2.5-15.el7....
0
votes
1answer
58 views

yumdownloader not installed the latest rpm version

we installed the epel repo , in order to download some rpm for docker on rhel 7.x reference - https://www.centlinux.com/2019/02/install-docker-ce-on-offline-centos-7-machine.html yum repolist | ...
0
votes
0answers
24 views

subscription-manager + how to know which are the rpms that installed from the redhat repo

after we subscribed to rhedhat repo by subscription-manager and the we use yum install , in order to install some pkgs in case of yum is needed some rpm's from the network , then yum will download ...
1
vote
1answer
76 views

how to installed the latest docker version without dependencies issues

We prepare the following in order to install docker on rhel 7.5 version ( from the list https://download.docker.com/linux/centos/7/x86_64/stable/Packages/ ) , and only the latest curl https://...
1
vote
0answers
49 views

Local repository on CentOS 8.1, yum is missing single packages

I'm trying to setup a local offline repository of a few packages. For most packages this seems to be working, but for a few, there is a problem: # cd /testrepo # createrepo . # ls -l total 3360 -rw-r-...
1
vote
1answer
48 views

CentOS 7 - Okay to use yum and dnf together?

Another few colleagues and I are responsible for managing a CentOS 7 server. However a few of us prefer dnf as the package manager, while the rest prefer yum, mostly due to being more familiar with it....
1
vote
1answer
13 views

How are the pkgrel, extraver, snapinfo and minorbump fields of RPM's Release tag used?

The documentation for creating RPM packages in Fedora Linux states that There are potentially four fields which comprise the structured Release: tag: package release number (<pkgrel&...
0
votes
1answer
47 views

Inspect (rpm -qp) multiple RPM files, each bundled in different TAR files

I was wondering the possible best time case solutions to extract each RPM files from a list of TAR bundle and get the package information from those files. So, I have a list of tar bundles in a ...
1
vote
1answer
56 views

How do you configure rpm-build on fedora 31 to use xz and NOT zstd?

I cannot use zstd for rpm-build compression because I need to install the rpm that i build on a centos 8 machine, which does not have zstd supported, and I'm unable to install anything new on that ...
0
votes
1answer
24 views

Install a RPM with all dependencies locally

I am trying to install docker-ce on centos 7 using rpm downloaded from the official site, downloaded the dependencies using yum --downloadonly in a directory and while trying to install the docker-ce ...
-1
votes
1answer
29 views

Is there a way to bump the non-right most part of the version in RPM?

With rpmdev-bumpspec I can do -r, --rightmost bump trailing .<DIGIT> component if found, append .1 if not; no-op if -s is specified -s STRING, --string=STRING bump trailing ....
0
votes
1answer
33 views

How to find out what all standalone packages are installed?

I am trying to find the version of tomcat which was installed from a tar file not through yum, So how do we find out that.
1
vote
3answers
42 views

Is there a way to differentiate between System packages and Manually installed packages in Linux?

I am trying to write a script where I can tell whether the package is a pre-installed or it was installed by user. And also can we have way to get to know that following are the dependencies of the ...
0
votes
1answer
20 views

Is there a way to specify a dependency where anyone of a group can satisfy the demand?

Let's say I'm packaging an RPM which requires one of the following, Foo Bar Baz Does RPM support the functionality to put that into a spec file?
0
votes
1answer
22 views

RPM Spec file %setup macro when you don't know the root name?

How do I use the %setup macro if I don't know the root name of the archive. For example, in my case I have archive.tar.gz that extracts to myproject-<githsha>/ Each time I run that I may get a ...
-1
votes
1answer
31 views

Going from a binary RPM to an OBS signed rpm?

I have a RPM that I'm currently building with FPM, fpm --verbose \ -s dir \ -t rpm \ --directories /opt/myprod --name myprod --rpm-summary "My Prod" --version $(git describe --abbrev=0 --...
0
votes
1answer
20 views

rpm -V does not detect all the missing files of a package

I am running CentOS 7. I removed all files of emacs utility under folder /usr/libexec/emacs/24.3/ When I issue command: rpm -V it returns nothing, like no files from the package are missing. Even when ...
0
votes
1answer
24 views

How does rpm determine if a package is an update?

Maybe this question is a bit weirded but I am struggling here. By what criteria does rpm determine that a packet is an update or not? The version and release is a string and so on it cannot be ...
1
vote
1answer
43 views

Is it normal to patch a Makefile for CentOS/RedHat to use lib64?

For distribution in CentOS 6, I'm reviewing a Makefile.patch that has, - @echo 'libdir=$${prefix}/lib' >> tap.pc + @echo 'libdir=$${prefix}/lib64' >> tap.pc My question is whether or ...
0
votes
2answers
34 views

How to package Debian's python3-ebooklib for Fedora [closed]

It seems this package for ebooks https://packages.debian.org/buster/python3-ebooklib is not (yet) packaged for Fedora. How to package this into rpm (locally) or make it available in copr?
0
votes
1answer
54 views

rpm --addsign complains about “no secret key”

Running this command I get an error. $ rpm --addsign ./kalzium-libs-19.12.3-1.fc33.i686.rpm Enter pass phrase: gpg: skipped "Evan Carroll": No secret key gpg: signing failed: No secret key Pass ...
0
votes
1answer
160 views

fpm: rpm: /usr/bin/rpmsign: No such file or directory

When I run fpm with --rpm-sign I get the following error, rpm: /usr/bin/rpmsign: No such file or directory I am using CentOS
-1
votes
1answer
21 views

How to tell RPM to ignore non-installed packages upon rpm --erase?

I have a list of 30 or so "undesired" packages that I always erase/delete/remove on a newly installed RPM-based Linux system. However, when I try the --erase command, e.g. (intentionally shortened) #...
0
votes
1answer
31 views

Issues with RPM Package Creation on Red Hat Enterprise Linux

I am trying to create an RPM package with some basic C and C++ example files before I try doing the package creation with software at my job that is running on Red Hat Enterprise Linux 6, but having ...
0
votes
1answer
87 views

How can I make by pip installed python packages visible to rpm?

Problem: I have a local rpm package with lots of out of date python packages which I cannot install from the package manager. Thus, I installed them with pip. But rpm still complains that the ...
0
votes
1answer
30 views

How to execute my own command installed with rpm

I made a package using rpm in Fedora 29. These are the steps I followed: # dnf install fedora-packager fedora-review # usermod -a -G mock my_user Added my user to mock group $ rpmdev-setuptree Then ...
0
votes
2answers
2k views

Download RPM and all dependencies on RHEL/CentOS 8

I have a scenario where I need to install an arbitrary list of RPM packages (usually around 5-10 packages) on a server with no network connection. Some packages are from EPEL and I want to avoid ...
0
votes
2answers
233 views

How to remove unneeded rpm packages in openSUSE?

Is there any alternatives for yum autoremove in rpm or zypper? (openSUSE doesnt have yum) I need it because zypper installs recommended packages by default and often doesnt clean them automatically

1
2 3 4 5
18