Questions tagged [yum]
Yellowdog Updater Modified (yum) is an interactive, rpm based, package manager.
1,615
questions
0
votes
1
answer
22
views
how do I yum remove an rpm [gssproxy] and not also remove dependencies [nfs-utils]
I was given a security rule that says gssproxy must be removed. When doing so it also removes nfs-utils as a dependency. I need to keep nfs-utils to be able to nfs mount. Is there a way to remove ...
0
votes
1
answer
24
views
How to install PHP obtained from remi's repo and created local repository?
Here is my question, I am trying (forced) to install PHP 8.2 into almalinux 8.6, but in a weird way. The idea is to be able to install it without internet, but with some local repositories which ...
0
votes
1
answer
22
views
DNF|YUM - Diable a package upgrade for one specific package version
I'm encountering a problem on a Linux host where upgrading software package X causes package Y to stop working, and where package Y is essential for the users of that Linux host.
This Linux host uses ...
0
votes
0
answers
33
views
Any folders on headless cent os safe to remove in /usr/share/ to regain desperate space?
I have an old web-server running apache that was installed with a small 8GB / drive for some reason. Most things run on /home which is on another volume but there are some oddities I am having with ...
-4
votes
0
answers
58
views
Centos 7 - yum doesn't work anymore
I cannot use anymore apparently because I have a repo not responding but not clue which one is.
Last line of the message after typing sudo yum update is:
Parsing primary.xml error: Start tag ...
0
votes
1
answer
28
views
Yum Update Wiped /boot/efi/EFI directory!
During a recent yum update (not upgrade), the /boot/efi/EFI/centos and BOOT was removed. Yes, I can reproduce this error.
In order to fix -- I could not boot into the kernel ==>
I used the rescue ...
0
votes
1
answer
122
views
AIX 7.1 Python3 Installation: Symbol Resolution Issue
I'm trying to install and run Python 3.9 on one of our AIX Operating Systems.
I used yum to install Python 3.9.
Current OS Level:
root@our_AIX_host:/opt/freeware/libexec > oslevel -s
7100-05-11-...
0
votes
0
answers
76
views
How to update google-chrome on centos with yum-cron?
I'm managing a medium size Selenium grid based on Linux CentOS 7 - a total of a couple dozens linux VMs. I'm using yum-cron to install updates. Starting recently, google-chrome does not update ...
0
votes
0
answers
242
views
Cannot install NetworkManager (nmcli) on Amazon Linux 2023
Freshly installed ec2 Amazon Linux 2023 instance. Was trying to inspect machine's network devices and status.
However nmcli seems unable to be installed through yum install:
$ sudo yum install ...
2
votes
2
answers
135
views
ec2 Alma 9.2 stuck on old kernel version
# the issue:
dnf check-update
Last metadata expiration check: 1:35:58 ago on Sun Jun 4 10:26:18 2023.
Security: kernel-core-5.14.0-284.11.1.el9_2.aarch64 is an installed security update
Security: ...
0
votes
1
answer
426
views
yum update does not work (repository problem)
# yum update -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ft, http[s] or file.
Eg. ...
0
votes
1
answer
74
views
How to install newer packages on Oracle Linux?
On Oracle Linux, how to install newer packages?
For example, yum install -y wireshark; wireshark --version gives Wireshark 2.6.2,
but upstream is at Wireshark 4.0.6. I have Last metadata expiration ...
-2
votes
1
answer
205
views
RHEL + how to download rpms from RHEL 8.x repos when using RHEL machine 7.x
we are using the server RHEL 7.9 version for downloading rpm's from 7.x line
we connected to rhel 7.x repositories , as the following ( VIA subscription-manager )
yum repolist
Loaded plugins: ...
0
votes
1
answer
124
views
How to install pcre2-tools on Rocky Linux
I am on RL v9.1. The package seems to be there (pcre2-tools-10.40-2.el9.x86_64.rpm) but yum doesn't see it:
yum install pcre2-tools
runner_gitlab-runner 1.4 kB/s | 1.0 kB 00:00
...
0
votes
0
answers
105
views
One of the configured repositories failed
I have searched and cannot find a solution for this error. This occurs when I attempt to run yum update or even when I try to install an RPM package.
One of the configured repositories failed (Unknown)...
0
votes
0
answers
110
views
CentOS 9 `yum module list` only contains PHP 8.1 stream, I want 7.4
I have a problem
When I type
yum module list
I get a minimal list
for ex:
I want to see other streams of for example PHP
Do you have any solution ideas ?
0
votes
1
answer
142
views
Yum install not recognizing specific version of JDK package on Oracle Linux 7.9
I am trying to install jdk 1.8.0_311 using yum install. However, I am getting an error stating that there is "nothing to do" when attempting to install.
I have used
yum --showduplicates list ...
0
votes
1
answer
137
views
Installing multiple packages with one yum command AND failing if any of them is unavailable
I want to install multiple packages with one yum command, and fail if any of them is unavailable. However, while yum install -y foobar would fail since there's no foobar package, yum install -y mysql ...
2
votes
1
answer
111
views
How do i distribute my commercial application using the yum package manager?
I would like to distribute my commercial application using yum (for ease of use and ease of update) on redhat/fedora/centos systems.
The user still has to purchase an account to use the application (...
0
votes
1
answer
55
views
Adding and mounting a NFS share from RPM installer
I am building an installer for a proprietary SW package that requires an NFS mount to be added, if not already present, to /etc/fstab, and then mounted. I would like to automate this if possible so ...
0
votes
0
answers
481
views
Receiving "Error: Trying to remove "yum", which is protected" when performing 'yum history undo'
We have a Centos 6.10 machine on i686 architecture. The server is running old software that requires specific versions of certain packages.
We have had to restart a machine for the first time since ...
0
votes
1
answer
396
views
yum equivalent of rpm --nofiledigest/--nomd5
I have a package that I would like to install. However, I get the following error when doing so
# yum install package.rpm
...
Transaction test succeeded
Running transaction
Installing : package....
0
votes
0
answers
919
views
package XX does not verify: Payload SHA256 ALT digest: BAD
Trying to install a package using yum with and without the option --nogpgcheck on RHEL 9.
In both cases I get the following error:
package XXX does not verify: Payload SHA256 ALT digest: BAD (Expected ...
0
votes
1
answer
509
views
centos 8.0 yum cannot be found
I use Centos 8.0 and want to install the latest Python 3.
When I run yum command, it tells me
yum: command not found
but when I run rpm -q yum, I have it yum-4.7.0-4.el8.noarch.
Then I try to which ...
0
votes
1
answer
14
views
Does Yum support a drop directory for its configuration?
Some tools configuration supports drop directories to alter or append the configuration without changing the distributed configuration file, for example, /etc/sudoers.d and so on.
I wanted to know, ...
0
votes
1
answer
222
views
Why newly created mirror repository is not working as source one
I'm using RockyLinux 8.5 on my test server and i want to create local repository for some applications as i won't have internet access in real case, only local repos.
I've downloaded package with it's ...
0
votes
0
answers
79
views
What is this process causing my CPU utilization to peak to 100%?
I have used CentOS 7. I updated the CentOS version recently to install docker. Then this problem arose. I think that this problem is caused by the docker and I tried to remove it,
yum remove docker
...
0
votes
0
answers
260
views
Issues with yum/dnf update and GPG check
When attempting to update my system/install new packages, I receive this error:
Problem opening package gstreamer1-plugins-bad-1.16.1-5.el8.x86_64.rpm
Problem opening package gstreamer1-plugins-ugly-1....
0
votes
1
answer
87
views
how to swap yum repos from DVD to web
I have to migrate some systems from centos 8.0 to RHEL 8.7 so, I prepare it to run convert2rhel, and so, previously, I wish to upgrade to centos 8.5
The system was installed in 2019 in the beginning ...
0
votes
1
answer
495
views
Why yum wget failed? No match for argument: wget
I have RHEL9,I tried
sudo yum install wget
got
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use ...
0
votes
0
answers
277
views
CentOS 7: yum fails importing required Python module liblzma
I'm accessing a machine with CentOS Linux 7.9.2009, Python 2.7.5, and GCC 10.3.0 (the choice of python2 was not mine). I'm trying to install an rpm through the yum command, but got this error message:
...
0
votes
0
answers
384
views
yum install : Loaded plugins: fastestmirror, ovl => docker build stops
I have this Dockerfile I try to use to docker build :
FROM X/centos/python-38-centos7
USER root
WORKDIR /dump_generator_api
# Install the repository RPM:
RUN yum install -y https://download.postgresql....
0
votes
1
answer
527
views
Verifying an rpm package integrity
I'm trying to verify the integrity of packages using rpm -K command, but whatever I type it says "No such file or directory", although the packages are installed
[anonymous@vendetta ~]$ rpm ...
0
votes
0
answers
84
views
Need to check where reposync is saving the .rpm files
I am working in a yum repository that is for RHEL6 (This is our copy of the RHEL6 yum repo). I need to do reposync so that this server can get the latest version of all the packages. I need to know in ...
4
votes
2
answers
1k
views
How dnf/yum decides to refresh or do not refresh repositories?
When I try to install a package say git using:
dnf install -y git
in the very same virtual machine image dnf/yum sometimes simply installs the package, but sometimes, usually if some time spent after ...
0
votes
0
answers
207
views
Listing all Yum repos without internet access
With my enterprise, we are looking to block full internet access to the linux servers.
Without internet, I cannot do for example: yum -v repolist all
I am trying to get every URL from /etc/yum/...
0
votes
1
answer
484
views
Package 'libxslt' not found though installed in machine [FEDORA]
I'm trying to run a cmake command (sudo cmake -S. -B./build -G Ninja).
This gives me the error:
-- Configuring FOSSOLOGY
-- Checking for module 'libxslt'
-- Package 'libxslt', required by 'virtual:...
0
votes
0
answers
124
views
yum states nothing provides java >=1:11.0.0 although java 11 is installed
So I am installing a package that required java 11. When I attempt to install I get the following:
yum install openfire_2023-01-12-noarch.rpm
Last metadata expiration check: 0:10:34 ago on Thu 12 Jan ...
0
votes
0
answers
359
views
Yum is broken after deleting /lib64/python3.6 on CentOS 8
I accidentally removed /lib64/python3.6 which was installed with yum previously. Yum is now broken and i cant install packages. I am running on CentOS8. I installed python3.10 from source. I have ...
0
votes
1
answer
202
views
How to Figure Which Repo is bad?
I am trying to install a package, and it complains a repository is bad but without telling me which one:
$ sudo yum install devtoolset-11-gcc-c++.x86_64
Loaded plugins: auto-update-debuginfo, ...
2
votes
1
answer
37
views
How can I update two Amazon Linux hosts with the same updates with some time in between
I have two linux hosts (AWS EC2 - Amazon Linux which is based on "centos rhel fedora"), one for production and one for acceptance. I want to do a monthly update cycle in which I perform ...
0
votes
1
answer
104
views
yum finding the parents of a dependent rpm
Running RHEL 7.9. I have tomcat-servlet-3.0-api-7.0.76-16.el7_9.noarch showing up via an rpm -qa
How can I use yum or anything else to find why I have that tomcat-servlet installed and what rpm's are ...
0
votes
1
answer
2k
views
YUM: Downloading successful, but checksum doesn't match
On RHEL9 i created a local YUM Repo, i copied all the files under /RHEL9-REPO.
Content of /etc/yum.repos.d/rhel-lcoal.repo
[rhel-baseos]
name= RHEL 9.0 Local BaseOS YUM REPO
baseurl= file:///RHEL9-...
0
votes
0
answers
171
views
Warning on yum update
I'm using centos 7, and when I want to run yum update console showing me below warning :
Configuration file /etc/yum/pluginconf.d/getpagespeed.conf not found
Unable to find configuration file for ...
1
vote
1
answer
704
views
How do I query a repo and find out its content?
How would I find out more information about a repo within RHEL?
For instance, I would like to know what packages it holds, as well as information on size, its description/purpose, etc. I know that you ...
0
votes
1
answer
262
views
What's the difference between repo id and repo name on RPM based distributions?
When I run yum repolist all on a Red Hat system, it lists both a "repo ID" and "repo name". I'm confused as to how a single repository has multiple IDs. Is it because a repository ...
0
votes
0
answers
390
views
What does Obsoleting Packages mean in output of yum check-update?
The output of "yum -q check-update" is following:
It shows the available version for grub2-tools is 2.02-142.e18 (in dark green color)
The obsoleting packages shows following update ...
0
votes
0
answers
30
views
Implementing the right conditions for a yum command for centos5 in Ansible
I'm currently working with a centos5 host and I have to install some packages with yum.. unfortunately, as far as I know, centos5 doesn't support Ansible's yum module so I have to use the 'command' or ...
2
votes
1
answer
131
views
Ansible conditional
My goal is to find a way to combine the two statements below but am coming up short. For this instance, I have Package1 and Package2 that are being installed regardless of rhel version. However, ...
0
votes
0
answers
244
views
Increasing max_parallel_downloads is not effective in yum commands
To install all the updates in a Red Hat or CentOS machine, we use the following command
yum -y update --skip-broken --nobest
We are looking for ways to improve total running time of installing the ...