Questions tagged [rpm]

RPM Package Manager is a package management system used primarily for GNU/Linux operating systems. It used the .rpm file format.

Filter by
Sorted by
Tagged with
1
vote
0answers
21 views

RPM --queryformat FILEMD5S checksum is different than md5sum of machine

The RPM man page says: The FILEMD5S Tag The FILEMD5S tag is used to display the MD5 checksum for each of the files that comprise the package. Array: Yes (Size: One entry per filemd5s) Used with ...
0
votes
0answers
15 views

own RPM mirror with only custom pages

I have som custom RPM packages i build from source RPM http://vault.centos.org/centos/7/updates/Source/SPackages/XXXX.src.rpm but its a pain to have updated when there come a new release, so i think ...
0
votes
0answers
31 views

Proper way to package a NodeJS application with rpmbuild

I have created my first rpm package for a NodeJS app which is ran as a systemd service. Since I do not want to package the node_modules folder with the rpm (AFAIK npm install is system/node version ...
0
votes
1answer
85 views

install docker in offline Centos Server

I want to install docker into a offline Centos 7 server, but I have missing dependencies. I have executed the following instruction into my local virtual machine ( Centos 7 with kernel 3.10) to ...
0
votes
0answers
31 views

How I could install NGINX from nginx.org repo using yum in CentOS-8?

Problem: After enabling repos, like I did for centos-7, yum just does not see any Nginx RPMs from nginx.org repo: # cat << 'EOF' > /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo #baseurl=...
0
votes
1answer
69 views

After power failure restart both DNF and YUM stopped working, do nothing, not even metadata check

My environment, happily functioning for a long time, experienced a power outage - of course, the immortal power supply was offline at the time, needing new batteries. As the administrator, I know ...
1
vote
1answer
21 views

How can I best get the mpt2 drivers back in to Centos8 [for maas images and openstack ironic/image builder]

I need the mpt2sas drivers to get Centos8 to work with my servers. Thanks to them using the rhel nutered kernel the device id's have been removed and wont load with out using a dd disk. I have both ...
0
votes
0answers
69 views

Segmentation fault when execute yum or rpm any command

I am facing some issues on centos-7 when I execute yum install, yum upgrade, yum installed list, yum search, yum list installed, rpm then getting an error Segmentation fault. system Logs:- segfault at ...
0
votes
0answers
24 views

RPM Spec files: Set %config files from a list of files

Example snippet of a SPEC file: ... %install unzip $RPM_SOURCE_DIR/APPLICATION-%{version}.zip -d %{buildroot}/ find %{buildroot} -type f ! -name "*.conf" | awk -F %{buildroot} '{print $2}...
0
votes
1answer
172 views

Oracle Linux 8.3 can't find libyaml-devel

I'm evaluating Oracle Linux as a CentOS alternatives. During my tests I have to compile a package depending on libyaml-devel but the lib isn't present in the repo. I had the impression Oracle Linux ...
0
votes
1answer
21 views

I can use my local apt repository as a local yum repository?

I'm a newbie in Linux. I have a local apt repository. I didn't want to set up a separate machine and http server for my rpm packages and occupy disk. I wonder if there is some way I can use my local ...
0
votes
1answer
24 views

stdout does not display `rpm -qa` output without redirect

On a SLES 12 virtual machine the command rpm -qa does not return anything to stdout. ~> rpm -qa ~> The command finishes after 1 or 2 seconds, so it clearly generates some data. Only when the ...
0
votes
3answers
112 views

`yum`/`dnf`/`rpm` equivalent to `dpkg -l` for RHEL/CentOS?

Is there an equivalent yum, dnf, or rpm command to Debian/Ubuntu's dpkg -l command to list both package names and installation status?
0
votes
1answer
379 views

update kernel version that higher then next rhel update

we have rhel server with the following details kernel version - 3.10.0-327.el7.x86_64 more /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) from dmesg we see many problems ...
0
votes
1answer
178 views

yum history list + how to verify rpm historical status

The rpm command gives every package installed a transaction ID. The transaction ID is a Unix time stamp (number of seconds since January 1, 1970). You can then perform some operations on packages ...
0
votes
0answers
35 views

why there are missing rpms when installing the same rhel ISO on different machines

we have a very strange behavior after installing new machines with rhel 7.x ( FROM ISO INSTALLER ) we notice that rpm - libcgroup , isn't installed on the current new machines while before couple ...
0
votes
1answer
48 views

replace rpm with yum while rpm using replacepkgs flag

I use the following rpm syntax in order to install few rpm' syntax that exist under pkgs rpm -ivh --replacefiles --replacepkgs /home/pkgs/*.rpm unfortunately in case of rpm dependencies rpm failed , ...
0
votes
1answer
31 views

rpm + how to identify if some rpm was removed or was not installed when installing the OS

we have rhel 7.6 machines we notice that some specific rpm isn't installed on the machine the problem is that we not sure if someone remove it by yum remove or rpm -i or simply rpm was not installed ...
0
votes
0answers
79 views

rhel servers + how to identify if yum Processes Hang? or rpm lock

we perform the following steps on rhel 7.x servers in our shell script in order to avoid situation of yum process hang we want to get opinion about if we can identify the yum hang problem and avoid by ...
1
vote
0answers
40 views

Is there a way to back out of an rpm update?

Say I have a product distributed as an rpm named myproduct-2.3.1.rpm. I produce an update to version 2.3.2. The rpm contains a script to do something, like convert a file format, that runs at the end ...
0
votes
1answer
48 views

rhel + upgrade individual rpm's from rhel 7.1 to rhel 7.7 or batch upgrade of rpms

We have rhel 7.1 version server , with local repositories of rhel 7.1 ( with rpms’ from rhel 7.1 ) We want to replace the local repository with rpm’s of rhel 7.7 so we intend to Remove the local repo ...
0
votes
0answers
27 views

Unable to update package, because it requires jre1.8 - “Try using --skip-broken”. Jre1.8 is already installed on the machine, though

so I'm unable to run a yum update on one of my machines. It returns the following error: [root@yadayada ~]# yum -y update Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds ...
0
votes
0answers
114 views

How to build kernel-debuginfo from upstream kernel

box: centos7.5 x86_64 from upstream: tar xvfz linux-4.xx.xx make menuconfig ( set CONFIG_DEBUG_INFO=y) save .config make rpm-pkg output 3 rpm:kernel-xxx, kernel-devel-xxx, src.rpm but where is ...
0
votes
2answers
82 views

I cannot add Centos 7 repository to install FFMPEG

When trying to use this command to add ffmpeg repository in Centos 7, I tried to add the repository using this command: yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-...
0
votes
1answer
501 views

Red Hat - Berkeley DB library - Corrupted DB

I am getting the below errors while executing the yum or rpm command. error: rpmdb: BDB0113 Thread/process 22448/139817567954752 failed: BDB1507 Thread died in Berkeley DB library error: db5 error(-...
1
vote
2answers
55 views

How to remove corrupt RPM install

I tried to install an RPM package and the install process failed. It looks like the program needs signing the Kernel Modules or something. Now I'm stuck in a weird state where rpm says the package is ...
0
votes
0answers
19 views

How to mirroring packages from AppStream?

I have a repository in package.foo.com I wanna backup packages from "AppStream" in package.foo.com/backup How i can achieve this goal? This is what I do yum list installed | grep AppStream ...
0
votes
4answers
2k views

Install rpm packages with Ansible using rpm application (not yum)

I want to install some RPM packages using Ansible and the installed rpm package manager. yum is not installed. Using command module with rpm -i {{package}} causes the task to fail if the package is ...
1
vote
1answer
508 views

How to install RPM Fusion repository with Ansible on Fedora 32 Server virtual machine?

I want to install RPM Fusion repository on Fedora 32 Server virtual machine with Ansible I've tried various possibility unsuccessfully : - name: Enable the RPM Fusion repository command: dnf install ...
0
votes
0answers
37 views

Elasticsearch upgrade using yum

Hi I am using Elasticsearch 6.6.0 and trying to upgrade to 7.3.0 I made sure that Elasticsearch version are available on my yum list (actually versions 6.6, 6.8, 7.3.0, 7.4.2, 7.5.2 are all available)....
1
vote
1answer
109 views

Need help setting up RPM repositories from behind a proxy

I have a server at work running Redhat 7.6, but the internal repositories are always hopelessly out of date. I've approached the security team who say they can whitelist a repository URL for me, but ...
1
vote
2answers
220 views

package already installed but rpm -q shows not installed

I have installed package python2-urllib3-1.10.2-7.el7.noarch on my RHEL 7.7 server using yum: yum install python2-urllib3 and it is successfully installed. now when I run rpm -q python2-urllib3 it ...
1
vote
1answer
101 views

How can i install an old samba version on Oracle Linux 7.5

Apologies if this is a lame question but i don't have much experience with subject.. I know that there are a bunch of posts regarding this but i wasn't able to find a proper solution... I running ...
0
votes
1answer
107 views

Rollback Yum machine to historical state, ignoring “obsoletes”

I have a large number of stateful servers that use Yum for package management. I am interested in a general automatic process for rolling them back to a historical state. Usually, enabling the ...
0
votes
0answers
6 views

Upgrading a server to RPM versions of another server

I have a few CentOS machines. I'd like to install the latest RPM package updates regularly on one staging machine and then - if there are no issues - install these updates on the other machines two ...
2
votes
1answer
25 views

How can we limit and give space in after each special character in bash script output?

I have to send all rpm related information to our log analyzer and I am running the command below which give continuous output as follows: CMD sudo rpm -qa --info | egrep 'Name|Version|Architecture|...
1
vote
1answer
115 views

Determining fully (or sufficiently) qualified rpm package name from short name

Yum has some sort of built-in "semantic sugar" which does a translation of short-hand package names to actual package names, but I can't figure out how to easily get a hold of it. Here's a simple ...
0
votes
1answer
296 views

Broken yum installation

I tried to update my CentOS on my server using yum update but I get the following error: Traceback (most recent call last): File "/usr/bin/yum", line 4, in <module> import yum File "/...
0
votes
1answer
51 views

sync system rpmdb to a local copy

On our business servers, for various reasons we want to use rpm packages, but we can't install the rpm package into the system database (permissions, multiple instances, etc). So we have created our ...
1
vote
1answer
114 views

yum claims package is installed but files not there in docker

I've got some weird behaviour yum vs rpm where both claim to install, but only rpm actually creates the files while yum just claims installed. I can't tell what I'm doing wrong and why the files won'...
1
vote
2answers
498 views

How RPM found conflict during installation?

I was building an rpm. I ran rpm -ivh X.rpm but got an error file /lib/modules/abc conflicts with file from package Y. My question is how rpm check the conflicts? can I use all these conflicts in the ...
2
votes
3answers
317 views

How to build a RPM for all version of Centos 7.X?

The developer provided the source with the spec file. Is it possible to build a RPM that works across all CentOS 7.x builds and is that a good idea?
3
votes
1answer
114 views

RPM spec file case update

I'm trying create rpm package. Spec file has next macros: %postun systemctl stop metrics_haproxy.service systemctl stop checker_haproxy.service systemctl stop keep_alive.service systemctl disable ...
0
votes
1answer
115 views

Unable to build initscripts package

I have some patches that I added in spec files and after adding those patches I am unable to build the rpm package. Obsoletes: hotplug <= 3:2004_09_23-10.1 Processing files: debugmode-9.03.61-1.0....
1
vote
0answers
173 views

how to know from which site it is safe to download pkgs

usually I download from redhat repository all rpms that I need one rpm is - java-1.8.0-openjdk-devel-1.8.0.171-8.b10.el7_5.x86_64.rpm location - http://rpm.pbone.net/index.php3/stat/4/idpl/44308336/...
-1
votes
1answer
33 views

Build Docker image with a future view of RPM upgrade [closed]

My aim is to build a docker image for my application, the core part of the application is installed through RPM during the image build. Suppose I've built my docker image with 'application-version-1....
2
votes
0answers
80 views

Accidentally installed RPM package into ubuntu

I accidentally installed a package using directly RPM in my ubuntu system. The package was libiconv-1.15: > rpm -i libiconv-1.15-1.el6.src.rpm rpm: RPM should not be used directly install RPM ...
1
vote
1answer
106 views

CentOS: detailed history of patch updates

e.g. http://mirror.centos.org/centos/7/os/x86_64/Packages/ ... chrony-3.2-2.el7.x86_64.rpm Any ways to know what made the -2 part in 3.2-2? I.e. deltas between 3.2 and 3.2-2. That's no-brainer ...
4
votes
1answer
797 views

How do I warn people that a repo has been hacked?

The GetPageSpeed repo has been hacked. Anyone with the repo installed will have malicious code installed on their box by yum update, including the file /etc/cron.d/sysstat2. I've notified ...
15
votes
3answers
2k views

How did installing this RPM create a file?

Running yum install https://extras.getpagespeed.com/redhat/7/noarch/RPMS/getpagespeed-extras-release-7-1.el7.gps.noarch.rpm creates /etc/cron.d/sysstat2 but RPM disavows the file: # rpm -ql ...

1
2 3 4 5
14