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
15 views

Centos 7.3x & 7.4x VM's fail to bringup login service and network manager after a yum update and restart

I'm running into an odd problem that I've never encountered before. On any of our Centos 7.3x or 7.4x after I do a yum update and restart the VM will eventually come back up, but hangs during the ...
2
votes
2answers
112 views
+100

Yum can't add rpm repository via yum install command

I have CentOS Linux release 7.4.1708 Linux distro. I need to install some package. The first command to execute is to add repoistory: yum install https://extras.getpagespeed.com/release-el7-latest....
-1
votes
0answers
30 views

Unable to yum update to latest package, the required package version does not exist

When I run yum -y update, I get the following error: Error: Package: subscription-manager-1.21.10-2.el7.x86_64 (rhui-rhel-7-server-rhui-extras-rpms) Requires: python-dmidecode >= 3.12.2-...
0
votes
1answer
67 views

Yum update unable to find package, that is in repo list

When trying to run sudo yum update I get --> Finished Dependency Resolution Error: Package: cinnamon-3.6.7-3.el7.x86_64 (@epel) Requires: caribou(x86-64) Removing: caribou-...
1
vote
1answer
99 views

PHP 7.2 yum installation on Centos 7 misses libargon2.so

Command: yum install php php-cli php-gd php-curl php-mysql php-zip php-fileinfo php-mbstring Gives following error: Error: Package: php-cli-7.2.12-1.el7.remi.x86_64 (remi-php72) Requires:...
0
votes
2answers
23 views

How does yum-cron send emails from localhost?

I have an amazon linux 2 server running in the aws cloud and I have yum-cron running on it. I have an email domain mydomain.com which is running on a separate server in a completely different cloud ...
-1
votes
1answer
39 views

How to upgrade to Centos 7.3 to CentOS 7.5.x?

I need to update my VM to CentOS 7.3 to 7.5. What is the standard procedure to upgrade the server?.
0
votes
1answer
38 views

Errors on yum.cron.hourly.conf in new Centos install

I have a VPS with a fresh Centos 7 install, and am getting mail from Cron with these errors: ConfigParser.MissingSectionHeaderError: File contains no section headers. file: /etc/yum/yum-cron-hourly....
0
votes
0answers
9 views

How to manualy update Commons.FileUpload in centos7

I have to update the Commons.FileUpload installation in m,y server due a risk issue that was found in version 1.3.2. I saw that wersion 1.3.3 is avilable for download in here: http://commons.apache....
0
votes
0answers
12 views

How to know which Commons.FileUpload is installed in centos 7 server

I have a few Linux servers using CentOs 7. I heard that there is a security issue with Commons FileUpload version below 1.3.3 How can I check which version is installed in my server if any. Thank I ...
0
votes
1answer
11 views

Why there seems to be unrelated packages when running yum install nodejs?

When running yum install nodejs on Centos 7.4 I see a lot of packages that to my knowledge has nothing to do with nodejs. Here is part of the list of the packages yum downloads: nginx ...
-1
votes
0answers
28 views

Redhat Enterprise linux and subscription manager register after unregister (no username/password)

I have a The board (bought from Intel) that came with Redhat Enterprise Linux installed and was working all fine. Accidentally, I have run the following command: $ sudo subscription-manager ...
8
votes
1answer
326 views

What's the difference between `yum install <local path>` and `yum localinstall <local path>`

If I have an RPM located on a local disk - what is the diffrefence between the following yum commands? sudo yum install /tmp/rpm_name.rpm sudo yum localinstall /tmp/rpm_name.rpm Note: I use RedHat/...
0
votes
0answers
29 views

Trying to Packstack. Don't have Extras

So I want to Pack-stack. Proof of concept cloud. Following this guide https://www.rdoproject.org/install/packstack/ Build for Centos 7. I have this. [root@tbgn ~]# cat /etc/redhat-release CentOS ...
0
votes
0answers
7 views

Unexpected behavior of yum mirror bandwidth option

I was trying to use bandwidth and throttle option in yum conf Resource referred: https://linux.die.net/man/5/yum.conf Desired behavior was to throttle the package download limit to 1MBps which was ...
0
votes
1answer
68 views

Cannot find php-fpm to for PHP 7.2 to install on Centos 7.5

Have created a new VM server for a project, it is running Centos 7.5. After following a large number of different articles online to try and get nginx and PHP 7.2 running on this box I cannot get the ...
0
votes
0answers
157 views

Failed to initialize NSS library Centos7

Yum, command not working on centos7. My ssh connection was stopped during yum update. After that, I faced this issue. > error: Failed to initialize NSS library There was a problem importing > ...
0
votes
2answers
35 views

How can I install VNC Server on Red Hat 7.2 that is not connected to the internet?

I have a 64-bit Red Hat 7.2 server that is isolated from the Internet. I am able to SSH to it easily, as well as transfer files using USB. I downloaded VNC-Server-5.0.5-Linux-x64.rpm and tried to ...
0
votes
1answer
43 views

Cannot install python-libs package on AWS

I have been using certbot to renew my ssl certificates. I've run in to an issue recently where execution of this script fails, even with the latest version. I am given the following error: ---> ...
0
votes
1answer
51 views

lost all data with yum erase yum-plugin-priorities

I was trying to install phpmyadmin on amazonlinux ec2 but i was getting this error: "packages excluded due to repository priority protections" so end up trying sudo running yum erase yum-plugin-...
0
votes
0answers
37 views

How to query custom installed rpm package

Generally, if I need to query an rpm based package I use following commands: rpm -qi package rpm -ql package # to get installed binaries of package rpm -qf path to binary # to get related package ...
1
vote
0answers
23 views

Tunneling on Linux through VPN on windows host for yum

I need to upgrade and install some yum packages on remote server without internet access that's only accessible with a VPN client on a Windows host. Once this VPN connection is established the Windows ...
0
votes
0answers
27 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
51 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
101 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
131 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
86 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
39 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
59 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
46 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
27 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
9 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
23 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
173 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
72 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
250 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
98 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
129 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
21 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
795 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
98 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
123 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
21 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
108 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
2k 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
457 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
64 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
124 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
159 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
292 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 ...