Questions tagged [rpm]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
64 views

Remove old kernels on CentOS 8

On CentOS 7.X I use the following command to clean up unused old kernel: package-cleanup --oldkernels --count=1 But it no longer works on CentOS 8.X, does anyone know the correct command?
0
votes
1answer
27 views

How to install/create the /proc/cpuinfo file in SUSE12?

I have a system which has /proc/cpuinfo and a system which does not: /proc/cpuinfo : No such file or directory Both of them run SUSE12. I'm trying to figure out how to have this file on the second ...
1
vote
1answer
81 views

What repository provides ksh for RedHat universal base image version 8 (ubi8)

Please tell me if RedHat provides a repo with the ksh RPM for their Universal Base Image version 8 (ubi8). The UBI images are great because they are pre-configured to fetch RPMs from many repos but ...
0
votes
0answers
11 views

libreswan update from 3.15 to 3.32

I'm trying to update the package of libreswan from 3.15 to 3.32 on Redhat 6.6 but getting below error: rpm -Uvh libreswan-3.32-1.el6_10.x86_64.rpm warning: libreswan-3.32-1.el6_10.x86_64.rpm: Header ...
2
votes
2answers
35 views

Remove a RPM file without touching any of the files

I just installed a totally wrongly packaged RPM on my openSUSE distribution (the packager added / and /usr/* as a file of the package, so I can't uninstall it without wiping the entire root FS) How ...
0
votes
0answers
36 views

Problem with updating Cent OS 8 Linux with yum and dnf

I am new to CentOS 8. I installed CentOS 8 and now i am facing problems with updating the CentOS. I tried with yum and dnf both. Below is the error which I am getting. Could you kindly help. [root@...
0
votes
1answer
47 views

Receiving an error when trying to install git on RHEL8 box

I created a new EC2 on AWS, using RHEL 8. I try to do sudo yum install git But I get back this error: Updating Subscription Management repositories. Last metadata expiration check: 0:03:39 ago on Sat ...
0
votes
1answer
84 views

AIX and rpm problem

Today on Aix 7.1 with yum yum -y update Dependencies Resolved ====================================================================================================================================== ...
0
votes
1answer
15 views

RPM with HTTP/FTP URL - Storage and cleanup of package files

We are installing packages using command like below - rpm -ivh https://someurl/somepackage.rpm In this case, the somepackage.rpm would get downloaded to a local location and get installed from there. ...
-1
votes
2answers
86 views

Most popular, trusted rpm dnf repos for CentOS Stream 8 ans RedHat 8 Enterprise Linux [closed]

Could you please point me to several rpm repositories that hold binary compatible packages for CentOS Stream 8 and / or RHEL 8 so I can use dnf to find newer versions of standard packages or software ...
0
votes
1answer
56 views

How to install rpm-python binding to python3?

I have python2.6.6(default) and python3.8 installed on Centos 6.10. Current rpm-python version is 4.8.0.59. Default content of rpm-python: /usr/lib/python2.6/site-packages/rpm /usr/lib/python2.6/site-...
0
votes
0answers
11 views

yumdownloader using a local .repo file without root access

How do you download RPMs with yumdownloader using a local .repo file without root access?
0
votes
0answers
22 views

How is rpm unable to check digest on files?

We're running a tool to detect changes in package files for file integrity monitoring (FIM). The command used is rpm -a -V --nolinkto --nouser --nogroup --nordev --nomode --nodeps --nomtime --nosize ...
0
votes
0answers
14 views

packages in certain version missing in official repo of different distribution system as system rolling update

problem description: I was going to install foreman=1.14.3 which need rh-ruby22-ruby as it's dependency but i can not find rh-ruby22-ruby in repo centos-sclo-rh as yum info rh-ruby22-ruby tells me ...
2
votes
1answer
153 views

How do you set an environment variable for the current session in an rpm?

I am producing an rpm for Sia in ClearOS7 (based on Centos7) and have hit a brick wall. I am trying to set SIA_DATA_DIR=/var/lib/siad-data for the session where I am installing the rpm. It is needed ...
0
votes
1answer
210 views

How can I safely remove /var/lib/rpm/.rpm.lock on Fedora 33 Workstation?

Recently I've been having the issue that some rpm commands (e.g. # rpm --rebuilddb fail due to this error: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied) It also ...
0
votes
1answer
63 views

Where to find RPM packages for CentOS 6?

I need to download some RPM files for CentOS release 6.10. I noticed that CentOS-6 reached end of life. Is it still possible to find its RPM packages somewhere?
-2
votes
2answers
41 views

Understanding of rpm commands(-ivh vs -uvh) [closed]

Just want to know how different rpm -ivh <packagename> is from rpm -uvh <packagename>.
1
vote
2answers
293 views

Cent OS 7 libpng16.so.16 can't open shared object file

I am attempting to use a program XPDFReader on CentOS 7 it keeps throwing the error error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory I ...
0
votes
0answers
40 views

Download yum package from third party repo without superuser privileges

Context I'm working on a Centos 7.9 remote machine where I need to install several packages, most of them available via yum. Unfortunately, my user does not have sudo or root privileges so I cannot ...
0
votes
1answer
29 views

how to run a script in postun section in spec file

I have a spec file with some content. There is also a script: %postun if [ '$1' == 0 ]; then do some things fi I want that a script in %postun section has been executed after package removed. ...
0
votes
0answers
109 views

How to make `zypper install` show all missing dependencies?

I am trying to install Docker on SLES 12.5. When I run zypper install docker, I get the following message: Problem: nothing provides fix_bsc_1057743 needed by docker-19.03.12_ce-378.39.x86_64 ...
0
votes
1answer
16 views

RHEL8: How to decide on latest and greatest rpm versions?

I am involved in a project at the moment, wherein there are rpms installed on the RHEL 6, which do not belong to the original distribution. I have been vested with the task of finding out what are the ...
0
votes
1answer
82 views

Can I download only already installed package? (RHEL)

The OS is RHEL 7. Can I only download and not install a package which is already installed in this system? I'm doing this in order to install the package to another RHEL system without internet access....
0
votes
2answers
282 views

How can I download .rpm file including its dependencies in Windows 10

I have an unnetworked CentOS PC and need to download packages for it in Windows 10 PC with internet access. I can find and download a necessary package in rpmfind.net but it does not include its ...
0
votes
1answer
49 views

Why do 'rpm -qa' and 'yum list' display different result?

I need to check if bzip2 package is installed in my RHEL7.6. The result of the 1st commmand rpm -qa | grep bzip2 was bzip2-devel-1.0.6-13.el7.x86_64 bzip2-libs-1.0.6-13.el7.x86_64 but the result of ...
3
votes
2answers
271 views

How to list contents of a local .rpm file using dnf?

On a machine which (possibly) doesn't have access to internet I have a local rpm file. I would like to inspect it's contents, that is what files will be installed once I install it. Is it possible to ...
0
votes
1answer
76 views

Restart service after RPM transaction

I have an RPM package which updates a config file and so entails a restart of that service (rsyslog). My supported platforms include a pre-systemd version (centos6) and systemd versions (centos7+). My ...
0
votes
1answer
106 views

Where to download kernel rpm directly?

Here provides some new (5.x) kernel rpm: https://elrepo.org/linux/kernel/el7/x86_64/RPMS/ Is any place that still provide 4.x kernel rpm? #Edit: I am looking for CentOS/Redhat update.
2
votes
2answers
316 views

yum + how to remove single rpm without dependencies

we have rhel server 7.6 version I am trying to remove the following rpm but without to remove rpm dependencies but I get rpm -e --nodeps sshpass error: "sshpass" specifies multiple packages:...
0
votes
1answer
182 views

can't install libQtGui.so.4 on Centos 8

For a computer vision (Machine Learning) test I need to install OIDv4_ToolKit I'm following the instructions in the link. On centos 8 I've used: conda install --file requirements.txt but then, when ...
0
votes
1answer
39 views

Copy file with rpm in %pretrans

How can I get a .tgz file from rpmbuild's SOURCES directory within the %pretrans section to a target system using a RPM and extract it there? I would have to do it in the %pretrans section because the ...
1
vote
1answer
40 views

Cannot locate binary after rpm install

I am dealing with a networking issue on my system and I wish to install wireshark to investigate the networking activity on it. The system uses CentOS 7 and since I could not install it directly I ...
0
votes
1answer
121 views

Not installed package shows file conflict

I'm facing facing conflict issue while installing a RPM that is not already installed. I tried 'yum clean all' but it didn't change anything. Is the issue related to the package and not OS. RHEL 7.7 ...
0
votes
0answers
29 views

RPM subpackages are not built on centos 8

I have a tool mypackage with 2 subpackages foo and bar. On centos 7, everything is fine, the two packages mypackage-foo and mypackage-bar are built. On centos 8 there is only one package mypackage ...
0
votes
2answers
32 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
3k 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
21 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 ...
1
vote
1answer
106 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
151 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
12 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
18 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
48 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
38 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
35 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
172 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
470 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
33 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
81 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 ...

1
2 3 4 5
20