Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
417 views

openssl can be found by yum but can't be found by pkg-config

I found openssl is already installed on my server # yum list installed | grep openssl openssl.x86_64 1:1.0.2k-26.el7_9 @updates openssl-libs.x86_64 ...
calvin's user avatar
  • 103
0 votes
1 answer
295 views

Yum command to find files that an RPM will deploy

On Ubuntu/Debian you can run apt-file list nginx-core and you will get a list of all the files that a package will deploy when installed. How can I achieve this in RHEL with the yum command ? The ...
Subzero123's user avatar
1 vote
0 answers
433 views

Centos 7 CVE-2022-42920 missing security update

Since a couple of months we are using a vulnerability scanner (Rapid 7) which is complaining about the bcel package being vulnerable. Red Hat released an update package, but hasn't found it's way to ...
Hans Blaauw's user avatar
1 vote
1 answer
2k views

Using both baseurl and mirrorlist in yum.repo

I want to cache RPM packets in my Nexus Repository. In repo file on client side I have two lines, both uncommented: baseurl=http://nexus-ip/repository/bts-nexus-almalinux-base/$releasever/BaseOS/$...
Eric S's user avatar
  • 11
0 votes
2 answers
23k views

How to force install an rpm?

I have a gitlab pipeline where I will be installing latest rpm everytime. Some times, even if the target machine is changed manually, the rpm should be installed successfully. But some how I am ...
Kalel's user avatar
  • 254
0 votes
1 answer
59 views

How to deduce remote location of RPM that has been installed?

Suppose I had the following entries in /var/log/dnf.log: elfutils-default-yama-scope noarch 0.185-1.el8 baseos 49 k elfutils-devel ...
Lucky's user avatar
  • 113
0 votes
0 answers
382 views

Long-overdue "yum update" has multiple "requires" errors

After much neglect of my VPS (currently running CentOS 7.4.1708), I tried to run yum update, but after a long list of "Processing Dependency..." lines, the end of the output looked like this:...
OsakaWebbie's user avatar
5 votes
2 answers
20k views

Failing to run yum update in CentOS 8

I want to preface this post with this disclaimer: I am somewhat unfamiliar with how yum functions and I am also unfamiliar with the details of the changes that are required since CentOS 8 became EOL. ...
ground_beef_n_stuff's user avatar
2 votes
3 answers
10k views

CentOS 9 Stream - errors doing yum update

I'm coming in from using Ubuntu. Just installed CentOS on my DEV server and right away having issues just doing an update or installing new packages. Here is the error: sudo yum update Last metadata ...
Kalvin Klien's user avatar
3 votes
2 answers
5k views

How do I update a very old CentOS release (6.2) where yum won't work at all because of outdated openssl certificates?

I have an old CentOS 6.2 machine and need to update a few packages on it (or many packages, I suppose). However I can't do anything with yum because even after changing the repos to vault.centos.org, ...
WackGet's user avatar
  • 227
1 vote
1 answer
703 views

yum not updating dependency during install

I have a situation where my-software requires my-common via: Requires: my-common >= 1.2.0 During yum update my-software, my-common is not upgraded, and is left at version 0.0.1. Why is yum not ...
Josh M.'s user avatar
  • 688
0 votes
0 answers
1k views

RPM failed dependency that's already installed

We have an old dev server for Centos 6 I want to update Openssl to a modified version 1.0.2k (we have got a C8 server to replace it, but trying to update the old one in the interim). I have built the ...
Ian's user avatar
  • 193
2 votes
1 answer
350 views

CentOS yum-cron updates stability

I have a CMS website that I'm taking over hosting that has been set up with CentOS 7.9. It is running on the VM and I want to keep that VM up to date with minimal manual intervention. I have done a ...
kos's user avatar
  • 166
0 votes
1 answer
876 views

How to remove git from a specific folder?

I have a CentOS 7 system. It has git 2.27.0 installed, but that install, for reasons we can't figure out, won't talk to our https gitlab instance. It keeps failing on "unable to find remote ...
user3224303's user avatar
0 votes
0 answers
286 views

Create local yum repository for a package which is available on http

I am trying to create local yum repo for packages. I have followed steps here to create the repo: https://phoenixnap.com/kb/create-local-yum-repository-centos But now, I want to create repo for a ...
kaounKaoun's user avatar
0 votes
1 answer
544 views

Need to add older version of IUS repo in order to install specific PHP 7.2 packages

The Issue: Without unnecessary detail, I have two servers that are nearly identical. However one has its yum repos configured such that php 7.2 packages imagick and sodium are available for install, ...
twhitney's user avatar
  • 133
1 vote
2 answers
1k views

ffmpeg not able to yum

I am on CentOS8. I am facing similar situation as in this question, tried everything suggest in answers but could not solve. Why I can't install ffmpeg on CentOS 7 I am trying to install ffmpeg-...
BB23850's user avatar
  • 13
0 votes
0 answers
333 views

How I could install NGINX from nginx.org repo using yum in CentOS-8?

Problem: After enabling repos, like I did for centos-7, yum just does not see any Nginx RPMs from nginx.org repo: # cat << 'EOF' > /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo #baseurl=...
vitaly.v.ch's user avatar
0 votes
1 answer
755 views

How to install PHP 7.4.3 on CentOS 8?

I need to upgrade to PHP 7.4.3 (from 7.4.14), and I have somehow managed to make no progress after many, many hours. *Needed for MediaWiki, Roundcube and PostfixAdmin. Two questions: Do I have to ...
SKNB's user avatar
  • 125
1 vote
2 answers
23k views

Error: conflicting requests in centos 8 package installation

I am trying to install the gdal on my centos 8. I tried with following command sudo yum install gdal-libs And it threw me following error, Last metadata expiration check: 0:05:58 ago on Sun 10 Jan ...
dhiraj's user avatar
  • 113
3 votes
1 answer
379 views

Update specific list of packages with yum

As most company we have different pre-production environment: development, integration, staging, production. We would like to keep these env OS updated but we would like to perform yum update in ...
Luca Moscato's user avatar
0 votes
3 answers
2k views

`yum`/`dnf`/`rpm` equivalent to `dpkg -l` for RHEL/CentOS?

Is there an equivalent yum, dnf, or rpm command to Debian/Ubuntu's dpkg -l command to list both package names and installation status?
wyphan's user avatar
  • 105
3 votes
4 answers
24k views

How can I install or update software with yum in CentOS 6 when CentOS 6 stopped its lifecycle?

I failed to install or update software in my CentOS 6 system these days. I guess CentOS removed their mirror list after CentOS 6 ends its lifecycle after Nov. 30. I use this mirrorlist: http://...
auntyellow's user avatar
1 vote
2 answers
7k views

Error while installing postfix on CentOS 6

I want to install postfix on CentOS 6 but I get the following error : yum install postfix -y Loaded plugins: fastestmirror Setting up Install Process Determining fastest mirrors YumRepo Error: All ...
master lfc6's user avatar
4 votes
1 answer
8k views

centos 8: debuginfo-install can't find kernel-debuginfo package

I have a machine with CentOS-8 installed, kernel shipped with it is 4.18.0. I need to install debiginfo package: % sudo dnf debuginfo-install kernel-4.18.0-193.19.1.el8_2.x86_64 enabling epel-modular-...
Mark's user avatar
  • 259
0 votes
1 answer
4k views

yum history list + how to verify rpm historical status

The rpm command gives every package installed a transaction ID. The transaction ID is a Unix time stamp (number of seconds since January 1, 1970). You can then perform some operations on packages ...
sheffadmin's user avatar
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 ...
YorSubs's user avatar
  • 135
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-...
The Voyager's user avatar
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 ...
Jon Reeves's user avatar
0 votes
1 answer
536 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 ...
David542's user avatar
  • 979
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 ...
atkayla's user avatar
  • 211
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:...
Dolphin's user avatar
  • 425
2 votes
2 answers
2k 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]: ...
user99201's user avatar
  • 307
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) ...
Leonard Challis's user avatar
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://...
Sameer Naik's user avatar
0 votes
1 answer
983 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 ...
kasimir's user avatar
  • 203
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....
Steve Sether's user avatar
0 votes
1 answer
879 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 ...
Michael Altfield's user avatar
0 votes
1 answer
655 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 (...
trinitrotoluene's user avatar
0 votes
1 answer
432 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 ...
user2977753's user avatar
0 votes
1 answer
573 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....
myNewAccount's user avatar
9 votes
6 answers
125k 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 ...
Imag1ne's user avatar
  • 235
1 vote
1 answer
562 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 ...
Ian's user avatar
  • 193
1 vote
1 answer
288 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 ...
Wedge's user avatar
  • 1,617
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 * ...
Kirby's user avatar
  • 1,089
0 votes
1 answer
2k views

Linode / Nanode - Out of memory, when running yum update

I rented a nanode from linode which is the smallest model. I tried to install powershell core which caused some issues. Now I got the memory allocation error: [codingsafari@centosbox ~]$ sudo yum ...
The Fool's user avatar
  • 117
2 votes
1 answer
3k views

Update CentOS Security Patches

I need some help as I am really struggling to understand a problem. I want to list the security packages that need to be updated by yum only on CentOS 6. I have downloaded an old version of CentOS 6 ...
Tony's user avatar
  • 321
9 votes
2 answers
6k views

Installing ImageMagick-devel fails on CentOS 8

I am trying to install ImageMagick-devel on my CentOS 8.0.1905, but I get the following error: # yum install ImageMagick-devel Last metadata expiration check: 2:58:25 ago on Mon 18 Nov 2019 06:58:06 ...
uncovery's user avatar
  • 365
0 votes
1 answer
152 views

Error updating MariaDB (to 10.1.42) in CentOS and Ubunto

Yum is failing to update MariaDB to version 10.1.42. yum check-update presents available updates for MariaDB (server, client, common, etc.) and galera. MariaDB-client.x86_64 ...
ePi272314's user avatar
  • 101
4 votes
2 answers
11k views

dnf - cannot install the best candidate for the job

I just installed CentOS8... $ cat /etc/redhat-release CentOS Linux release 8.0.1905 (Core) $ ... and now trying to follow Get Docker Engine - Community for CentOS | Docker Documentation, yet ...
alexus's user avatar
  • 13.5k

1
2 3 4 5
12