Questions tagged [rpm]

.rpm is the file-format used by the RPM Package Manager (originally the Red Hat Package Manager), found primarily in Red Hat Linux and its derivatives.

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

Installing Git LFS

I'm following this guide. When I have to run this trainer: trainer = Seq2SeqTrainer( model, args, train_dataset=tokenized_datasets, eval_dataset=tokenized_eval, data_collator=...
user avatar
  • 119
1 vote
0 answers
44 views

How To Setup ostree and rpm-ostree on openEuler?

I have a task which is to test the rpm-ostree on openEuler. It seems not set up correctly, simply installing it with yum may not enable it. > rpm-ostree status error: This system was not booted via ...
user avatar
0 votes
0 answers
31 views

is it possible to lock rpm from any installing

we want to exclude rpm for any installing as reference in yum its should be like this vi /etc/yum.conf exclude=* in example above we avoid any yum installation about rpm , we need the same approach ...
user avatar
0 votes
2 answers
24 views

What is the strategy used to deploy RPM at the system installation time?

To clarify, I am wondering how you can install RPM on a system at the installation time. Yes, I know that to install you use "rpm -i", but that is not the question. My point is that when you ...
user avatar
0 votes
0 answers
19 views

How to specify dependency in the configure.ac and spec.in file

I am making a rpm for a python code. My code needs a python package "requests" and a command "nc" from the nmap-ncat package. In the spec.in file, I have mentioned the dependency ...
user avatar
0 votes
1 answer
53 views

beginner RPM about %install and rpmbuild -bb

I am a bit confused about the install step of building a binary RPM. I think that the install step is designed to be run when the user installs the binary package, the .rpm. I am trying to package a ...
user avatar
0 votes
2 answers
298 views

How do you create a chroot environment for OpenSUSE Leap?

I have CentOS 7 and would like to install a chroot environment of OpenSUSE Leap for testing. How do I do that?
user avatar
  • 319
0 votes
0 answers
65 views

Difference between config.repo file and files under /etc/yum.repos.d

I'm new to Linux and on a server that has multiple yum repositories. For some repositories, I see a .repo file under /etc/yum.repos.d and for some repositories, I see a file config.repo under the ...
user avatar
0 votes
1 answer
508 views

yum update fails with lots of duplicate packages

I am trying to update a RHEL server that has not been updated for 4 years. yum update returns a lot of duplicate package errors. I can only paste part of the output. How can I clear these and be able ...
user avatar
  • 101
0 votes
0 answers
85 views

Yum troubleshooting dependency error

I have an updated CENTOS 7 distribution I built a local repo for using createrepo. It installs and operates fine but when I try to yum update it, I'm getting a dependency error. My interpretation of ...
user avatar
0 votes
1 answer
130 views

Remove content from /var/lib/yum/plugins/local in Centos

The /var/lib/yum/plugins/local folder seems to store installed rpm packages: $ ls /var/lib/yum/plugins/local 389-ds-base-1.2.11.15-95.el6_9.x86_64.rpm 389-ds-base-devel-1.2.11.15-95.el6_9.i686.rpm ......
user avatar
0 votes
1 answer
1k views

RPM installation error: failed dependencies

I'm trying to install an application on a GNU/Linux OS with RPM, however it keeps saying me that it's dependencies are failed: rpm -i sap-1.7.54-0.i686.rpm error: Failed dependencies: libncurses....
user avatar
  • 255
1 vote
1 answer
47 views

Updating yum package does not install minimal version of required package

Installing pkg-a which Requires: pkg-common >= 1.1.0 does not update existing installed package pkg-common which is as version 1.0.0. pkg-a Spec Name: pkg-a Version: 2.3.4 Requires: pkg-common ...
user avatar
  • 1,476
0 votes
1 answer
13 views

Permit RPM to install file over other RPM's file?

I know, "bad practice". In this case, suppose 2 RPMs which define which things should be installed onto a given server. RPM 1 wants to install config.json and RPM 2 wants to install it as ...
user avatar
  • 1,476
0 votes
1 answer
592 views

Android x86 i686 version doesnt have a ISO

So, i'm trying to install android on a old laptop i have laying around, it runs on i686, when i go to the android x86 site the only file i can download is a RPM, only the 64 bit version has a iso, ...
user avatar
  • 11
0 votes
1 answer
90 views

why rpm failed but yum worked for the same downloaded rpm

In order to install libpcap-devel offline, I used yum install -y --downloadonly --downloaddir=. libpcap-devel and got 2 rpm: libpcap-1.5.3-12.el7.x86_64.rpm libpcap-devel-1.5.3-12.el7.x86_64.rpm Then ...
user avatar
  • 2,576
1 vote
1 answer
764 views

yum + skip broker or exclude rpms

during yum update on one of our rhel 7.6 server we get the following error --> Finished Dependency Resolution Error: Package: libtirpc-devel-0.2.4-0.6.el7.x86_64 (installed) Requires: ...
user avatar
0 votes
1 answer
473 views

Is there a way to determine what the rpm file permissions should be?

I am working on hardening an instance of Fedora CoreOS and I am using OpenSCAP to perform a security scan to enumerate issues that need to be fixed. One of the issues is that some of the permissions ...
user avatar
  • 51
0 votes
1 answer
238 views

which iso file to download in order to upgrade rhel from 7.2 to 7.6

we have 762 linux rhel servers with version 7.2 we want to upgrade all servers to rhel 7.6 but off-line ( without network ) from redhat site - https://access.redhat.com/downloads/content/69/ver=/rhel--...
user avatar
0 votes
1 answer
568 views

On Fedora - how do I find (configuration-)files which have been altered since installation?

I'm currently observing a problem with my onboard sound device (popular NUC device) and I found no fix for this yet. So I'm currently "hoping" I've made some modifications on some configuration file ...
user avatar
  • 957
1 vote
1 answer
223 views

yum: Identifying Packages where Installed version-release is Newer than Repo version-release

I manage my RHEL 6 / 7 systems with yum pointed at a local repository that is a replica of the official repository from Red Hat. Other people have installed newer versions of some packages as follows:...
user avatar
  • 839
1 vote
0 answers
234 views

yum + Multilib version problems found

we are installing now docker on rhel 7.2 version during yum install we see the following --> Finished Dependency Resolution Error: found. This often means that the root cause is ...
user avatar
0 votes
1 answer
42 views

creating rpm for two different hardware systems on Mageia

I am trying to build rpm that will be installed in two different hardware devices. For each hardware , there are different files and commands that need to be done, I want the rpm to auto-detect the hw ...
user avatar
0 votes
1 answer
124 views

interpretation of yum error messages

I tried to upgrade php 5 to php 7 on CentOS6 but failed with errors like this: --> Finished Dependency Resolution Error: Package: php-mcrypt-5.3.3-5.el6.x86_64 (epel) Requires: php(api) ...
user avatar
  • 73
0 votes
1 answer
183 views

How to set user/group/mode for directory created with `install -D`

When installing a file with the -D option to include creation of parent directories, how do you specify the user, group, and mode to use for the created directories? This is in the context of an RPM ...
user avatar
  • 1,476
1 vote
0 answers
1k views

How can I upgrade rpm on Centos 7 offline?

I'm trying to install python modules on centos 7 and python2-setuptools-45.2.0-1.noarch requires rpmlib(PayloadIsZstd) <= 5.4.18-1 I have so far installed epel-release-latest-7.noarch by ...
user avatar
  • 111
0 votes
0 answers
108 views

yum - unexpected dependency

Platform: CentOS Linux release 7.6.1810 (Core) I'm trying to download a set of rpm files for an offline installation. I have one master RPM that lists a set of dependencies. using a command like this ...
user avatar
  • 143
0 votes
2 answers
88 views

Removed rpm symlink from bin/rpm

I have accidentally removed the symlink to /bin/rpm from my Centos7 installation. Now the rpm command is not working. Does anyone know how to fix this one or how to add this again as symlink ?
user avatar
0 votes
1 answer
119 views

rpmrebuild creates broken SPEC file

rpmrebuild seems to create a broken SPEC file, even if I don't actually change anything. I do the following: [build@admin slurm]$ EDITOR=emacs rpmrebuild -enp slurm-19.05.5-1.el7.src.rpm Do you ...
user avatar
  • 121
0 votes
1 answer
52 views

RHEL yum Package Installation from Repository of Differing Release Number

I have two RHEL machines. One runs RHEL 6.9, and the other runs RHEL 7.7. I have access to local copies of both the RHEL 6.9 and the RHEL 7.7 repositories. This is the only repository access I have. ...
user avatar
  • 839
0 votes
1 answer
507 views

Troubles with Python and YUM on CentOS 7.5

I have a problem with yum istallation. Yum needs Python: rpm -i yum-3.2.29-81.el6.centos.noarch.rpm error: Failed dependencies: python(abi) = 2.6 is needed by yum-3.2.29-81.el6.centos.noarch ...
user avatar
2 votes
0 answers
16 views

Query packages installed after action

I'm trying to find out which packages have been installed by a script on CentOS7 which uses yum, so I can later download as rpms to install it on a similar machine offline. I've come up with some ...
user avatar
  • 121
0 votes
2 answers
794 views

What is the effect of rpm scriplets returning 1?

According to the RPM documentation, the %pre, %post, %preun and %postun scriptlets must return 0 for the (un)installation proceeds. (1) But what is the effect of one of those scriptlets returning a ...
user avatar
  • 141
1 vote
1 answer
49 views

getting the error "Medium without key" while installing my rpm from my repo

O.S: Mageia 5 Problem: I build rpm , sign it and add it to my private repo. I exported my key using the command gpg --export -a 'MY NAME' > RPM-GPG-KEY-pmanager I took this key and imported it ...
user avatar
0 votes
1 answer
189 views

RPM failing to install on RHEL

I am trying to install an RPM package on RHEL7. I am getting the following error; Fri Aug 30 05:36:55 UTC 2019--> Start Installing downloaded package... file /etc/rc.d from install of abc....
user avatar
  • 123
2 votes
2 answers
342 views

Can I build an rpm package that owns a file it does not install?

I have a situation where I need to create a configuration file filled with default values on initial startup of my application. This is not a typical configuration file where we care deeply about any ...
user avatar
0 votes
1 answer
44 views

RPM Spec file diagnostics

I'm writing a spec file and getting slightly unexpected results when I install the rpm. I'd like to see what the install process thinks it's doing. Contrived example, suppose I have: %install ...
user avatar
  • 143
0 votes
1 answer
178 views

How can I get a list of installed centos packages by only reading from the filesystem?

I am writing a tool for analyzing images and have full access to an image's filesystem. I want to produce a list of all installed packages with name and version info. However, I do not want to ...
user avatar
0 votes
1 answer
52 views

How to build Kazoo RPM files from source code?

I am experimenting with kazoo and wanted to install it from source code. I am able to generate a deployable release but i am not able to build rpm from it. I heard that spec file is needed to build ...
user avatar
0 votes
1 answer
330 views

dnf in Fedora 27 is throwing a python error

I am looking to upgrade from Fedora 27 however, DNF has broken somehow. $ dnf upgrade Traceback (most recent call last): File "/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], ...
user avatar
  • 101
0 votes
2 answers
184 views

dnf has lost track of an installed package

Despite that vim is installed on my Fedora 29 system, the command dnf search vim-common returns "No matches found." In contrast, the ...
user avatar
0 votes
1 answer
35 views

Dose rpms that ended with .i386 can fit also for linux 64Bit

we have linux redhat 7.3 [root@master install_zone]# uname -r 3.10.0-327.el7.x86_64 [root@master install_zone]# uname -a Linux master.sys65.com 3.10.0-327.el7.x86_64 #1 SMP Thu Oct 29 17:29:29 EDT ...
user avatar
1 vote
1 answer
1k views

yum transaction error when trying to install RPM built from RPM spec file

I use a meta package to manage software and common dependencies across several lab systems, and until today, this has worked great. However, after a recent build every RPM spec file directive to copy ...
user avatar
0 votes
1 answer
518 views

Yum install dependencies on RHEL

Trying to install openssl-devel for keepalived-1.4.5 on RHEL7.4. after sudo yum install openssl-devel I'm getting ...<Processing Dependencies> Finished Dependency Resolution Error: Package ...
user avatar
1 vote
1 answer
95 views

Linux, Fedora. Auto-install all software to a new machine from RPM list?

What is the best way to produce an rpm list on one machine, and then use it to auto-install all that software onto a new machine? Any help would be greatly appreciated.
user avatar
  • 253
0 votes
1 answer
744 views

yum broken when I interrupt updating nss-softokn-freebl-3.36.0-5.el7_5.x86_64

My system is centos7. [root@centos7 caiyiheng]# uname -a Linux centos7 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux My system run in a virtualbox. When I ...
user avatar
1 vote
2 answers
541 views

Paprefs for CentOS

Has anyone been successful in installing paprefs on either CentOS 6 or CentOS 7? I tried to unpack the rpm at https://centos.pkgs.org/7/nux-dextop-x86_64/paprefs-0.9.10-8.el7.nux.x86_64.rpm.html, but ...
user avatar
1 vote
1 answer
1k views

Offline RPM package install, with Windows

I need to install packages with yum on a CentOS machine I have. This CentOS server is not connected to the Internet because of my organization policy, but I do have a Windows server that is connected ...
user avatar
1 vote
1 answer
632 views

How to do RPM package signature verification in Windows?

I’m trying to do GPG signature validation to Centos 7 RPM files that I have downloaded. They are validated during the first download, but I am trying to another validation after they have been ...
user avatar
1 vote
0 answers
89 views

Cannot use Red Hat Optional channel with yum: repomd.xml not found

I need to install some packages that are in the optional repository channel of RHEL (like libtiff). I followed this instructions, but when I try to yum update I get this error: The issue is similar ...
user avatar
  • 51

1
2 3 4 5
7