Questions tagged [rpm]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
461 views

How to update Firefox offline to a specific version on Centos 6.9

I'm trying to install a specific version of Firefox (52.8) on Centos 6.9. I've used "yumdownload --resolve firefox...x86_64". It created a folder the firefox rpm as well as 5 or six other dependencies....
0
votes
3answers
344 views

Why does rpm -i <package> fail on a dependency that I have installed?

I tried installing the following package: [root@localhost ~]# rpm -i libmicrohttpd-0.9.22-1.el7.centos.x86_64.rpm But I got an error for failed dependencies: [root@localhost ~]# rpm -i ...
0
votes
1answer
50 views

What is the recommended way to clean my system after removing an rpm?

Assume I remove an rpm as follows: rpm -e <package-name> I then do a system wide search: find / |grep <keyword-from-package-name> It returns many instances where the keyword was ...
0
votes
1answer
154 views

Rebuild from src.rpm using new version

This is a follow up to my previous question regarding Building QuantLib on Amazon Linux. I followed the instructions in the answer posted by MLu: Download the source RPM (QuantLib-1.4-7.el7.src.rpm) ...
0
votes
2answers
157 views

Glib-2.28 RPM package dependency problem

On rpmfind.net's page for glibc-2.28.9000-6.fc30 RPM for i686, libc.so.6(GLIBC_2.28) is listed under both "Provides" and "Requires", so it's impossible to satisfy the package dependency?
1
vote
1answer
109 views

Building QuantLib on Amazon Linux

I am trying to get QuantLib version 1.13 running on Amazon Linux. I found some .rpm files at https://pkgs.org/download/QuantLib, although there is an up to date .rpm for Fedora, there isn't one for ...
1
vote
1answer
485 views

How to add rpm fusion testing repository in Fedora?

This is similar question to How to add the RPM Fusion and livna repositories to Fedora? but I want to install testing repository so I can have Chromium 68. I have testing fedora repo and I need ...
7
votes
1answer
663 views

What is the proper way to set SELinux context in an RPM .spec? (RHEL7 in 2018)

The RHEL7 supplied tomcat package supports multiple instances through the creation of directories and symlinks. Once such a multiple instance is created and packaged as an RPM, the extra instances ...
2
votes
1answer
217 views

Custom HTTP repository refusing to display on local Centos server

I set up a local repository of packages, copied from the Centos isntallation DVD iso. The local dns address (myrpmweb) and computer LAN IP successfully loads the Apache 123.. test page, in my Firefox ...
3
votes
2answers
12k views

systemctl status shows vendor preset: disabled

Could someone please clarify what "vendor preset : disable" means? This option is visible after enabling a package in RHEL7.
0
votes
1answer
179 views

Installing a kernel rpm package in Qubes OS complains: dracut-install: ERROR: installing '/usr/lib64/plymouth//label.so'

$ sudo dnf install kernel-latest-4.18.5-8.pvops.qubes.x86_64.rpm kernel-latest-devel-4.18.5-8.pvops.qubes.x86_64.rpm Qubes OS Repository for Dom0 ...
1
vote
0answers
83 views

what is inside weak-update folder?

First, installed a driver package to OS (ex: CentOS ) -- foo_1.0.rpm Second, install the same driver but different version -- foo_2.0.rpm by rpm -ivh --force foo_2.0.rpm It seems an extra folder ...
2
votes
1answer
547 views

CentOS 7 linux-firmware - how to trim it?

CentOS 7 has merged a number of firmware packages into 'linux-firmware' and made these a dependency of kernels. Is there an easy way to create a stripped down version of this, removing those firmware ...
1
vote
1answer
91 views

Cannot build RPM packages from SRPM using mock

I've successfully built the SRPM and after that step I'm trying to build the RPM from the SRPM. Following is the directory from where I am building the RPM. THe Source RPM are in the following ...
1
vote
1answer
89 views

Using 'rpm -i' to install a package on CentOS6 but getting dependency error, even though I have installed the dependency, why?

Operating System = CentOS 6 I'm trying to install a package as follows: rpm -i package_name.rpm But I get the following error: error: Failed dependencies: sqlite >= 3.7.15 is needed by ...
0
votes
1answer
92 views

Why does rpmfusion recommend the nogpgcheck switch?

See the commandline RHEL/CentOS section at https://rpmfusion.org/Configuration/ Doesn't this --nogpgcheck switch allow for tampering to happen unnoticed?
0
votes
1answer
82 views

Listing files in rpm archive

What is the difference in the following 2 commands: rpm -qlp <filename>.rpm rpm -qilp <filename>.rpm I know the -i flag is for install but how does that relate to producing different ...
-1
votes
2answers
448 views

What is the difference on a system level between installing python packages with yum as opposed to pip?

I'm wondering what the difference is between pip, the Python package installer, and yum? As a means of providing some context to my question: I assume the first answer will be because PIP is only ...
0
votes
2answers
133 views

How to install `pg_recvlogical` to Centos 6?

I have a Centos 6 installed. I did yum update. I need pg_recvlogical. I didn't find it using yum search pg_recvlogical so I found it mentioned here. So I download it and wanted to install using rpm -...
2
votes
1answer
1k views

How to eliminate the warnings: mockbuild does not exist

I was building a package from SRPM on Fedora: $ rpmbuild --rebuild *.src.rpm ... warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: ...
0
votes
1answer
225 views

Change creation time of files (RPM) from download time to build time

I am going to create my own internal repository service via createrepo and want to provide an Java repository as well. Downloading the JRE and JDK packages automatically and as described at Stack ...
0
votes
1answer
76 views

mock config_opts['files'] seem to be ignored

I'm trying to create a fake /etc/hosts to set the hostname in a Mock-built RPM. This is CentOS7 and the Mock/rpmbuild are not new enough to understand the new Fedora _buildhost macro. So I ...
0
votes
2answers
2k views

yum is not working after entering in command in RHEL 7

I entered in a command: $ rpm -e --nodeps python and after that I get this when I try to enter in something with yum: -bash: /bin/yum: /usr/bin/python: bad interpreter: No such file or directory ...
0
votes
1answer
998 views

Java is running from /usr/java/latest/bin/java instead of /usr/bin/java

I have the latest version of Java installed on my system. But I wonder why when I run any program, the location from where java executes is /usr/java/latest/bin/java instead of /usr/bin/java. [...
0
votes
1answer
423 views

dnf can't download package from URL

I have a URL which I want to install a package from. Typing su -c 'dnf install http://www.geogebra.org/download/rpm.php?arch=amd64&ver=6' gives the error: rpm.php?arch=amd64 ...
1
vote
2answers
98 views

How to differentiate between repo and built packages with dnf?

When I build an rpm package with the same name as a package that already exists in a repo and type the command $ dnf info package This command only shows information about the built package. I would ...
-1
votes
1answer
119 views

How do I mark dnf package as removed?

I want to remove dnf installed packages using pip but when I type: $ dnf info package the package manager wrongly shows that the package is installed. I alternatively tried removing the package ...
0
votes
1answer
152 views

Why doesn't rpm or dnf recognize default perl?

I have an rpm package I built which depends on perl. When I try to install this package it fails: $ rpm -ivh <package-y> error: Failed dependencies: perl is needed by package-y.x86_64 If I ...
1
vote
2answers
359 views

Red Hat Enterprise Linux 6.9 - Cannot Find or Install RPM Python Bindings?

I am running Red Hat Enterprise Linux 6.9, and I cannot find the RPM Python bindings? I am trying to install rpm-py-installer-0.7.0 and it throws an error: RPM Python binding on system Python should ...
0
votes
1answer
73 views

Download of mysql rpm unauthorized

I've been using this website: https://opensourcedbms.com/dbms/installing-mysql-5-7-on-centosredhatfedora/ as a basis for executing the following command: wget http://dev.mysql.com/get/mysql57-...
0
votes
2answers
196 views

Install Java 6 from Oracle to Debian Lenny

Since Java 6 is not available in Debian 5 I decided to take it from Oracle. I have downloaded Java 6 SDK in file jdk-6u45-linux-i586-rpm.bin. But how to install it? I executed jdk-6u45-linux-i586-rpm....
3
votes
2answers
630 views

RHEL 7.4 - moreutils dependency on perl IPC::Run

I am trying to install moreutils on Red Hat Enterprise Linux 7.4, but it is complaining about a dependency on perl(IPC::Run). Here is the command I'm running and the error message I am receiving: # /...
0
votes
1answer
130 views

How do delta RPMs work at the server end?

Here's a question and answers on what delta RPMs actually are: What is DRPM and How does it differ from RPM? I'm interested in the algorithms and data structures server side. I've Googled but nothing ...
1
vote
1answer
548 views

Where is the dependency information stored for an RPM package

With yum deplist one can check the dependencies of an RPM package. I am wondering where the information about the list of dependencies is stored. I downloaded the rpm package and checked its content ...
1
vote
1answer
356 views

Installing Fedora packages on Amazon Linux AMI

I'm trying to install a Fedora package, specifically the package poppler-utils versions 0.5x or later, but that currently only for Fedora. I don't have a lot of knowledge on Amazon Linux AMI, but from ...
2
votes
1answer
2k views

how to update ca-bundle.crt with local company-root.crt

I am on RHEL 6.9 When I run the command sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc I get the following message curl performs SSL certificate verification by default, using ...
0
votes
2answers
64 views

RPM is skipping packages. Need to install 2 architecture versions

I want to install a bunch of packages, both 32bit and 64bit. When I'm executing I'm getting something like $ rpm -ihv pkg.i386 pkg.x86_64 warning: package pkg.i386 was already added, skipping pkg....
0
votes
1answer
138 views

RPM upgrade database

I have a system where I have to find a process on how to migrate from rpm 4.6.0-rc1 (2009) rpm to 4.11.3 (2014). The problem is, that executing the new rpm on the system of the old one, will give me ...
3
votes
3answers
20k views

How to add a CentOS repo, having URL of Packages

In Centos 7, I want to install some packages that I see in the following URL: http://mirror.centos.org/centos/7.4.1708/extras/x86_64/Packages/ How can I add this URL to my yum package manager ? PS: ...
0
votes
1answer
79 views

Wine is still available after uninstalling it

I am facing a problem that I don't understand on a CentOS 7.4 box. Someone installed a wine and didn't documented how they installed it (was it with yum, directly with a rpm or built from sources? I ...
2
votes
2answers
296 views

How to manually force reload of files from an RPM package?

This is a repost from Stack Overflow, considering this site could be a better target. After a Fedora distro upgrade (27->28) with dnf, I tried to manually resolve conflicts between package versions (...
-1
votes
2answers
472 views

rpm -ivh file.rpm throws error already installed [closed]

I uninstalled gitlab using gitlab ctl uninstall, removed /etc/gitlab, /var/opt/gitlab,/var/log/gitlab. After that I erased rpm using rpm -e file.rpm. Now when I am installing a new file.rpm, it throws ...
13
votes
2answers
8k views

How to use Bash for sh in Ubuntu

I am installing a huge program, which has its resources as an rpm file. It stuck at the line of #!/bin/sh SCITEGICPERLBIN=`dirname $0` SCITEGICPERLHOME=`dirname $SCITEGICPERLBIN` if [ $...
2
votes
1answer
1k views

How to temporarily disable and permanently disable repos in Debian based systems?

I know how to do it on Red Hat based systems. yum –disablerepo=* --enablerepo=epel update The above command will temporarily disable all repos and enable epel and update only epel packages. yum ...
1
vote
1answer
162 views

how to identify wrong/bad repo in my linux machine?

dear friends and colleges, I want to share with you the following issue , and I am sure this important to some of the colleges here I want to verify the that all repo in my linux machine are ok so ...
0
votes
1answer
712 views

How to update a disconnected CentOS system from a list of installed RPMs?

I have spend a lot of time looking for a good solution on how to update a disconnected CentOS 7 system but have not found a suitable solution yet. Most solutions on how to update an disconnected ...
0
votes
1answer
789 views

yum + print all available security updates that are not installed

regarding redhat 7 linux the following yum syntax print the list of all available security updates without installing them ( the installed rpm's and the non installed ) # yum updateinfo list ...
0
votes
1answer
49 views

Questions regarding the way rpm installation/upgrade takes place

Below is the quote from my textbook while explaining naming convention of a package (eg : packagename-a.b.c-x.arch.rpm). Build No : The number following the version number (x) is the build number....
0
votes
1answer
225 views

How can I compare the pristine configuration files with the contents of /etc?

Being tasked to put several machines under configuration management I was wondering how I could go about comparing the configuration files from all installed packages with the contents of /etc and any ...
1
vote
1answer
696 views

How are RPM packages marked as “security” updates?

If I am applying yum install -y --security and a package is updated; how is the package "marked" as a security update? For example, lets say I have a package blah that I maintain, its current version ...