Questions tagged [yum]

YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.

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

Create rpm for self-compiled glibc

I have successfully compiled glibc-2.28 and want to know how to package it into an rpm that is identical(except code) to a centos package as created for centos 7 distro. If I had a template for how ...
Steve H's user avatar
0 votes
0 answers
41 views

Create custom YUM repository for a server with no internet connection

I have an OracleLinux 8.8 server which can not access the Internet, hence no access for public repos. Also there is quite small amount of storage available, so I can not put fully synced repos there. ...
Trifo's user avatar
  • 1
0 votes
1 answer
100 views

openssl can be found by yum but can't be found by pkg-config

I found openssl is already installed on my server # yum list installed | grep openssl openssl.x86_64 1:1.0.2k-26.el7_9 @updates openssl-libs.x86_64 ...
calvin's user avatar
  • 103
1 vote
1 answer
501 views

unable to update or remove libnghttp2.x86_64 packages in OEL 8

When I tried to update our OEL 8 servers, I got the following error. I can't remove or update this package libnghttp. I have tried yum clean packages, too. whenever I run any update and upgrade in ...
W J's user avatar
  • 11
1 vote
1 answer
530 views

yum install mysql-devel causing openssl11-devel conflicts with 1:openssl-devel-1.0.2k-24.amzn2.0.10.x86_64

I am tring to install RMysql Package however it throughs below error - which says mysql libraries are not installed. I tried installing them using the yum command but there is a conflict with openssl....
surpavan's user avatar
  • 169
0 votes
0 answers
32 views

Clearos - how to fix package dependency error

I have been running ClearOs Community Edition 7 for ages. At some time in the past, I installed mono (which I have since removed). I just noticed the system has not been updating - when I do yum ...
Nikki Locke's user avatar
0 votes
1 answer
102 views

Are Packages In Centos Yum Repo's Secure?

I have tried to do research to figure out this issue, but I would like to hear from the community to understand if what is available in the Yum repo is secure. Even when the versions in the repository ...
JanderZift's user avatar
0 votes
1 answer
123 views

Can 'yum update --security' upgrade the major version or only the patch version?

I could not find a definite answer on it online. I only want to apply any patches available, but not upgrade the major version of the package that I want to apply security updates to. This question - ...
euphoria83's user avatar
0 votes
0 answers
336 views

package containerd.io >= 1.6.4 needed by docker-ce but package containerd.io already with version 1.6.9-3.1

we want to install docker packages on our RHEL 8.4 server (this is off line installation since machine not connected to network) so we download the following rpm's from the site - https://download....
King David's user avatar
0 votes
1 answer
478 views

Installing find command in a docker container running RHEL 8

I am running a docker container of image: confluentinc/confluent-local:7.4.1 It is based on Redhat 8.8 How do I install find command in the container? I tried running: $ yum update and got this ...
user674669's user avatar
0 votes
1 answer
864 views

Complete Yum Restore of CentOS 7 Repos

I have googled and tried all the solutions I can find to this. An admin somehow broke yum trying to install an mssql package by adding the repo, then tried different way to fix, as did I. I deleted ...
jerryrig's user avatar
  • 141
0 votes
0 answers
32 views

How do I flag an rpm package that was installed as a dependency to not be removed if the parent package is removed?

Some background so this is easier to understand: I have cloud-init installed which installs libselinux-python as a dependency. I want to uninstall/remove cloud-init without having libselinux-python ...
reedog117's user avatar
  • 183
0 votes
0 answers
178 views

Red Hat Enterprise v8.6 - Air gapped updates from an internet connected RHEL box

Firstly, hi to everyone as this is my first post. I am not a Linux expert so could I please ask that if anyone kindly responds to this question that it is in a way that a newbie like me can understand ...
Duncan Smith's user avatar
0 votes
1 answer
987 views

Installing redis 7.0 from remi-modular repo

This might be blatantly obvious, but I cannot install a package from the remi-modular repository, despite having added the repo file in the /etc/yum.repos.d/ and validating it. I have attempted ...
Seymour B's user avatar
-1 votes
1 answer
373 views

Yum to packages.microsoft.com failed on Centos 7

You can say i'm beginner in using Centos. Our regional want to use packages.microsoft.com as repository. We have open the firewall to the packages.microsoft.com. Tracepath is no issue, but when we are ...
Myan's user avatar
  • 3
0 votes
1 answer
275 views

yum unable to find a specific package in private repo

I have a really weird problem. I've setup my private yum repo, it is serving the rpm just fine, EXCEPT one rpm. Let's say I've build and copied over all of my rpms to my custom repo directory, ...
codenamezero's user avatar
1 vote
1 answer
77 views

"Yum update" how to delete ghost package?

How do I delete package insign-3.43.3-1 from the "database" for yum update? * yum update insign shows me package 3.43.3-1. * yum update would fail because I already removed the 3.43...rpm ...
DavidDunham's user avatar
0 votes
0 answers
522 views

RPM and YUM not working on Centos7

When I try to use yum update or install package by rpm the below error happened: rpm: /lib64/libnssutil3.so: version 'NSSUTIL_3.59' not found (required by /lib64/libnss3.so) How can I Fix this issue? ...
user3289412's user avatar
1 vote
1 answer
505 views

Yum dependencies and metadata for java-headless

I'm trying to install Java 8 and Tomcat 9 on a RockyLinux 9 server. Installing tomcat (from EPEL) requires java-headless >= 1:1.8.0 which is resolved to java-11-openjdk-headless. So Java 11 gets ...
nathou's user avatar
  • 163
0 votes
1 answer
199 views

Yum command to find files that an RPM will deploy

On Ubuntu/Debian you can run apt-file list nginx-core and you will get a list of all the files that a package will deploy when installed. How can I achieve this in RHEL with the yum command ? The ...
Subzero123's user avatar
0 votes
1 answer
230 views

How to install mosh on oracle linux

I wanted to install mosh on oracle linux, but I was faced with the fact that such a package does not exist. $ sudo yum install mosh Last metadata expiration check: 3:12:40 ago on Wed 15 Feb 2023 01:05:...
Ig.Foer's user avatar
0 votes
1 answer
318 views

dnf list available updates for locked packages

With yum versionlock status I can get a list of available updates that are currently blocked by versionlock. With dnf this command doesn't seem to work. I cannot find a dnf command that does the same. ...
hendrik_nl's user avatar
1 vote
0 answers
384 views

Centos 7 CVE-2022-42920 missing security update

Since a couple of months we are using a vulnerability scanner (Rapid 7) which is complaining about the bcel package being vulnerable. Red Hat released an update package, but hasn't found it's way to ...
Hans Blaauw's user avatar
0 votes
0 answers
643 views

yum behind proxy not working : Could not retrieve mirrorlist 14: HTTP Error 403 - Forbidden

I have a CentOS7 behind a proxy : $ grep proxy /etc/yum.conf proxy=http://10.10.30.90:80/ and the http stream to that proxy is allowed : $ : < /dev/tcp/10.10.30.90/http $ echo $? 0 I'm trying to ...
SebMa's user avatar
  • 379
5 votes
2 answers
8k views

Safe way to clear all packages from yum cache?

I know that yum clean all doesn't necessarily clear all the package files. I know from "Maybe you want: rm -rf /var/cache/yum" that I might have to, good grief, bluntly clear all of /var/...
Steve Summit's user avatar
1 vote
1 answer
1k views

RHEL 8 - yum commands started throwing a 470 error

I am using RHEL 8 on a Jenkins agent and have been trying to install the required dependencies using yum. After some trial and error, I started receiving the following error on yum update -y Error: ...
saq7's user avatar
  • 111
0 votes
1 answer
166 views

dnf doesn't show all updates compared to yum

I had a CentOS 7 machine which I converted to use OEL 7 some time back using the centos2ol.sh script. Today, I gave the command: "dnf upgrade" and it showed be that 17 packages were to be ...
Hussain Akbar's user avatar
0 votes
0 answers
99 views

How to check if rpm virtual package is provided?

I want to check if java-11-headless is installed. java-11-headless is a virtual package and it is provided e.g. by java-11-openjdk-headless.x86_64 package. I do not care what exactly package provides ...
Mariusz's user avatar
  • 101
0 votes
1 answer
67 views

Postgresql 6.9.24 on Oracle Linux 8.6

I'm trying to install Postgresql 9.6.24 on Oracle Linux 8.6 as it contains some bug fixes and other patches that we need. This concrete version is not present in the Oracle Linux 8 repositories, only ...
BraveAdmin's user avatar
1 vote
1 answer
1k views

Using both baseurl and mirrorlist in yum.repo

I want to cache RPM packets in my Nexus Repository. In repo file on client side I have two lines, both uncommented: baseurl=http://nexus-ip/repository/bts-nexus-almalinux-base/$releasever/BaseOS/$...
Eric S's user avatar
  • 11
1 vote
1 answer
1k views

How to upgrade postfix 3

I have postfix installed on a server. From what i can tell it was installed using this steps https://computingforgeeks.com/installing-postfix3-on-centos-7/ I was not involved in installing it so i don'...
Arpan Solanki's user avatar
1 vote
2 answers
2k views

Yum installation corrupts lib on Redhat Ubi8

I'm working on a Redhat Ubi8-minimal Container. My goal is to install an .rpm from file together with its dependencies. Ubi8-minimal only provides microdnf which cannot install local .rpm's. So I ...
ThomasH's user avatar
  • 121
0 votes
2 answers
18k views

How to force install an rpm?

I have a gitlab pipeline where I will be installing latest rpm everytime. Some times, even if the target machine is changed manually, the rpm should be installed successfully. But some how I am ...
Kalel's user avatar
  • 244
2 votes
1 answer
3k views

Unable to show available updates with Ansible and dnf check-update

I have the following Ansible code for checking available updates on a Rocky linux server and showing them to user: - name: Check updates ansible.builtin.command: cmd: dnf check-update register:...
Madoc Comadrin's user avatar
1 vote
0 answers
1k views

Unable to Downgrade OpenSSL from openssl-1.0.2k to openssl-1.0.1e-58 due to openssl-libs-1:1.0.2k-25.el6 dependencies

Due to issues with old CentOS6 machines and the Let's Encrypt root certificate that recently expired I found a solution online which involves installing a Patched version of openssl-1.0.2k from ...
ItsJustMe's user avatar
  • 1,011
0 votes
1 answer
57 views

How to deduce remote location of RPM that has been installed?

Suppose I had the following entries in /var/log/dnf.log: elfutils-default-yama-scope noarch 0.185-1.el8 baseos 49 k elfutils-devel ...
Lucky's user avatar
  • 113
0 votes
1 answer
275 views

yum: local repository and modified package

Following up advices to my other question I have set up my local RPM repository on Red Hat 8 machine, placed my private packages in there and am now able to install, update etc. However, there is a ...
Mark's user avatar
  • 259
0 votes
1 answer
3k views

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 ...
Mark's user avatar
  • 259
0 votes
1 answer
2k views

Unknown instruction: YUM while building Docker image

My Docker file: FROM remote-host COPY ./conf/nginx.repo /etc/yum.repos.d/nginx.repo RUN yum -y install nginx-1.12.2 openssl --enablerepo=nginx && yum -y install https://centos7....
siddartha K R's user avatar
2 votes
0 answers
559 views

Yum install/update hangs at the very end, unable to kill via ctrl-c

So I've got a group of servers (all RHEL 7.9) whose RPMDBs appear to have become corrupted. Not sure how or when, but no matter. I fixed the DBs using these instructions. After that, any attempt to ...
Jonathan Prater's user avatar
0 votes
1 answer
1k views

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 ...
uday kiran reddy's user avatar
2 votes
2 answers
8k views

ntpdate unavailable on CentOS8

I want to install ntpdate as usual on CentOS8. However, it is not available: # cat /proc/version Linux version 4.18.0-240.1.1.el8_3.x86_64 ([email protected]) (gcc version 8.3.1 ...
George Y's user avatar
  • 550
0 votes
0 answers
364 views

Long-overdue "yum update" has multiple "requires" errors

After much neglect of my VPS (currently running CentOS 7.4.1708), I tried to run yum update, but after a long list of "Processing Dependency..." lines, the end of the output looked like this:...
OsakaWebbie's user avatar
0 votes
1 answer
853 views

Centos 7.9 python3 cant find modules installed via yum

My stub python3 program cannot find the "pytz" module: [me@mybox]$ uname -a Linux portal2 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux [me@...
Clovis_Sangrail's user avatar
1 vote
1 answer
5k views

How to get Redhat/Centos to run nogpgcheck automatically on any call to yum install?

I'm taking over a big project. 5 engineers worked on it for some years, but they are gone now. There are multiple install scripts, and they are very complicated. Somewhere inside of those scripts, ...
charlottesville's user avatar
5 votes
2 answers
19k views

Failing to run yum update in CentOS 8

I want to preface this post with this disclaimer: I am somewhat unfamiliar with how yum functions and I am also unfamiliar with the details of the changes that are required since CentOS 8 became EOL. ...
ground_beef_n_stuff's user avatar
2 votes
3 answers
8k views

CentOS 9 Stream - errors doing yum update

I'm coming in from using Ubuntu. Just installed CentOS on my DEV server and right away having issues just doing an update or installing new packages. Here is the error: sudo yum update Last metadata ...
Kalvin Klien's user avatar
3 votes
2 answers
5k views

How do I update a very old CentOS release (6.2) where yum won't work at all because of outdated openssl certificates?

I have an old CentOS 6.2 machine and need to update a few packages on it (or many packages, I suppose). However I can't do anything with yum because even after changing the repos to vault.centos.org, ...
WackGet's user avatar
  • 227
2 votes
0 answers
5k views

The latest centos:8 docker image cannot run yum

With the latest centos:8 docker.hub image I cannot run yum. All yum commands fail with the error message Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No ...
firebush's user avatar
  • 141
1 vote
1 answer
4k views

dnf update with nobest option

I've got following error during update: Error: Problem: cannot install the best update candidate for package glibc-gconv-extra-2.28-167.el8.x86_64 nothing provides glibc-common = 2.28-181.el8 needed ...
msr's user avatar
  • 33

1
2 3 4 5
30