Questions tagged [yum]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

Upating centos using yum

I am trying to update my system, been looking but cannot find any solution to my problem. When I execute yum update I am getting following error Loaded plugins: fastestmirror, rhnplugin There was an ...
Syed Rizwan Ali's user avatar
0 votes
2 answers
940 views

yum update fails: _rpm.error: invalid header data

I am trying to update a package, but it fails with what appears to be a rpm database error - is there a way to repair this? bash-4.2# yum update icinga2 ... Transaction test succeeded Running ...
j4nd3r53n's user avatar
  • 236
-1 votes
1 answer
234 views

how to download ERRATA by yum without to install it

by this example we can install the errata yum update --advisory=RHBA-2016:0694 but is it possible just to download the errata to local folder? we just want to download the rpm's , without to ...
shalom's user avatar
  • 501
1 vote
2 answers
2k views

Can't install Mysql on Linux -- Mysql website failing?

I'm attempting to install mysql on Amazon Linux 2. I followed the instructions in the first answer here: amazon linux 2 ami - aws - How to install mysql in Amazon Linux 2? When I type: sudo yum ...
Shef's user avatar
  • 253
1 vote
0 answers
326 views

Spacewalk Clients Not Running Yum Updates

The clients registered with my spacewalk server report needing updates but when I schedule a event to update the packages on the clients they never perform the update. The little clock icon appears on ...
jrd1989's user avatar
  • 688
3 votes
3 answers
5k views

RHEL7 -- install NodeJS 10?

I've followed the instructions shown at the links below, but I cannot get NodeJS v10 installed on RHEL7. curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash - yum install nodejs I am ...
Josh M.'s user avatar
  • 688
2 votes
1 answer
4k views

reposync/createrepo or rsync for mirroring a yum repository?

In the redhat docs there is this howto https://access.redhat.com/solutions/23016 It uses reposync and createrepo to mirror a repository server. But you can also use rsync to just mirror the whole ...
High Ball's user avatar
  • 488
1 vote
0 answers
1k views

yum-cron Job 'cron.daily' locked by another anacron

We have a number of machines using yum-cron and an internal mirror server to keep up-to-date. Some of them will send an email letting us know the updates will be (have been) applied but don't receive ...
Johnny Doe's user avatar
0 votes
1 answer
63 views

Is it possible to mirror packages from packager.io?

Is it possible to mirror packages from packager.io[0] to an internal yum repository server/mirror? [0] http://packager.io/
High Ball's user avatar
  • 488
2 votes
2 answers
800 views

How do I install RPMs on a machine that is completely isolated?

So I have a single machine on which I have installed CentOS Minimal and nothing more. It is completely isolated. This means the following: It can never be connected to another server or laptop The ...
Christoffer Reijer's user avatar
0 votes
1 answer
302 views

Get a rpm subpackage to be installed with an update

As part of my internship task, I've to deploy OpenVPN clients on around 60-70 client devices that run CentOS (which reside on private networks and cannot be accessed directly). I'm quite new to ...
Akhil's user avatar
  • 101
2 votes
2 answers
3k views

Yum doesn't recognize installed dependency version

I'm trying to install gcc-c++ on CentOS 7.6.1810. This is the error output: Error: Package: glibc-2.17-260.el7.i686 (centos_7_x64_32) Requires: glibc-common = 2.17-260.el7 Installed: glibc-...
Furgas's user avatar
  • 163
3 votes
1 answer
9k views

yum : Installing openvpn on centos not available

I just installed a centos version on AWS. But I am not able to install openvpn. When I try: sudo yum -y install openvpn I get this error message: Geladene Plugins: fastestmirror Loading mirror ...
toom's user avatar
  • 227
3 votes
3 answers
10k views

How to remove package from rpm database

I have a Centos 6 server that I accidentally added a RHEL 7 package to it's rpm database. Added wrong package sudo rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7....
Roy Hinkley's user avatar
1 vote
1 answer
2k views

EC2 yum sometimes not working User Data

I'm having such a weird behaviour with my EC2 lately. Sometimes (not all the times), when my autoscaling group create a new EC2, the EC2 cannot run its User Data because yum is broken, and can't fetch ...
HypnoZ's user avatar
  • 11
0 votes
1 answer
2k views

How to install libsrtp 1.5 on Centos 7?

yum install libsrtp Gives me v 1.4.4-10 How can I force install the >=1.5 version instead ?
yarek's user avatar
  • 847
3 votes
0 answers
6k views

yum priority plugin does not allow to install package

I want to enable priority plugin for yum which is called yum-plugin-priorities. After that I enable and install that plugin I see that plugin is working but behavior is weird. Even I know package is ...
itirazimvar's user avatar
0 votes
1 answer
301 views

Error: Package: libmemcached-opt-libs Requires: libevent2

When I try to run yum update it says libmemcached-opt-libs requires libevent2 but I couldn't find how to install libevent2. When I try yum install libevent2 I get No package libevent2 available ...
freedom_mine's user avatar
1 vote
0 answers
920 views

error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename

I'm working on an old server of mine. I'm trying to run yum update and there seems to be an issue. So far, I've tried setting that log directory to 777 and same with the 2 log files within it. That ...
User's user avatar
  • 1,405
1 vote
0 answers
2k views

how does yum use the baseurl in the repo file?

I'm trying to mirror a rhel yum repo that has arrived on a box by satellite. reposync is failing (gpg check?) and I wanted to test things. The repo config says the baseurl is something like: https://...
nic ferrier's user avatar
0 votes
0 answers
737 views

install libdb-devel on centos 6

I need to install libdb-devel on a Centos 6 to compile my program. I managed to find it here, but I cannot install it as there is some conflict with an already installed db4-devel package ...
Laetan's user avatar
  • 101
0 votes
1 answer
545 views

Offline installation ImageMagick

I am trying to install ImageMagick into a RedHat 7 which is offline. To do so, I've downloaded ImageMagick RPM along with it's dependencies using : repotrack -p . ImageMagick but also tried with ...
Orelsanpls's user avatar
1 vote
0 answers
500 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 ...
Jchieppa's user avatar
  • 168
2 votes
2 answers
8k views

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....
userlond's user avatar
0 votes
1 answer
4k 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-...
ted's user avatar
  • 363
4 votes
1 answer
11k 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:...
Rauli Rajande's user avatar
2 votes
3 answers
1k 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 ...
Ring's user avatar
  • 145
-1 votes
1 answer
664 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?.
Muthu's user avatar
  • 3
0 votes
1 answer
284 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....
Clyde's user avatar
  • 105
0 votes
0 answers
180 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....
DavSev's user avatar
  • 159
0 votes
1 answer
35 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 ...
jjei's user avatar
  • 103
33 votes
2 answers
88k 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/...
boardrider's user avatar
0 votes
0 answers
219 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 ...
sfxworks's user avatar
  • 157
0 votes
1 answer
3k 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 ...
tip2tail's user avatar
  • 103
0 votes
2 answers
382 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 ...
Ahmad Al-Mutawa's user avatar
0 votes
1 answer
341 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: ---> ...
lokisapocalypse's user avatar
0 votes
1 answer
213 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-...
Yehuda Clinton's user avatar
1 vote
0 answers
316 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 ...
imbtfab's user avatar
  • 111
0 votes
0 answers
68 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 ...
William's user avatar
  • 266
-1 votes
2 answers
1k 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 ...
user1210304's user avatar
7 votes
1 answer
6k 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 --...
haelix's user avatar
  • 217
1 vote
3 answers
4k 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/...
alexus's user avatar
  • 13.4k
0 votes
4 answers
2k 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. ...
Abdullah Naina's user avatar
1 vote
1 answer
555 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/...
Alex H.'s user avatar
  • 111
2 votes
1 answer
186 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 ...
user1155594's user avatar
0 votes
1 answer
274 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 ...
Mandeep Singh's user avatar
0 votes
1 answer
2k 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 ...
Wings's user avatar
  • 105
0 votes
0 answers
156 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 ...
RDAxRoadkill's user avatar
1 vote
0 answers
10k 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 ...
James John McGuire 'Jahmic''s user avatar
-2 votes
2 answers
1k 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 ...
Aso'K's user avatar
  • 21

1
3 4
5
6 7
30