Questions tagged [yum]
Software package manager that installs, updates, and removes packages on RPM-based systems. yum stands for Yellowdog Updater, Modified.
497
questions
0
votes
1
answer
28
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
47
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
57
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
359
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
301
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
42
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
90
views
Amazon Linux 1 yum repo updates beyond 2018.03
In the unfortunate position where ideally, we'd like to update a handful of packages on a legacy deployment of Amazon linux ami 1 with yum configuration set to releasever=2018.03. I did try modifying ...
0
votes
0
answers
345
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
97
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
0
answers
345
views
RHEL UBI8.6-FIPS: yum install aide -> No match for argument: aide
BLUF:
I want to install AIDE via package manager but yum is not able to find the rpm
SYSTEM SETUP:
Docker image/container of RHEL UBI8.6-FIPS running on Ubuntu 20.04 DISA-STIG compliant FIPS enabled ...
0
votes
1
answer
218
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
482
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
87
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 ...
0
votes
0
answers
15
views
Canary rollout of RPM packages
I have a process of building rpm packages and pushing those to nexus. And I have users that have my repository configured in their /etc/yum.repos.d/. I want to have control over availability of my ...
1
vote
1
answer
154
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
2k
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
205
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
156
views
yum update got error 404 with an URL on https://cdn.redhat.com/
I am trying to install Snap Store and Octave on RHEL7 following the official instruction.
However, the command yum update got stuck on an error saying, https://cdn.redhat.com/content/e4s/rhel/server/7/...
0
votes
0
answers
819
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
268
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
141
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
1k
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
96
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
5k
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
1k
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
1k
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
205
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
274
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
2k
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
8k
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
4k
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
408
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
26
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
212
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
9k
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
...
3
votes
2
answers
19k
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
224
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
3k
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
375
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
2k
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
872
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
457
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
320
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
64
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 ...
0
votes
1
answer
280
views
interpretation of yum error messages
I tried to upgrade php 5 to php 7 on CentOS6 but failed with errors like this:
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-5.el6.x86_64 (epel)
Requires: php(api) ...
1
vote
0
answers
386
views
Unable to apply yum security updates
I've a few FreeIPA servers that were built using the official CentOS repositories and EPEL repo for FreeIPA.
[root@freeipa yum.repos.d]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core)
[...
0
votes
0
answers
196
views
yum - unexpected dependency
Platform: CentOS Linux release 7.6.1810 (Core)
I'm trying to download a set of rpm files for an offline installation. I have one master RPM that lists a set of dependencies. using a command like this
...