Questions tagged [yum]

Software package manager that installs, updates, and removes packages on RPM-based systems. yum stands for Yellowdog Updater, Modified.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 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/...
user avatar
  • 123
0 votes
0 answers
27 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=...
user avatar
  • 119
1 vote
0 answers
41 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 ...
user avatar
0 votes
0 answers
65 views

Yum won't install specific version of dependency, even though it's available

Why is there confusion during a yum install when my package requires an exact version of another package, which is available, but there is also a newer package available? Error: Package: my-nginx-...
user avatar
  • 1,476
0 votes
0 answers
50 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 ...
user avatar
  • 137
0 votes
1 answer
452 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 ...
user avatar
1 vote
0 answers
26 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 ...
user avatar
1 vote
2 answers
823 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 ...
user avatar
0 votes
0 answers
27 views

Why last package version (tmux) with yum isn't shown?

I use NAME="Oracle Linux Server" VERSION="7.9" with yum --version 3.4.3 Installed: rpm-4.11.3-45.el7.x86_64 at 2021-01-14 07:37 Built : None at 2020-10-01 06:03 Committed: ...
user avatar
  • 101
0 votes
0 answers
36 views

Prevent services from auto starting after yum install

I am using yum install to install a few packages on CentOS. Once packages are installed corresponding startup scripts are invoked immediately. On Debian, policy-rc.d can be used to prevent services ...
user avatar
  • 1
0 votes
2 answers
297 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?
user avatar
  • 319
0 votes
1 answer
545 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/...
user avatar
  • 131
0 votes
0 answers
65 views

Difference between config.repo file and files under /etc/yum.repos.d

I'm new to Linux and on a server that has multiple yum repositories. For some repositories, I see a .repo file under /etc/yum.repos.d and for some repositories, I see a file config.repo under the ...
user avatar
0 votes
1 answer
502 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 ...
user avatar
  • 101
0 votes
0 answers
9 views

diff between /etc/yum.conf and yum update --exclude=

How does centos7 handle the difference between an exclude statement in /etc/yum.conf -versus yum update --exclude= ? The 2 aren't the same. Any insights would be helpful. Thanks in advance.
user avatar
0 votes
0 answers
110 views

Running Yum Install and using credentials from a .netrc file

Similar to how cURL can use a file in ~/.netrc to look up credentials when running cURL commands against a password protected web server, is there a way to instruct a yum repo (perhaps via a command ...
user avatar
  • 231
1 vote
1 answer
37 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 :
user avatar
0 votes
1 answer
130 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 ......
user avatar
1 vote
1 answer
727 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 ...
user avatar
  • 131
2 votes
2 answers
3k 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 ...
user avatar
  • 3,693
1 vote
1 answer
2k 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: # ...
user avatar
  • 111
0 votes
1 answer
577 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 ...
user avatar
0 votes
0 answers
309 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 ...
user avatar
1 vote
1 answer
46 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 ...
user avatar
  • 1,476
0 votes
1 answer
13 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 ...
user avatar
  • 1,476
0 votes
1 answer
90 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 ...
user avatar
  • 2,566
0 votes
1 answer
4k 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 ...
user avatar
  • 101
2 votes
2 answers
8k 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 ...
user avatar
  • 3,693
0 votes
0 answers
113 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 ...
user avatar
  • 273
1 vote
1 answer
753 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: ...
user avatar
0 votes
1 answer
238 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--...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 1
1 vote
1 answer
519 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 ...
user avatar
  • 11
1 vote
1 answer
218 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:...
user avatar
  • 839
1 vote
0 answers
233 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 ...
user avatar
1 vote
0 answers
55 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 ...
user avatar
0 votes
1 answer
124 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) ...
user avatar
  • 73
1 vote
0 answers
243 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) [...
user avatar
  • 11
0 votes
0 answers
108 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 ...
user avatar
  • 143
0 votes
1 answer
2k views

How to renew or refresh SSL certificates of yum "rhui" repositories in GCP?

Running RHEL 7 in GCP and trying to install packages with yum, all rhui repositories give an error like: https://cds.rhel.updates.googlecloud.com/pulp/repos/content/dist/rhel/rhui/server/7/7Server/...
user avatar
0 votes
1 answer
1k views

Can't install php-devel on Centos 7

Error: Package: php-devel-7.4.2-1.el7.remi.x86_64 (remi-php74) Requires: php-cli(x86-64) = 7.4.2-1.el7.remi Installed: php-cli-7.4.3~RC1-1.el7.remi.x86_64 (@remi-modular-test) ...
user avatar
0 votes
1 answer
268 views

how to force yum to remove rpm + rhel 7.5

we want to remove openssl-libs and to installed diff openssl version but yum remove option have huge dependencies list and failed as the following: yum remove openssl-libs . . . . . ---> Package ...
user avatar
0 votes
1 answer
396 views

Offline Update Rhel 7.4 without changing the version of OS

I have to Update my Rhel Server and keep the version of OS. The current running version of OS is Rhel 7.4. My server is not connected to internet. So i have to do an offline Update. Is it possible to ...
user avatar
0 votes
1 answer
52 views

RHEL yum Package Installation from Repository of Differing Release Number

I have two RHEL machines. One runs RHEL 6.9, and the other runs RHEL 7.7. I have access to local copies of both the RHEL 6.9 and the RHEL 7.7 repositories. This is the only repository access I have. ...
user avatar
  • 839
0 votes
1 answer
1k views

yum giving error "[Errno 111]" Connection refused on RHEL

I am on RHEL server 7*. When I use yum (any command even help) I get this line every time. [Errno 111] Connection refused Things work, but lines like this keep coming.
user avatar
0 votes
1 answer
231 views

Upgrade RHL 7.6 to RHL 7.7, strange error

I am upgrading RHL 7.6 to 7.7 but I encounter strange error. $>uname -r 3.10.0-957.el7.x86_64 $>yum update Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-...
user avatar
  • 101
1 vote
1 answer
211 views

Check uncompressed package size for yum update

When we pass the yum update command, it shows total size needed to update packages. But I think it's the compressed size. Is there any way to check uncompressed size of packages before patching the ...
user avatar
  • 11
1 vote
0 answers
24 views

yum + dose yum support resume installing

I want to share the following problem when yum install & download heavy packages , this take time ( couple min ) regarding to that . I want to explain the following problem: when suddenly ...
user avatar
0 votes
1 answer
837 views

"requested datatype primary not available" when adding Remi repositories

In our daily autotests we install PHP 7.3 from Remi's repository using Ansible. Usually it works fine, but sometimes (few times a month) it fails with the error like below: fatal: [vm1.int.zone]: ...
user avatar
0 votes
1 answer
50 views

Can't install “qt-examples” and “qt-docs” packages because dependency is too new?

What is wrong with my repository? Why can't I install qt-examples? How do I fix the repository? $ sudo yum install qt-examples [...] Error: Package: 1:qt-examples-4.8.7-2.el7.x86_64 (base) ...
user avatar

1
2 3 4 5
10