Questions tagged [yum]
Software package manager that installs, updates, and removes packages on RPM-based systems. yum stands for Yellowdog Updater, Modified.
500
questions
1
vote
0
answers
27
views
Why does “yum check dependencies” give an unclear answer?
I use the yum -d 0 -e 0 check dependencies
in order to verify if yum have conflicts with RPMs.
But when I run this on RHEL 7.2 machine I get the following:
yum -d 0 -e 0 check dependencies
containerd....
0
votes
0
answers
18
views
Prevent dnf from changing cgi-bin directory permissions
We use suexec on an internal server and have SuexecUserGroup set to a restricted user. But dnf updates of the web server software change the ownership of /var/www/cgi-bin back to root and this breaks ...
0
votes
2
answers
203
views
Docker install in centos 7.4 with version info failed
I try to use
yum install docker-ce-3:25.0.4-1.el7 #the current version
to install, It saids no package docker-ce-3:25.0.4-1.el7 available.
but if I remove the version info,just type
yum install ...
0
votes
0
answers
537
views
Why yum install is giving me this "Could not retrieve mirrorlist" error trying to install a software?
I am not a system engineer (I am more a software developer).
I am trying to install Zabbix agent on a CentOS 7 system and I am finding the following problem with yum (I have done the same process on ...
1
vote
0
answers
140
views
PHP 5.4 yum dependency issue on AWS Linux 2
I am running PHP 8.1 on AWS Linux 2. When I run yum updates I get the following error:
> Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.4.16-46.amzn2.0.3 ...
0
votes
0
answers
114
views
Centos 7 yum update issue
I am getting the below error while doing the "yum update" in centos7. I tried all other ways to fix but nothing is working. Please find the below full error for your information.
Please find ...
0
votes
0
answers
199
views
yum updates failing with primary_db.sqlite: [Errno 27] File too large error
I am running CentOS 7.9 and I added a nvidia repo for yum to update the hpc_sdk. yum was working fine before this, but now I get the error
Error: Error writing to file /var/cache/yum/x86_64/7/base/...
0
votes
1
answer
460
views
yum downgrade and automatically include all dependencies?
When upgrading a package, yum resolves and updates all dependencies automatically. Is there a flag/option when downgrading packages. For instance i have php82 installed and am trying to get back to ...
0
votes
1
answer
312
views
Can't install cairo-devel and pango-devel on Centos 8.1 (for Tesseract)
In order to compile the Tesseract Training programs from source code, the development packages for pango and cairo must be installed. However, I'm having trouble installing them on Centos 8.1.
# cat /...
0
votes
0
answers
398
views
How to Forward /var/log/yum.log to Remote Logging Server using rsyslog.conf?
Gents,
I am trying to find a way to forward /var/log/yum.log towards Remote Logging Server using rsyslog.conf in my RHEL7. But Not happening.
I have tried this approach but no luck -
$InputFileName /...
4
votes
1
answer
2k
views
No module named yum when working on RHEL 8
Since our application works with python2, we needed to move to RHEL 8
After we installed python2 on RHEL 8 machine, we see the following:
rpm -qa | grep python2
python2-pip-9.0.3-19.module+el8.6.0+...
1
vote
1
answer
825
views
Cannot install specific version of yum package reported by yum list
I'd like to install with yum a specific version of certain packages on an Amazon Linux container. When I list the available versions, I get this:
bash-4.2# yum list glibc.i686 tar tcpdump
Loaded ...
1
vote
1
answer
217
views
Command `yum history package-list` not finding expected matches
On a server of Red Hat 7.9 (Maipo), we got an estimate that we removed the DSMC application from about five months ago. As a due diligence, we need to find more details including exactly when and who.
...
0
votes
0
answers
1k
views
YUM: error setting certificate verify locations
i'm trying to get yum update to work again, however, it always gives me this message, what can i do?
[root@CJL01 ~]# sudo yum update
Docker CE Stable - x86_64 ...
0
votes
1
answer
289
views
How to install httplib library inside CentOS based container
I am trying to install https://github.com/yhirose/cpp-httplib inside a container (CentOS based). I use this command:
yum install cpp-httplib
but it says that the package is not found. Similar command ...
0
votes
1
answer
573
views
yum update breaks CentOS
There is a CentOS 7 VPS. I just tried to follow guide to install php 7.4, and ran
sudo yum update
It did stuff, outputted a list of "install" lines, and then a list of "clean" ...
0
votes
1
answer
1k
views
Change the yum repo of the installed package
I have an rpm package installed with yum from a community repository server and need to switch to another repository server.
yum does not allow having shared names of packages between different ...
1
vote
0
answers
111
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 ...
1
vote
1
answer
282
views
Is it fine to assume "yum check-update" will be accurate when run without root?
Is it fine to assume "yum check-update" will be accurate when run without root? People suggest against running "yum makecache" and say that other yum commands will update the cache....
2
votes
2
answers
4k
views
How to keep yum cache from filling back up
I have a RHEL system whose disk keeps filling up. The problem is /var/cache/yum. I have read Can we clean yum cache files manually? and I know that sometimes you have to, like it says, clear out /var/...
1
vote
0
answers
766
views
Yum nothing provides libraries
I'm trying to resolve a library dependency issue with a few packages (our code). We have one package, let's say package A, which has a dependency on two libraries provided by package B.
Package A's ...
0
votes
0
answers
2k
views
Installing Git LFS
I'm following this guide. When I have to run this trainer:
trainer = Seq2SeqTrainer(
model,
args,
train_dataset=tokenized_datasets,
eval_dataset=tokenized_eval,
data_collator=...
1
vote
0
answers
319
views
How To Setup ostree and rpm-ostree on openEuler?
I have a task which is to test the rpm-ostree on openEuler. It seems not set up correctly, simply installing it with yum may not enable it.
> rpm-ostree status
error: This system was not booted via ...
0
votes
0
answers
189
views
Centos 8 running as a LXD container fails to install packages: yum ailed to connect to mirrorlist.centos.org port 80: Connection timed out
Under Ubuntu, I created a Centos 8 LXD container:
lxc launch images:centos/8 centoscontainer
Then, I log into the container with lxc exec centoscontainer /bin/bash.
I'm root, and I can access network ...
0
votes
1
answer
2k
views
CentOS 7 Yum not seeing available package updates
This weekend it occurred to me that I likely have several out-of-date packages on my server, so I set about updating them. Two packages require an update: Redis and Git. When I check versions on the ...
1
vote
0
answers
159
views
How to get some kind of progress meter on Yum downloads?
Is there a way to get some kind of progress meter when using YUM, for the actual downloading of the RPMs?
I'm talking after YUM has done its thing with searching repos, and asking you if you want to ...
1
vote
2
answers
10k
views
Error unpacking rpm package
I have upgraded just before my centos 7 to centos 8. after a few hours of effort with the guide, I was upgraded.
now I am trying to use yum for a couple of dependencies. as I have removed yum I am ...
0
votes
2
answers
1k
views
How do you create a chroot environment for OpenSUSE Leap?
I have CentOS 7 and would like to install a chroot environment of OpenSUSE Leap for testing.
How do I do that?
0
votes
1
answer
2k
views
Trouble to install docker on my centos 8 VM
My dev machine is a CentOS 8 VM, and I'm trying to install docker on it, so I can locally create docker images. I'm basically following the docker tutorial here: https://docs.docker.com/engine/install/...
0
votes
1
answer
2k
views
yum update fails with lots of duplicate packages
I am trying to update a RHEL server that has not been updated for 4 years. yum update returns a lot of duplicate package errors. I can only paste part of the output. How can I clear these and be able ...
1
vote
1
answer
313
views
`yum check-update` fails with an error in a CentOS virtual machine
The following error occurred when I enter the following CMD
sudo yum check-update
complete vm :
0
votes
1
answer
405
views
Remove content from /var/lib/yum/plugins/local in Centos
The /var/lib/yum/plugins/local folder seems to store installed rpm packages:
$ ls /var/lib/yum/plugins/local
389-ds-base-1.2.11.15-95.el6_9.x86_64.rpm
389-ds-base-devel-1.2.11.15-95.el6_9.i686.rpm
......
1
vote
1
answer
3k
views
Metadata file does not match checksum after yum install
I'm trying to install elasticsearch using YUM repo on centos.
I configured the yum repo as described here :
https://www.elastic.co/guide/en/beats/filebeat/current/setup-repositories.html
but after the ...
2
votes
2
answers
14k
views
How to patch the OS under Red Hat satellite server
I am using Red hat Satellite 6.7 version.
OS info:
NAME="Red Hat Enterprise Linux Server" VERSION="7.8 (Maipo)"
I Know how to patch systems using Red Hat Satellite server.
But I do ...
1
vote
1
answer
6k
views
trying to reinstall ca-certs on centos
I am trying to connect to a web service and i get an error:
cURL error 77: .........
I have read all over the web, that i can fix it by:
yum reinstall -y ca-certificates
but when i do that, i get:
# ...
0
votes
1
answer
1k
views
One of the configured repositories failed (centos-7 - media)
I just installed centos-7 on VMware. While trying to run the command
yum update
it gives me an error saying,
one of the configured repositories failed (centos-7 - media)
I tried all the possible ...
0
votes
0
answers
1k
views
Why does `dnf updateinfo` just output the "Last metadata expiration check"
I am writing a program to control dnf, and it needs a list of available updates for further processing.
The command dnf updateinfo seems what I want, I tried it on CentOS 8 Stream, but it just outputs ...
1
vote
1
answer
541
views
Updating yum package does not install minimal version of required package
Installing pkg-a which Requires: pkg-common >= 1.1.0 does not update existing installed package pkg-common which is as version 1.0.0.
pkg-a Spec
Name: pkg-a
Version: 2.3.4
Requires: pkg-common ...
0
votes
1
answer
132
views
Permit RPM to install file over other RPM's file?
I know, "bad practice". In this case, suppose 2 RPMs which define which things should be installed onto a given server. RPM 1 wants to install config.json and RPM 2 wants to install it as ...
0
votes
1
answer
358
views
why rpm failed but yum worked for the same downloaded rpm
In order to install libpcap-devel offline, I used yum install -y --downloadonly --downloaddir=. libpcap-devel and got 2 rpm:
libpcap-1.5.3-12.el7.x86_64.rpm libpcap-devel-1.5.3-12.el7.x86_64.rpm
Then ...
0
votes
1
answer
12k
views
No module named yum with python2.7 in centos 7
I have to installed Python 2.7 in centos as I was facing some issues managing different versions of python. But I have messed up the yum settings and not able to use it.
Steps I took to install Python
...
5
votes
2
answers
29k
views
Can we clean yum cache files manually?
I am using Redhat 7 while running yum update I am getting Bus error (core dumped) error.
After troubleshooting I found that / was full because of /var/cache/yum/x86_64/7server/rhel-x86_64-server-7/gen ...
0
votes
0
answers
313
views
What happened to psutils?
Earlier this year I was able to install psutils package on RHEL with yum.
Now I am getting "No package psutils available."
Is there a way to find out what happened to it and if there is a ...
2
votes
1
answer
4k
views
yum + skip broker or exclude rpms
during yum update on one of our rhel 7.6 server we get the following error
--> Finished Dependency Resolution
Error: Package: libtirpc-devel-0.2.4-0.6.el7.x86_64 (installed)
Requires: ...
0
votes
1
answer
492
views
which iso file to download in order to upgrade rhel from 7.2 to 7.6
we have 762 linux rhel servers with version 7.2
we want to upgrade all servers to rhel 7.6 but off-line ( without network )
from redhat site - https://access.redhat.com/downloads/content/69/ver=/rhel--...
0
votes
1
answer
4k
views
pip on Python 2.7 in RHEL using yum
I have tried to install pip for Python 2.7 on RHEL using sudo yum install python3-pip, and, while the installation gets completed, when I try to run pip it says that command is not found.
yum list ...
1
vote
1
answer
1k
views
Installing yum on linux results in no module named yum error despite only have python 2.7
I am running on Kali 2020.2 (kali-rolling). I am trying to install things using yum. However, whenever I try and run such commands I receive the error :
There was a problem importing one of the ...
1
vote
1
answer
785
views
yum: Identifying Packages where Installed version-release is Newer than Repo version-release
I manage my RHEL 6 / 7 systems with yum pointed at a local repository that is a replica of the official repository from Red Hat.
Other people have installed newer versions of some packages as follows:...
1
vote
0
answers
446
views
yum + Multilib version problems found
we are installing now docker on rhel 7.2 version
during yum install we see the following
--> Finished Dependency Resolution
Error: found. This often means that the root
cause is ...
1
vote
0
answers
68
views
Not able to install any package in Redhat linux
I'm trying to install php or any other package getting below issue
[root@xxxxxx xxxxx]# yum install php
Loaded plugins: rhnplugin
This system is receiving updates from Spacewalk server.
Repository ...