Questions tagged [rpm]

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

RPM Package Manager is a package management system. "RPM" refers to the .rpm file format, files in this format, software packaged in such files, and the package manager itself. RPM was intended primarily for GNU/Linux distributions. The file format is the baseline package format of the Linux Standard Base.

718 questions
0
votes
1 answer

How to install Data Protector RPM patch in Linux?

Well, HPE Data Protector has a long tradition of doing odd things. For example the way an rpm "patch" is installed is not via -U or -F, but differently, which brings me to my question: In the past every patch was accompanied by a corresponding .txt…
U. Windl
  • 366
  • 3
  • 17
0
votes
1 answer

yum: install local RPMs and all local dependencies

I have my locally generated rpm packages (the main package and its dependencies) located in my home directory. The spec file defines dependencies. I'd like to install it with a single yum or dnf command and let it find dependencies in my directory…
Mark
  • 249
  • 1
  • 5
  • 13
0
votes
1 answer

rpm: define my own variable in spec file

Is there a way to declare my own variable inside of a spec file and refer to it as %{my_var} ? I see there is %define and %global macros, but seems none of it works for my case.
Mark
  • 249
  • 1
  • 5
  • 13
0
votes
1 answer

How to install another rpm as dependency to another rpm?

We have built application rpm file using fpm. There we have set python3 as dependency, so it installs automatically before the main rpm. But it installing 3.7. To replace that with 3.8, we need to check OS version before whether it is centos or…
0
votes
1 answer

How to set python3 command to work in aws linux 2?

I followed first approach in this link to install python 3.8 Steps I followed: sudo yum install -y amazon-linux-extras amazon-linux-extras | grep -i python sudo amazon-linux-extras enable python3.8 sudo yum install python3.8 After that, python3.8…
0
votes
1 answer

Difference between zypper and rpm for installed packages

I'm looking at a reliable way to find how many installed packages I have on my OpenSUSE Leap 15.3 system. I tried: # number of available packages in the repos vm-admin:~ # zypper se -s | wc -l 55800 # number of installed packages from the…
dan
  • 83
  • 1
  • 7
0
votes
1 answer

Make yum not installing dependancies if main package failed

I have 3 packages corepkg, corepkg-optB and corepkg-optC. corepkg-optC depends on corepkg-optB, corepkg-optB depends on corepkg. I've created a repo of these 3 packages. When I run yum install corepkg-optC, and corepkg failed, yum installs…
locobastos
  • 15
  • 1
  • 1
  • 8
0
votes
1 answer

Can you elaborate on "yum install --downlaodonly"?

You need to install it in an environment where there is no network. So I was installing via RPM. In the meantime, a crash occurred and the installation could not proceed. I found yum install --downloadonly while searching for various things. It is…
inding
  • 77
  • 2
0
votes
0 answers

RPM failed dependency that's already installed

We have an old dev server for Centos 6 I want to update Openssl to a modified version 1.0.2k (we have got a C8 server to replace it, but trying to update the old one in the interim). I have built the RPM from a SRPM, and trying to install.…
Ian
  • 153
  • 6
0
votes
1 answer

Cannot get latest-version package from multiple yum repos

There are two rpm repos in my CentOS 8.1.1911. Details are as follows: # virt-1.repo [appstream] name=CentOS Linux 8-stream - AppStream baseurl=http://mirrors.ustc.edu.cn/centos/8-stream/AppStream/$basearch/os/ gpgcheck=0 enabled=1 #…
freshMan
  • 11
  • 1
0
votes
1 answer

Restore permissions to all files in folder using RPM

Using chmod, I accidentally changed everything in a bin folder and now sudo/su doesn't work. I know rpm -q --whatprovides can provide which RPM provides a specific file. and rpm --setperms can restore everything provided by a RPM. Is there a way to…
eng3
  • 167
  • 10
0
votes
1 answer

Should I build my Haskell app via the RPM SPEC file or try to use a (reproducible) binary from the CI pipeline

I haven't built an RPM from scratch in 20 years. So we can effectively say "never". [edit] The requirement for RPMs is to provide roll-backs, version control, and such. It is non-negotiable. I have a single binary and a single config file I need to…
meangrape
  • 115
  • 4
0
votes
0 answers

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 dependent so it could create some other issues?) I…
HomeIsWhereThePcIs
  • 144
  • 1
  • 2
  • 9
0
votes
1 answer

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 package docker install dependency : yumdownloader…
0
votes
0 answers

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…
vitaly.v.ch
  • 129
  • 6