Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [yum]

YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.

0
votes
0answers
45 views

Yum: How to Fix or Remove Conflicts

I'm not sure how I got to this state, but now every time I try to run yum, it ends with the following messages: --> Finished Dependency Resolution Error: httpd24-tools conflicts with httpd-tools ...
-1
votes
2answers
26 views

I am tryin to install and run postgresql

I installed postgres and tried to start postgres service but failed with errors [root@c1152-node3 ~]# psql psql: could not connect to server: No such file or directory Is the server running ...
0
votes
0answers
35 views

Artifactory rpm repositories and Amazon Linux Repo mirror list

what's the recommended approach for setting up remote rpm repositories to proxy Amazon Linux? The yum repo files on Amazon linux show a mirror list and then base URLs with UIDs. I don't know if I ...
0
votes
0answers
50 views

yum --disableexcludes=main not working in RHEL 7.5?

On my RHEL 7.5 host, I've excluded kernel updates on /etc/yum.conf When I attempt a yum update with --disableexcludes=main, the exclude is not disabled. Only --disableexcludes=all seems to work. ...
0
votes
1answer
22 views

“is allowed multiple installs, skipping” prevents downgrade of kernel on Centos6

I have 2.6.32-696.23.1.el6.x86_64 installed and would like to downgrade to 2.6.32-696.10.3.el6.x86_64 but the following command results in a skipping message: yum downgrade -y --disableexcludes=all ...
0
votes
0answers
15 views

yum update errata up to specific version

I need to update a server up to a specific errata version. I know that the below command will always update to the latest version. yum --security update-minimal I need a way to specify up to what ...
0
votes
0answers
188 views

yum error: cannot import name ts

We had a power hit to one of our servers during a yum update, and now trying to run yum produces the following: # yum update error: Failed to initialize NSS library There was a problem importing one ...
0
votes
1answer
79 views

Failed yum update rendered CentOS 7 install almost useless – where to look for root cause?

I was doing my regular yum update and it kept failing. Following various advice online I finally managed to clear it out and get it happy that there were no outstanding tasks and no updates available. ...
0
votes
0answers
26 views

Local CentOS repo - Mismatch between rsync mirror and available update files?

I recently set up a local CentOS and epel mirror, using rsync against publicly available mirrors that support rsync. Then, I set up custom repo files for the client machines connecting to my local ...
0
votes
2answers
19 views

yum in CentOS 6.9 VM insists on using ipv6 mirrors after mangling with iptables in host machine

I am learning to handle iptables when but I had to port forward over a NAT host machine to a server on a VM running CentOS 6.9. Host machine is running Kubuntu 18.04. After trying some iptable rules ...
-1
votes
1answer
50 views

Installing Nginx on Linux Error

I am trying to install Nginx on my Linux EC2 server and following the nginx guide, but I run into an issue at sudo apt-key add nginx_signing.key because I believe apt-key add is an Ubuntu command ...
0
votes
4answers
503 views

Unable to update CentOS 7 - yum update broken

I'm trying to run yum update and now it isn't working... I'm at a loss as to why - this is a fairly generic setup just running basic web, services: [... tons of package updates...] --> Running ...
-1
votes
1answer
123 views

Possible DNS issue when using yum: “Could not resolve host: (every mirror); Unknown error” Centos 7 [closed]

Some specifications and background information: Running Centos Linux release 7.2.1511 (core), Static IP address, Dedicated server machine not configured by me, also I have very little linux experience....
0
votes
1answer
44 views

RHEL 7.5 Cannot Yum install from text file [duplicate]

I cannot figure out why installing packages listed in a text file with Yum wouldn't work but for some reason it does not. Yum cycles through all the listed package names and and lists them as ...
1
vote
1answer
55 views

Accidentally removed libselinux and nothing works

I have accidentally removed libselinux on centos 7.4 and am unable to install it again and all commands fail. How do i recover? ls: error while loading shared libraries: libselinux.so.1: cannot open ...
0
votes
1answer
88 views

CentOS - Duplicate yum-cron-hourly processes

yum-cron-hourly.conf is run hourly, the default, and I'm not sure its working correctly. There are multiple procs running. root 17320 17306 0 16:01 ? 00:00:00 /usr/bin/python -tt /usr/sbin/yum-...
1
vote
1answer
63 views

Tell yum to install the exact version of my package dependencies

I'd like to install a package named pA. Package pA-1.0.0-0 depends on package pB-1.0.0-0. On a yum repository, one can find both pB-1.0.0-0 and pB-1.1.0-0. Package pA-1.0.0-0 is not compatible with ...
0
votes
0answers
52 views

Error inside a container executing yum: Permission denied

docker run -ti image_nginx /bin/bash bash-4.2$ ls bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var bash-4.2$ yum error: cannot open Packages index ...
1
vote
1answer
225 views

Why do I receive [Errno 14] PYCURL ERROR 7 - “couldn't connect to host” when running yum commands in Red Hat Enterprise Linux and CentOS?

When running yum update, the below error message occurs Loaded plugins: product-id, rhnplugin, security redhat-rhn-satellite-5.5-server-x86_64-6 ...
0
votes
0answers
420 views

Centos yum error: Failed to initialize NSS library - other fixes not working for me

Basic issue from screenshot: yum error: Failed to initialize NSS library There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: cannot ...
0
votes
0answers
30 views

Docker: After commit of customized Centos Container, yum does not work anymore

I'm very new to Docker and actually im wrapping my head around a few things. Currently I'm trying to install an application inside a Centos:7 docker container. When I use the fresh image from docker ...
1
vote
1answer
427 views

How to force Yum to install an older package which “is obsoleted by” a newer package?

I have a CentOS 6 host running a MySQL server. I want to migrate this server away from the MySQL Enterprise Server packages to MySQL Community Server packages, with the following specifics: The MySQL ...
0
votes
0answers
73 views

Redhat repository server packages auto check and update

I have Redhat repository server in my network. Now just realized that my repo packages are not up to date and security updates are old too. Is there any way to download latest packages/version to ...
1
vote
1answer
164 views

Self-signed Cert for yum repository server

Can I use Self-signed Cert for local yum repository server? The problem is when a client i sdoing a yum update via my repository server, it shows [Errno 14] curl#60 - "Peer's certificate issuer ...
0
votes
0answers
93 views

Yum not discovering all package versions in repo

When I check for available versions of mysql-community-server in Oracle's repo through the package manager, I only see the following: # yum --showduplicates list mysql-community-server Loaded plugins:...
1
vote
1answer
59 views

Centos repository server auto update

I have repository server running on Centos7.4 and all the centos clients in my network do yum update through repo server. The question when there is an updates, do I need to download manually to ...
1
vote
1answer
74 views

yumdownloader doesn't resolve dependency?

According to man yumdownloader: --resolve When downloading RPMs, resolve dependencies and also download the required packages. However, when I tried: $ sudo yumdownloader devtoolset-7-...
-1
votes
1answer
181 views

Yum Install Packages Behind Firewall

I have a CentOS 7 server (server X)in a datacenter that has a firewall that I couldn't do yum: # yum search htop Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not ...
1
vote
1answer
833 views

yum/rpm Failed to initialize NSS library in chroot

I am performing a yum update from CentOS 7.4 to CentOS 7.5, when nspr and nss soft-softoken receive the updates, I am left with the following error: yum update nspr error: Failed to initialize NSS ...
0
votes
1answer
173 views

How to install YUM with CentOS with conflicting python versions?

I have been searching all over the internet for the instructions to install yum on CentOS. I haven't been able to find a single helpful source as all the links to yum packages are not working. Why ...
0
votes
0answers
256 views

PostgreSQL installation on an internal cloud instance with severely limited network access

I am running into a "I'm sure there's a better way" problem here: I am trying to get postgresql running on a cloud instance. This cloud instance is in our internal network. It cannot access ...
0
votes
0answers
25 views

local repository redhat and Centos

I like to setup local repository redhat and Centos. The behavior will be something like WSUS in Windows server. The idea is that those linux servers in DMZ, will only reach to this server when do yum ...
2
votes
1answer
105 views

Why is my 64-bit system downloading redundant 32 and 64 bit versions during update?

I'm unable to complete yum update, and if I'm reading this correctly my system thinks it's both 32 and 64 bit. ... ---> Package librevenge.x86_64 0:0.0.2-2.el7 will be installed ---> Package ...
0
votes
1answer
378 views

Unable to Install PHPMyAdmin on CentOS 6

I am attempting to update all my software on my CentOS 6 Server. I have updated from PHP 5.6 to PHP 7.2 and now trying to install PHPMyAdmin 4.8 but I am getting an error when running the yum command. ...
0
votes
2answers
68 views

No pg_conftool on Centos 7?

I'm adapting scripts that configure PostgreSQL 9.6 and 10.x on Ubuntu 16.04 to also work on Centos 7.4. I'm missing the pg_conftool utility which allows me to identify and modify aspects of the ...
1
vote
2answers
61 views

yum dependency resolution not working

I've got a chef recipe to bootstrap some worker nodes that I've been using for quite some time, and for the first time in a while I needed to increase the size of my worker pool, but found that the ...
3
votes
3answers
182 views

RPM package dependencies

I modified the .spec file from a source RPM available in the EPEL repository. # yumdownloader pjproject # yumdownloader --source pjproject # diff -u pjproject.spec{.orig,} --- pjproject.spec.orig ...
0
votes
1answer
143 views

I can't connect to my AWS server after yum update on centOS 7

I created a new server (EC2) with centOS 7, and after the first "yum update" and a reboot I can't connect anymore. =====================================================================================...
0
votes
0answers
66 views

Package dependency issue, not sure safest way to proceed

I am running into a package dependency issue. Can someone help make sense of how to resolve this? Q What steps do i need to take when it says Requires: zfs-kmod = 0.7.7 Available: kmod-...
0
votes
0answers
305 views

Why is php-zip missing from Amazon Linux 2 ? How do I fix this so I can install moodle

I have a new Amazon Linux 2 server running nginx and php-fpm but when I try to install moodle I get this error: The Zip PHP extension is now required by Moodle, info-ZIP binaries or PclZip library ...
0
votes
1answer
100 views

Error when trying to update samba4 with available packages

In our production environment, I need to apply a security patch by updating with the latest samba4 packages. On a centOS 6 build. I know there is available packages for samba4 when I do (yum info ...
0
votes
1answer
309 views

Unable to Update Chromedriver on Centos 7

I have chromedriver installed via yum using the below setup. Chromedriver still shows up as version 2.30 whereas the latest version available is 2.36, is there any way to check what version is in the ...
0
votes
0answers
121 views

Having trouble updgraring mysql (Obsoleted By: Percona … )

I'm trying to upgrage mysql 5.1 to 5.5. Following this link step by step : https://www.zerostopbits.com/how-to-upgrade-mysql-5-1-to-mysql-5-5-on-centos-6-7/ But yum -y update mysql* gives me errorrs....
0
votes
1answer
1k views

CentOS 7 httpd modules missing

Finally I decided to migrate CentOS 5 to 7 but I can't get the httpd modules from yum or within the server. I read that we can't blindly use apache 2.2 config with 2.4 and module names might been ...
1
vote
2answers
664 views

How to remove a yum repo GPG key?

I have a custom RPM repo in Artifactory, and GPG signing keys were recently enabled. When I ran sudo yum check-updates I was prompted to add the key: Retrieving key from https://artifactory.example....
0
votes
2answers
109 views

Yum repo autorefresh setting

Following Sonatype's documentation for Nexus 2 and Yum repositories for many years, I've faithfully added: autorefresh=1 to my Yum repos. However, looking at the man page for yum.conf on RHEL 7, 6 ...
0
votes
1answer
342 views

How to resolve yum install mod_php71u conflict?

When I run the command yum install mod_php71u I get the following message: Error: httpd24u-tools conflicts with httpd-tools-2.2.15-60.el6.centos.6.x86_64 Error: httpd24u conflicts with httpd-2.2.15-...
1
vote
1answer
531 views

How to get installed unbuffer on centos?

$ unbuffer -bash: unbuffer: command not found Centos 7.x How to install it by using yum? yum install unbuffer doesn't work.
0
votes
1answer
144 views

How can i make a Mirror for RHEL 6 and 7 Repositories using Amazon ec2 Image

Since spacewalk does not support Red Hat Enterprise Linux is it possible to use Amazon Linux AMI ( which supports RHEL yum updates ) and use that as a proxy or mirror to re-distribute yum updates? or ...
0
votes
3answers
187 views

Revert back yum update

I have recently tried to yum install a package, along which it updated (automatically) update httpd, httpd-devel, httpd-tools packages I don't wish to update. Reason being these were custom packages. ...