Questions tagged [yum]
YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.
1,462
questions
0
votes
0
answers
33
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, ...
1
vote
1
answer
33
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 ...
0
votes
0
answers
90
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?
...
1
vote
1
answer
99
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 ...
0
votes
1
answer
40
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 ...
0
votes
1
answer
82
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:...
0
votes
1
answer
76
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. ...
0
votes
0
answers
35
views
Can't install npm on CentOS 6 due dependency issues
I have a CentOS 6 machine that I want to install npm on. Whenever I do a normal yum install npm I get an error saying that I need to install krb5-devel which doesn't show up on yum search so I ...
1
vote
0
answers
194
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 ...
0
votes
0
answers
235
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 ...
2
votes
2
answers
865
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/...
0
votes
1
answer
359
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: ...
0
votes
0
answers
89
views
Setup an empty YUM repo that will download and keep in local the RPM it is asked for
I'm trying to understand if its possible to setup the following :
A fresh CentOS 7.9 server (called A) that is configured as YUM repo but with 0 RPM to serve.
Setup this server as a YUM repo on ...
0
votes
0
answers
168
views
Nginx module is getting downgraded from nginx-1.20 to nginx1.14 when I migrate from centos7 to Rocky linux 8
I am doing an leapp upgrade to move from centos7 to rockylinux8 and I see nginx-1.20 and nginx-filesystem-1.20 in centos7 is downgraded to nginx-1.14 in rockylinux8.
centos7:
nginx-1.20.1-2.el7.x86_64
...
0
votes
1
answer
85
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 ...
0
votes
0
answers
215
views
Network error: sslv3 alert handshake failure
I can't perform yum update/install new software using yum it always say: Network error: sslv3 alert handshake failure
Here is error example:
[root@static ~]# yum update
Loaded plugins: fastestmirror, ...
0
votes
0
answers
23
views
Setting up second PGSQL when first is using built-in PostgreSQL module
I have a Centos 8 server running PostgreSQL 10. I would like to add a PostgreSQL 14 database to this server (which would run on a different port), which will replace the PostgreSQL 10 instance after a ...
0
votes
0
answers
38
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 ...
0
votes
0
answers
44
views
yum error | Centos 5
Hi guys, I am trying to install "Development Tools"... Why?
I need to have installed gcc in Centos 5, (yes I know it is old!).
But When I try to install with "yum",
Install ...
0
votes
1
answer
53
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 ...
1
vote
1
answer
407
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/$...
1
vote
1
answer
432
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'...
1
vote
2
answers
887
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 ...
0
votes
2
answers
7k
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 ...
0
votes
0
answers
61
views
Yum hangs while erasing
When i do this command
yum erase centreon-release-21.04-5.el7.centos.noarch
yum says
Erasing : centreon-release-21.04-5.el7.centos.noarch
and nothing happens, I have to stop with a ctrl + c. I ...
0
votes
1
answer
1k
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:...
0
votes
0
answers
174
views
Stop yum-cron getting stuck holding yum lock
I'm running a bunch of CentOS 7 servers with yum-cron and yum is constantly getting locked.
Now and then I'll go to install something or manually run yum update and I'm almost always greeted with ...
1
vote
0
answers
685
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 ...
0
votes
1
answer
49
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 ...
0
votes
1
answer
173
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 ...
0
votes
1
answer
2k
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 ...
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....
2
votes
0
answers
398
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 ...
0
votes
1
answer
818
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 ...
2
votes
2
answers
4k
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 (mockbuild@kbuilder.bsys.centos.org) (gcc version 8.3.1 ...
0
votes
0
answers
497
views
Failing execute yum from ansible on centos 8
I have a problem updating Centos 8 systems due to repositories. This is my task and it works on Red Hat and Almalinux:
- name: Install the latest version of yum-utils
become: yes
become_method: ...
0
votes
0
answers
279
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:...
0
votes
1
answer
583
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@...
0
votes
1
answer
2k
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, ...
5
votes
2
answers
15k
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.
...
2
votes
3
answers
5k
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 ...
3
votes
2
answers
3k
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, ...
1
vote
0
answers
4k
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 ...
1
vote
0
answers
2k
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 ...
0
votes
4
answers
4k
views
How to install a specific version of PostgreSQL in Red Hat 8?
I'd like to install a specific version of PostgreSQL in RHEL 8 with dnf.
To achieve this I followed the PostgreSQL guide : https://www.postgresql.org/download/linux/redhat/
But actually I can only ...
0
votes
1
answer
495
views
yum installation failed on RHEL 7
I tried to install telnet using yum with the following command:
yum install telnet
But I get the following error:
Error
How can I solve this and add third party repositories?
0
votes
1
answer
93
views
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-...
-1
votes
1
answer
5k
views
AWS EC2 Yum has no repositories
I'm a frontend web developer and struggling with this backend stuff!
My goal here is to install and update to PHP 7.4 on my AWS EC2 server.
I need yum to install amazon-linux-extras but yum has no ...
1
vote
1
answer
2k
views
How to install packages from command line on Suse
What is the Suse version of apt-get or yum? Or how do I get one of them installed in order to install software packages from the command line?
A fairly intense session of googling suggests that it may ...
0
votes
1
answer
343
views
Salt: connection refused to proxy
I have troubles with Salt, installed on an HPC cluster. All maintenance commands (i.e. salt commands) are made from master0. The minions to be managed are named node0, node1, ..., node4. When I try to ...