Questions tagged [rpm]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
27 views

how to manage %files section in spec without environment variables

I am creating a package for a software using MPICH. The binaries must be installed on the mpich directory. This directory depends on the mpich version (/usr/lib64/mpich-3.2/ or /usr/lib64/mpich/). For ...
0
votes
2answers
42 views

How to fix [Delta RPMs disabled because /usr/bin/applydeltarpm not installed.] in installing deltarpm

When I tried to install deltarpm sudo yum install deltarpm The following error returned. Delta RPMs disabled because /usr/bin/applydeltarpm not installed. How to fix them ? I wonder applydeltarpm ...
0
votes
1answer
16 views

Cannot pass variable from kickstart to rpm

I have a common package that need's to be installed into different servers. The installation is done through the same kickstart template file. So the kickstart template is used to produce the ...
0
votes
1answer
33 views

RPM-based Linux: How can I remove a locally installed package?

I tested installing a package for which I had to use yum localinstall <pkgfile>.rpm. Worked fine, but I cannot figure out how to remove it. How can I achieve that?
0
votes
1answer
36 views

What is the difference between rpmsign --addsign and rpm --addsign

What is the difference between using rpmsign --addsign and rpm --addsign, when trying to sign a rpm package? Which one should be used? I tested the two commands on the same rpm and it seems the ...
0
votes
0answers
10 views

module dnf.util has no attribute on centos8

yum update got broken in middle on my centos8 machine and now I'm getting as AttributeError: dnf.util has no attribute when running yum, also python lib seems to be missing as well. Is there any way ...
0
votes
0answers
16 views

Get currently installed packages

I am currently running OpenSuse 15.2. I am wondering how to download all the sources (not really the sources, but the rpm-s) of the currently installed packages to use them as a repo for a new ...
0
votes
1answer
23 views

Example of customisations with rpmrc?

Can someone please share examples of when and/or where the rpmrc files under the path (/etc/rpmrc and ~/.rpmrc) are used by a system administrator ? Evident from the question but stating it for ...
-1
votes
1answer
33 views

Issue with packages permissions

I have an issue with some ownership and permissions unintentionally changed on files in /usr/bin and I want to know if there is a way to recover the default ones?
0
votes
1answer
17 views

Use RPM to install not-installed documentation files (missing files)

(Similar, but not identical (rpm -V reports no problems) to Reinstalling packages with missing/corrupt files) I didn't pay attention and some RPM packages were installed with option --excludedocs in ...
0
votes
1answer
26 views

Yum crashed and Gnome desktop is disappear and unable to use yum now

I am using centOS7 and i was doing the yum update and my electricity went out and PC crashed. When I restart it only terminal appeared with command line. I tried to yum update again but am getting the ...
0
votes
0answers
34 views

Uninstall filebeat from CentOS 5

I have about 10 CentOS 5 machines that need monitoring with filebeat. I found a solution (just use latest version) but now I have some machines with an older version (7.9.0) and I can't seem to ...
1
vote
1answer
114 views

Are RPM Fusion packages trustworthy and safe to install?

I come from Debian GNU/Linux which has a rich set of repositories. So I barely need to use third party repos. What bothers me in Fedora is the need for some hard to compile packages (In terms of time ...
0
votes
1answer
22 views

dnf install pulling older gcc as dependency

This is on a fedora 32 box. Seeing a strange problem with dnf when installing packages that require gcc. Repos are updated and the latest gcc is available. $ sudo dnf list gcc --showduplicates Last ...
1
vote
1answer
43 views

how to extract rpm files from a machine?

I have 2 machines with Centos 7.5 on them. one of them is virtual and the other one is physical. There are some rpm packages on virtual one that were installed by rpm command. I need to know what ...
0
votes
0answers
93 views

All yum commands fail with Error: rpmdb failed release provides

I am running a Linux EC2 instance on AWS. All of my yum commands are failing with the same error. I tried following solutions from here but nothing works. This only recently became an issue. My ...
0
votes
2answers
20 views

Stop builtin(?) repos. Configure RHEL 8 to use only local repos

I downloaded a DVD image of RHEL 8 and I want to use only the packages therein. That image already contains indexed BaseOS and AppStream repos, so I just have mount it and put a local.repo file with ...
1
vote
3answers
37 views

How do I determine which version of the RHEL I'm building on?

Under Fedora, I can use this command to get the version: rpm -E %{fedora} Under CentOS, I can use this command: rpm -E %{centos} What is the equivalent for Red Hat Enterprise Linux?
-1
votes
1answer
298 views

yum + is it possible to change the timeout regarding to yum install?

we have 34 Linux machines in cluster ( server1-server34 ) , while all machines are using the repo on server1 for download rpm's we found that network issue can occur es yum installation problem , as ...
0
votes
1answer
26 views

How can I search all file names for all packages in a given repository on Fedora?

Is there a way to search file names (not contents of files) for packages in a Fedora repository? This would be similar to rpm -ql [package] | grep term for every package in the repo, except it would ...
0
votes
0answers
85 views

Why is RPM not finding my package version, even though it lists it as available?

I am creating RPMs from spec files. I was installing java8 latest rev as a dependency, and it always worked fine. Today I needed to pin the java8 version down to a specific rev, but I'm getting an ...
0
votes
2answers
57 views

yum + how to captured all rpm that was installed by yum update

we performed upgrade from rhel 7.2 to rhel 7.6 the upgrade was by yum update ( from redhat repertoires ) subscription-manager release --set=7.6 subscription-manager repos --enable "rhel-*-...
0
votes
0answers
32 views

How to upgrade rhel 7.2 to rhel 7.6 Server

we are trying to update the rhel server from 7.2 to rhel 7.6 we mount the rhel iso 7.6 to folder and create repo and by doing yum update -y we want to do the upgrade but we are facing many issues as ...
0
votes
1answer
59 views

CentOS 7.8 duplicate package

One of my CentOS 7.8 machine I see duplicate package installed. how to clean-up older version of these rpms. # rpm -qa |grep NetworkManager-1 NetworkManager-1.18.4-3.el7.x86_64 NetworkManager-1.18.0-5....
0
votes
1answer
226 views

yum + pre-existing rpmdb problem + yum complain about packages that already installed

we are trying to install the following rpm without success on rhel 7.2 server uname -r 3.10.0-327.el7.x86_64 yum install python2-cryptography-1.7.2-2.el7.x86_64.rpm Loaded plugins: langpacks, ...
-2
votes
2answers
84 views

yum + how to identify dependencies between rpm from i686 to X86

The approach to remove all rpm type of i686 and exclude the removal of X86_64 is like the following yum remove '*.i686' -x '*.x86_64' what we want to do instead it like the following verify no ...
-2
votes
1answer
144 views

yum + what is the safety approach to remove all rpm's from i686 type from rhel 7.x version machines

We want to remove the following rpm from all production machines servers , we have more the 152 servers machines ( rhel 7.6 ) , all Linux are x86_64 architecture, yum remove *.i686 -y this yum ...
0
votes
1answer
75 views

Prevent “yum remove package” from deleting/renaming config files

I have created a RPM package and it is uploaded to my local yum repository. When I (or future user) install + edit config files of the package and then remove the package (yum remove <package>) ...
0
votes
2answers
125 views

What is the difference between an RPM debuginfo package and rebuilding a package with an option like -g?

I would like some clarification on how debuginfo packages from RPM are used. Say I have the package vim, and I found a crash. I want to debug this crash, but in gdb I am getting errors about gdb not ...
0
votes
2answers
77 views

Is it possible to determine which build flags were used on a pre-built RPM package?

I have been using the Quagga dynamic routing daemon on a CentOS 6 VM. I'd like to use a feature that is only accessible if the RPM was built with the --multipath=X flag. The RPM I'm using was already ...
1
vote
1answer
850 views

Upgrading Fedora 25 to 32 “rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by …” errors

After running sudo dnf system-upgrade download --refresh --releasever=32 --allowerasing I get the following gigantic list of errors: rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by python3-audit-3.0-...
0
votes
1answer
17 views

How do I get around a transaction check error in an RPM that needs to overwrite a configuration file?

I'm packing something and the upstream provider clobbers a configuration file. Transaction check error: file /etc/acme-engine/acme-engine-fpm.conf from install of acme-1-74.1.el7.noarch conflicts ...
0
votes
1answer
11 views

%dir doesn't seem to work in spec file

It's my understanding of %dir that if I have %files %dir /foo/bar That I now do not have to list each file individually of /foo/bar. However when I build my RPM in OBS I'm getting, error: Installed (...
1
vote
1answer
110 views

What is apt/dpkg equivalent of redhat 'rpm -ql' in debian?

I would like to see the tree of the apt installed package in Debian. I use rmp -ql in RedHat base linux. What command I must use in debian?
1
vote
1answer
20 views

Why does rpm -q --provides show a bunch of different versions

On Fedora 31, if I run: rpm -q --provides glibc I get, amongst other things: libc.so.6(GCC_3.0) libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.2) libc.so.6(...
0
votes
1answer
29 views

How can I tell if a SRPM package will have components which will run as root?

Some packages install software which needs to run with root privileges, such as the sudo package. Others, such as vim, do not inherently need to run with root privileges. Is there a generic way to ...
0
votes
1answer
48 views

is there a safe way to install .deb / .rpm via bash script?

I developed a java application which is packaged for many platfor (including .deb / .rpm). In my app, there is a functionality to auto-upgrade. For Linux platform, it manages, to check if new version ...
0
votes
1answer
126 views

How do I remove a package with a failing scriptlet in Fedora 32?

I'm trying to remove the emacs package from my Fedora 32 system using the dnf remove emacs command, however when I remove it this happens: Running transaction check Transaction check succeeded. ...
0
votes
1answer
53 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
1answer
46 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
193 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
33 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
27 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
32 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
61 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
111 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
735 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
186 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
46 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
23 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 (...

1
2 3 4 5
19