Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
22 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 ...
0
votes
0answers
45 views

uninstalling rpm-fusion with dnf

I know I could 'dnf remove rpmfusion*' but it also installed several other files like a gpg(?) key and who knows what. 'dnf list installed' only shows 2 related packages. Maybe there is a command ...
1
vote
1answer
71 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 ...
0
votes
1answer
64 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 ...
1
vote
1answer
75 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.
0
votes
1answer
142 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 ...
0
votes
0answers
19 views

Clean builddir during RPM packaging

I am currently working with RPM building but I am surprised the BUILD directory is not cleaned after a rpmbuild. Since I am dealing with personal package I don't follow the official guidelines, but I ...
1
vote
1answer
59 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 ...
0
votes
1answer
100 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 ...
1
vote
1answer
94 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 ...
0
votes
0answers
33 views

Detecting missing dependencies in maintained yum repository

I'm trying to create a private yum repository of publicly-available packages from common and occasionally esoteric repositories. The intent is to reduce my organization's dependency on those public ...
1
vote
0answers
27 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 ...
0
votes
1answer
303 views

What kind of packaging system used by arch-linux?

What kind of packaging system used/recommended by Arch-based distributions? Is it possible to use pre-compiled archives like deb or rpm on Arch-based distributions?
0
votes
1answer
954 views

/usr/lib64/python2.7/site-packages/rpm/_rpm.so: undefined symbol: rpmpkgVerifySigs

My first time here to ask question. Hope my question could help more friends after solved. Base: System Version: CentOS 7.2 64 bit Problem: Wrongly remove python that comes with the system. And ...
0
votes
0answers
505 views

RHEL 7 “rpm”, “yum” comment not found

I have newly installed RHEL 7 and while trying to install some package I got error "yum command not found" and same for rpm as well.
0
votes
1answer
436 views

Update Fedora (25 =>26) Error GPG key install

I try to update Fedora 25 to 26 ]# dnf system-upgrade download --refresh --releasever=26 After uploading packages get a question for add GPG key. попередження: /var/lib/dnf/system-upgrade/kernel-...
0
votes
1answer
951 views

Installing MySQL on Red Hat Linux on the remote server without internet using pre-downloaded RPM packages

I am trying to install MySQL on the Red Hat Linux remote server without the internet. Problem is : Can't use internet on the server (so cant use 'yum install ..' commands) Solution found: To pre-...
0
votes
1answer
925 views

How to download all rpm dependencies independent from platform running

How to download all rpm (not installed) dependencies without rpm itself. Independent from platform running - download dependency if its installed anyway.
3
votes
1answer
43 views

What happened to rpm files in /usr/share doc?

Why does rpm list files for the statsd package that are not actually installed on the system? [root@98f5b00e34c9 /]# rpm -ql statsd | grep /usr/share/doc/statsd\$ ...
2
votes
1answer
764 views

Fix broken rpm on CentOS

I get the following error when I type rpm: rpm: error while loading shared libraries: librpm-4.3.so: cannot open shared object file: No such file or directory How could this library have gone ...
1
vote
1answer
66 views

.rpm location on Fedora 26?

I downloaded an .rpm file to my ~/Downloads directory and successfully installed it by double clicking on it: Software opened and I could click on 'Install'. Simple and very convenient, but I would ...
0
votes
0answers
115 views

`yum install` failed while `rpm -ivh` is a success

I am seeing this error below when I install my own RPM packages with yum install no matter it is from local or remote. D: install: daemon-config-14.1.0.3-1 D: %pre(daemon-config-14.1.0.3-1.noarch): ...
2
votes
2answers
1k views

Is it possible to download rpm files in Fedora for offline usage? (See description)

I have a Fedora-installed PC which is disconnected from internet (and there's nothing I can do about it). So I want to download rpm files for various softwares on another PC and then install them ...
2
votes
2answers
162 views

My own rpm doesn't execute %install sequence

I built for the first time a RPM package. This RPM is a packaged front-end app, and the install only needs to move the app files and do a nginx restart. This is my spec file: Name: my-...
3
votes
1answer
329 views

What is the last part of rpm package release field?

Example 1: using yum info vim-enhanced I get this: Name : vim-enhanced Arch : x86_64 Epoch : 2 Version : 7.4.629 Release : 5.el6_8.1 Size : 2.2 M Repo : ...
1
vote
1answer
60 views

what does these two fields of package info really mean?

using CentOS 6.8, when I type yum install tcpdump, system outputs: Package 14:tcpdump-4.0.0-11.20090921gitdf3cb4.2.el6.x86_64 already installed and latest version This long piece of string didn't ...
1
vote
1answer
33 views

What does “own” mean in Linux “rpm” command manual

I read the manual for rpm in CentOS and found the following sentence: -f <filename> — queries the RPM database for which package owns <filename>. When specifying a file, specify the absolute ...
-1
votes
1answer
41 views

Is extracting files on %post when installing an RPM a good practice?

I'm creating an RPM to distribute a conda environment and I came up with this solution: I was able to do it. Here's my .spec file from a Stackexchange answer. Summarizing: I use the install phase ...
0
votes
1answer
563 views

Relationship between yum, .repo and .rpm?

I am not from System admin background, however due to some reasons I need to perform some tasks as described below: I need to install some packages in RHEL in 4-5 nodes, using "yum" in RHEL 7.x OS. ...
0
votes
1answer
19 views

Are there authorization plugin support for RPMs?

I'd like to restrict running some RPMs based on additional rules (on top of GPG). Is there a way to create a Authorization plugin for RPMs in CentOS 7+?
1
vote
2answers
449 views

mock build fails with “sh: /usr/bin/python2: No such file or directory” even though file exists

I'm trying to install tornado using mock, from the source rpm, in a Centos 7 lxc container: mock -r epel-7-x86_64 python-tornado-4.4.2-3.fc26.src.rpm Everything seems to go well until it stops with ...
0
votes
1answer
214 views

How to debug “broken dependencies” during dnf update?

When trying to update packages using dnf, some packages are skipped because of "broken dependencies": $ sudo dnf update Last metadata expiration check: 0:07:38 ago on Mon Feb 6 12:05:50 2017. ...
1
vote
1answer
3k views

Determining Yum repo URL

If I add a new repo file under /etc/yum.repo.d/ folder. How can I gather all the URL which yum update will go out to fetch updates. I am asking this because I have a server behind a firewall, which ...
0
votes
1answer
362 views

rpm NOKEY error on copied packages, can I remove this?

I used yum --downloadonly to fetch a few php71 packages on "VM A". I need to copy these to a different VM, "VM B" and install them using rpm -ivh. However on the secon "VM B" it's complaining about an ...
2
votes
1answer
630 views

How to get real time output of script, written in %post section of RPM .spec file?

Good day. Problem: In a %post install section of RPM spec file can be a script. I want to put there a script with a realtime output, like progress bar for post-installation process. But all output ...
0
votes
1answer
2k views

REMI repository on Centos 7 fails dependency

I'm following these instructions to install remi repository (for libsodium) on CentOS 7 $> wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm $> sudo rpm -Uvh remi-release-7.rpm ...
0
votes
1answer
82 views

rpm query on filesystem image

I have a rootfs snapshot of an embedded ARM system that uses rpm as package manager, both as a binary image that can be loopback-mounted on my host and a tarball. I'd like to issue some rpm queries ...
0
votes
1answer
656 views

RPM installation headerRead failed: region trailer: BAD

So I am trying to create my first rpm and am using jenkins to automate the job. The command I am using to create the rpm is fpm and is as follows: + fpm --before-install script/beforeInstall.sh --...
0
votes
1answer
9k views

Install Oracle Java 8 from RPM package

I tried install Java8v112 from RPM package with oracle instructions: https://java.com/en/download/help/linux_x64rpm_install.xml I got error which begins: error: open of <html> failed: No such ...
0
votes
1answer
104 views

CentOS or RedHat - search rpm DB metadata files

When I query installed packages on rpm based OSs (rpm -q), I assume it pulls the data from a then metadata files in /var/lib/rpm/*. The files there seem in a binary format (rpm DB?). I want to be ...
0
votes
1answer
309 views

RPM encrypt/decrypt with YUM / Zypper

I´d like to create a repository with encrypted RPM Packages. The Host get´s the GPG Key for decryption. If there a way to "auto decrypt" the packes with yum / zypper ?
0
votes
1answer
32 views

Qt required by KDE but not needed because already installed

I'm on Opensuse 42 leap and I'm struggling with this problem: I have installed Qt in /opt/mypath and I'm using it in ld.so.conf. The problem is that my KDE packages require qt5 so Yast has installed ...
0
votes
0answers
454 views

Upgrading CentOS kernel without internet connection

I need to update my CentOS 6.8 VM's kenrel to a more recent version. I have tried downloading the individual parts of the kernel, i.e kernel.....rpm, kernel-firmware....rpm. Using rpm -ivh kernel.......
0
votes
1answer
324 views

How to suppress rpm's notice-messages?

I need to query versions of a bunch of packages. Some of the packages may not be installed on the machine, in which case I'd like them to be silently ignored. Unfortunately, rpm -q seems to mix the ...
0
votes
1answer
29 views

How to overcome virtual package already provided in effect, but not in practice

I'm trying to install package X, which is dependent on the virtual package named python. I have python27 installed, and I know that my desired package X works fine with this version; however python27 ...
0
votes
1answer
18 views

Can rpm spec files be used to support SIMD-aware packaged builds?

http://www.rpm.org/max-rpm/ch-rpm-multi.html makes clear that RPM can be used to target different platforms, but is it possible to use RPM to target multiple different flavours within a platform? ...
1
vote
0answers
38 views

RPM spec: How to erase an RPM before one is installed

I have an RPM called dcca-img.rpm In the spec file of above RPM, in PreReqs we have mysql-client and mysql, as a result before dcca-img.rpm is installed both are getting installed as expected. PreReq:...
2
votes
0answers
967 views

Fedora 24: no build.include / try to generate autoconf.h

Trying to build a package which needs autoconf.h So i installed kernel-devel, ran make oldconfig and make prepare but unfortunalety it did not work Couldn't find any solution in the web, any ideas? ...
1
vote
1answer
793 views

How do I add to sudoers.d from a custom rpm

I have a custom RPM I created that needs to add entries to sudoers so I have entries added a file in my RPM /etc/sudoers.d/mypackage and put my sudo commands in there. The files gets added and the ...
3
votes
1answer
1k views

parallel install ncurses-6 & ncurses-5 on fedora 24

I just upgraded from fedora 23 to 24, and it broke some binaries I have on my system that were not installed from fedora's repositories, due to the ncurses upgrade from version 5 to version 6: error ...