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

Questions tagged [yum]

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

0
votes
0answers
25 views

`wc` holding yum lock for over 2 days

I just logged onto a server that hasn't been logged into for two months (August 2nd). When I did yum remove google-authenticator, I got: Existing lock /var/run/yum.pid: another copy is running as pid ...
0
votes
2answers
40 views

IUS not pulling latest PHP packages

I have a RHEL 7 64 bit machine that that IUS installed on it. We are trying to get the latest hotfix version of php 7.1. The version I am trying to download is 7.1.22, and we are on 7.1.21. I have ...
1
vote
1answer
57 views

How to disable Amazon EC2 instance yum automatic nightly check-update?

A server running on my EC2 instance (Amazon Linux AMI) falls over every night. I watched processes and this happens, every time, minutes after this command runs: /usr/bin/python2.7 /usr/bin/yum --...
0
votes
1answer
29 views

Install and Set Up kubectl - Kubernetes

I'm trying to follow Install and Set Up kubectl - Kubernetes, yet keep getting an error: # yum --quiet install kubectl https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/...
0
votes
1answer
32 views

Red Hat 7.5 yum reposync error

I am trying to updating my packages by using the command, reposync which download from the RHN (Red Hat Network). So I create a local mirror of the latest update for Red Hat Enterprise Linux 5, 7.5. ...
0
votes
1answer
29 views

How can I make rpm -q --whatprovides see the same libraries as yum provides?

For context, I'm trying to set up a Chef script that calls out to a third-party installer. In the third-party installer is this function: isLibbz() { rpm -q --whatprovides libbz2.so.1 >/dev/...
2
votes
1answer
47 views

Where to download MariaDB 10.3 over IPv6?

CentOS 7 server with only IPv6. When I try to use, [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.3/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 It ...
0
votes
1answer
45 views

/etc/services file accidentally deleted on Amazon Linux EC2 instance

I accidentally deleted /etc/services file from my ec2 instance on AWS running Amazon Linux. How can I restore this file? In Ubuntu, I found out that this can be done using netbase package, how can ...
0
votes
1answer
23 views

Can't see files when browsing nginx webserver. Incorrect permissions?

I am using centos 7 with nginx 1.12 to host a yum repository locally. When I try to browser the files via the browser, I can see the folders, but no files inside them. Im wondering if i might not have ...
0
votes
0answers
8 views

Can artifactory update a repository from a mirror list automatically?

Can Artifactory support using a mirror list to find most up to date mirror? Amazon linux updates their mirror list periodically to a new location (probably within an s3 bucket) with a long sha id. ...
0
votes
0answers
21 views

Unable to install any packages even after enabling remi or adding other mirrors

I'm trying to install the php-xml package. I've tried various solutions and contacted support about this issue yet the following still prompts whenever i'm trying to install the php-xml package. My ...
0
votes
0answers
85 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
39 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
137 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
69 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
78 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
19 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
509 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
91 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
77 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
74 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 ...
1
vote
4answers
917 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
275 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
51 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
69 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
125 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
172 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
163 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
466 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
606 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
32 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
688 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
74 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
416 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
104 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
148 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
139 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
290 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
1k 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
298 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
260 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
27 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
123 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
499 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
84 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
88 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
205 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
163 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
84 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-...