Questions tagged [yum]
YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.
1,469
questions
0
votes
2
answers
2k
views
CentOS working with older repos
I often find with CentOS that I find a reference to a package on the internet and it the pages says "this package is available in the repo", so then I do sudo yum install (as I know that I ...
1
vote
2
answers
5k
views
MySQL installation on centOS fails - dependency issues
I tried to install mysql on centOS following this digital ocean guide.
I ran the following commands;
wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm
md5sum mysql80-community-...
0
votes
1
answer
1k
views
CentOS 7 yum "database is locked"
Today I wanted to install another PHP-Extension to my virtual server with "yum install php-mbstring" and ran into an error. It said: "database is locked". I already searched alot ...
1
vote
1
answer
1k
views
How to get expiry date for yum repo signing keys
I recently had a package signing key expire preventing some automatic updates from installing so am now setting up monitoring to make sure we are alerted if this happens again.
On Debian systems I can ...
0
votes
2
answers
4k
views
Unable to install package via yum while using a docker container
I have been working on this project forever, every anomaly has been rectified, the only thing remaining appears to be a docker limitation but I'm still going to try my luck here, in case there's ...
1
vote
1
answer
2k
views
Yum update fails inside CentOS 7 Docker in the UK, works elsewhere
When attempting to run yum update inside the stock CentOS 7 Docker container it fails with One of the configured repositories failed (Unknown):
$ docker run --rm -it centos:centos7.8.2003
# yum ...
0
votes
2
answers
598
views
I cannot add Centos 7 repository to install FFMPEG
When trying to use this command to add ffmpeg repository in Centos 7, I tried to add the repository using this command:
yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-...
2
votes
2
answers
2k
views
Red Hat - Berkeley DB library - Corrupted DB
I am getting the below errors while executing the yum or rpm command.
error: rpmdb: BDB0113 Thread/process 22448/139817567954752 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-...
0
votes
1
answer
1k
views
Conflicting HTTPD and HTTPD24 files when running yum update prevents update
Similar conflict issues
The files that are experiencing conflict issues are almost all the same as the ones in the link above. However, I am not trying to install php56w...etc like the person who ...
0
votes
1
answer
503
views
Possible to yum install mysql without root access?
I need to set up a mysql client on CentOS, and usually do this with:
[pd@l01 ~]$ yum install mysql
You need to be root to perform this command.
However, I don't have root and I cannot sudo. is it ...
0
votes
1
answer
449
views
Issues Upgrading httpd from 2.4.37 to 2.4.46
I removed httpd 2.4.37 and tried to install 2.4.46 from raven-extras repo but the package is not showing it just says the following
All matches were filtered out by modular filtering for argument: ...
3
votes
1
answer
3k
views
YUM local install dependencies
I have a machine that has no internet access. I am trying to install just the basic MySQL client in order to connect to a MySQL database on another machine that also has no internet access. I can ...
0
votes
1
answer
3k
views
Unable to use YUM. RHEL 8.2 server hosted in Azure
I have a Red Hat server hosted in Azure and when I try to use yum to install software or do a system update I get the below error,
Errors during downloading metadata for repository 'rhui-rhel-8-for-...
0
votes
1
answer
364
views
Accidently deleted opt/ folder missing lib librh-php72-php7.so
I accidentally deleted my opt folder. By reinstalling the missing software, i get most of the stuff running. However /opt/rh/httpd24/root/etc/httpd/modules/librh-php72-php7.so is still missing for ...
1
vote
2
answers
23k
views
YUM command failed with [Errno 14] curl#60 - “SSL certificate : unable to get local issuer certificate” in REDHAT
i'm getting an error [Errno 14] curl#60 - "SSL certificate problem: unable to get local issuer certificate" when i use yum command to install or update any package.
Ex:
yum install curl
...
2
votes
1
answer
2k
views
Yum: Can a package have a alias or short name?
I have installed yum package "mysql" previously using :
yum install mysql
However when I try and list installed packages using filter:
yum list install *mysql"
It shows nothing but ...
0
votes
2
answers
2k
views
yum update doesn't update the package [duplicate]
I'm on RHEL 7. Security team suggested me to update curl and dbus packages. When I try yum update , it says
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This ...
1
vote
1
answer
8k
views
How to fix this yum dependency requirement and install python?
bash-4.2# yum install openscap-containers
Resolving Dependencies
--> Running transaction check
---> Package openscap-containers.noarch 0:1.3.3-1.el7 will be installed
--> Processing ...
2
votes
0
answers
725
views
Set YUM versionlock, but allow updating to specific versions
I am trying to control the version of puppet agent installed on our RedHat systems.
Our Puppet manifest has
$puppet_version = hiera('profile::puppet_agent::version', '6.12.0')
class {'::puppet_agent':...
3
votes
1
answer
9k
views
failed loading custom repository config /etc/yum.repos.d/kubernetes.repo in CentOS 8
I am add a custom repository config in CentOS 8 like this in my kvm virtual machine like this:
[root@localhost ~]# cat /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=http:...
0
votes
0
answers
461
views
Client machine unable to connect to the local ftp repository server. Writes an error: Failed to synchronize cache for repo '***', ignoring this repo
Please help me to understand where I was wrong, because I've read a lot of articles also I've seen lot's of Youtube videos, but all the time in the end I've got the same error result.
So, on my ...
0
votes
2
answers
2k
views
Cannot yum install vdo kmod-kvdo
I am trying to install kmod-kvdo and vdo but I get these errors.
yum install vdo
Loaded plugins: fastestmirror, langpacks, openvz, priorities
Loading mirror speeds from cached hostfile
epel/x86_64/...
0
votes
1
answer
3k
views
Ansible:Failed to synchronize cache for repo 'AppStream', ignoring this repo. Failed to synchronize cache for repo 'BaseOS', ignoring this repo
I'm new to Ansible, so any advice would be appreciated.
I'm using ansible 2.9.10.
First of all
On my control node, I've created a playbook, in which I set up the control host as a repository host: the ...
1
vote
2
answers
966
views
Installation OpenLiteSpeed Web Server on Amazon Linux (RHEL)
I'm just trying to install OLS on my Amazon Linux 2 instance, but i received errors at first and all last steps. Here is the explaination about:
When i added recommended by guide repository, i ...
2
votes
2
answers
1k
views
exclude i686 packages in yum.conf
I'm trying to exclude *.i686 packages from installing when I try to install the x86_64 version of libcrypto.so.10.
If I put any of the following (one at a time) into my /etc/yum.conf under [main]:
...
2
votes
1
answer
1k
views
Can't install certbot on an Amazon Linux 2 EC2 instance
I set up Amazon Linux AMI EC2 instance via ECS (elastic container service).
It seems like by default it doesn't have that many packages installed.
When I'm trying to install certbot using the command:
...
1
vote
0
answers
1k
views
How do I resolve this dependency resolution error in yum?
When I run yum update, after dependency resolution I get the following error:
--> Finished Dependency Resolution
Error: Package: php71w-pecl-imagick-3.4.3-1.w7.x86_64 (@webtatic)
...
1
vote
1
answer
2k
views
Understanding and resolving dependencies on Centos 7
I've resolved many dependencies problems in many years as hobbyist administrator: I just removed some package until the whole thing get resolved or (if the consequences would have been to big) waited ...
3
votes
3
answers
5k
views
All Yum mirrors failing with [Errno -1] repomd.xml does not match metalink
jq install is failing intermittently with this error.
http://mirrors.syringanetworks.net/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
https://...
1
vote
2
answers
5k
views
package already installed but rpm -q shows not installed
I have installed package python2-urllib3-1.10.2-7.el7.noarch on my RHEL 7.7 server using yum:
yum install python2-urllib3
and it is successfully installed.
now when I run rpm -q python2-urllib3 it ...
0
votes
1
answer
922
views
Fixing botched yum update: cannot remove duplicates
I was performing a routine yum update when it starting throwing a stream of 'non-fatal' errors. It was complaining the machine had run out of memory. Nevertheless, yum didn't find it necessary to stop ...
0
votes
1
answer
325
views
Rollback Yum machine to historical state, ignoring "obsoletes"
I have a large number of stateful servers that use Yum for package management. I am interested in a general automatic process for rolling them back to a historical state.
Usually, enabling the ...
2
votes
1
answer
4k
views
Why isn't repository priority working in yum/dnf in Centos 8?
I'm trying to install a MariaDB RPM provided by MariaDB, not Centos. Since DNF natively supports priority, that should be as simple as creating a .repo file similar to:
[MariaDB]
name=The MariaDB 10....
1
vote
0
answers
202
views
What is the differences between to install docker-compose by binary or by pip install
We have two option that we can use in order to install the docker-compose
We already installed docker , and now we want to install docker compose on production environment
One option is by binary ...
0
votes
0
answers
2k
views
I can't install packages using yum [Errno 5] [Errno 13] Permission denied
I cannot install git package on server. Below is the output of yum command:
[root@sbybz221033 ~]# yum update git
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-...
1
vote
1
answer
6k
views
How to install AWX on RHEL 7 without Docker?
When I follow this guide to install AWX on RHEL without docker: http://yallalabs.com/devops/how-to-install-ansible-awx-without-docker-centos-7-rhel-7/
https://copr.fedorainfracloud.org/coprs/mrmeee/...
0
votes
1
answer
825
views
How to list packages needing update in format for `yum update-to`
How can I get a space-separated list of the packages with pending updates on CentOS7 in the format that is required for passing as an argument to the yum update-to command?
I want to update all the ...
0
votes
1
answer
649
views
tried php install and show error packcage php-7.3.17-1.el7.remi.x86_64 (remi-php73)
I tried 「sudo yum --enablerepo=remi-php73 install php-pdo php-mysql」in vagrant and show
Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
error: package: php-7.3.17-1.el7.remi.x86_64 (...
0
votes
1
answer
422
views
Do I need to run yum update in fresh centos 7
Him guys.
Im used to run yum update when begin working on fresh centos servers.
Im working on a dedicated machine for cacti.
Should I install cacti and then run yum update ? or before install cacti or ...
0
votes
1
answer
112
views
Name of missing screenshot rpm for CentOS 7.6 and how to find out
I'm using a CentOS Linux release 7.6.1810 (Core) instance that was stripped down to run off a thumb drive. Now I just need to capture a window.
My question is what yum install command would get me ...
0
votes
1
answer
5k
views
Why do I get an curl error while executing yum update
I'm working in a lab. There are many windows-PCs in this lab and I'm using one of them.
There is also a proxy server, which allows all of PCs to be able to connect to the Internet.
Now, I have a Red ...
0
votes
1
answer
3k
views
How to install Node.js 12 on CentOS 8?
I tried the following this post which states
Application Streams are typically named for the version of the software that is included, e.g. nodejs:8 or nodejs:10 [...]
... but as you can see ...
0
votes
1
answer
503
views
Will dnf-automatic update packages in yum.repos.d even though that's a yum directory?
Environment: CentOS 8
Package: NGINX 1.16
I installed, enabled and confirmed dnf-automatic with the following commands.
$ sudo dnf install dnf-automatic
$ sudo systemctl enable --now dnf-automatic....
8
votes
6
answers
122k
views
Yum on Centos 8 - Failed to download metadata for repo 'AppStream'
I'm on a fresh Centos 8 install and have tried to use yum for the first time (on this machine). I get the following for any attempt to install or update anything:
yum update
CentOS-8 - AppStream ...
0
votes
0
answers
68
views
Why enable a yum repo it isn't permanent
I'm new in Centos (7) distrib (I come from debian) and I don't understand something.
Why when I try to enable a repo, this is not permanent ? I mean, when I reboot the server, the yum update doesn't ...
0
votes
0
answers
197
views
Solved: Yum install of perl engages in circular logic
Edit: I'm an idiot and forgot to use createrepo and update the repodata, so the dependencies were not found on the repo.
Mystery solved.
Bit of an odd one.
I'm attempting to install perl on a Redhat ...
1
vote
1
answer
485
views
Block yum from installing or updating a package (mariadb) in future
We've just set up a Centos 8 server, and had to install MySQL on there instead whilst migrating services for the time.
All is working, we've removed MariaDB and MySQL is working fine.
What I would ...
1
vote
1
answer
267
views
Determining fully (or sufficiently) qualified rpm package name from short name
Yum has some sort of built-in "semantic sugar" which does a translation of short-hand package names to actual package names, but I can't figure out how to easily get a hold of it.
Here's a simple ...
0
votes
1
answer
5k
views
How to update yum repositories to fetch newer versions of nodejs and related ones in CentOS 7?
I'd like to update certain packages.
The latest versions are not presented.
$ sudo yum list nodejs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos1.hti.pl
* ...
0
votes
1
answer
881
views
centos7 can't install lftp
I am trying to install lftp on my centos 7 server to mirror the content of directory in my old server, but yum install says No package lftp available.
I am a noobie ... I know that I should add the ...