2022 Developer Survey is open! Take survey.

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

Unknown instruction: YUM while building Docker image

My Docker file: FROM remote-host COPY ./conf/nginx.repo /etc/yum.repos.d/nginx.repo RUN yum -y install nginx-1.12.2 openssl --enablerepo=nginx && yum -y install https://centos7....
user avatar
0 votes
0 answers
14 views

Yum install/update hangs at the very end, unable to kill via ctrl-c

So I've got a group of servers (all RHEL 7.9) whose RPMDBs appear to have become corrupted. Not sure how or when, but no matter. I fixed the DBs using these instructions. After that, any attempt to ...
user avatar
0 votes
0 answers
75 views

Oracle Linux 8.5 upgrade with local mirror

I have an Oracle Linux 8.5 system with a local packages mirror to upgrade some internal system. Everything works fine, except for the "dnf/yum upgrade" command; there are problems with ...
user avatar
  • 101
0 votes
1 answer
56 views

How to install another rpm as dependency to another rpm?

We have built application rpm file using fpm. There we have set python3 as dependency, so it installs automatically before the main rpm. But it installing 3.7. To replace that with 3.8, we need to ...
user avatar
2 votes
1 answer
1k views

ntpdate unavailable on CentOS8

I want to install ntpdate as usual on CentOS8. However, it is not available: # cat /proc/version Linux version 4.18.0-240.1.1.el8_3.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 8.3.1 ...
user avatar
  • 330
0 votes
0 answers
75 views

Failing execute yum from ansible on centos 8

I have a problem updating Centos 8 systems due to repositories. This is my task and it works on Red Hat and Almalinux: - name: Install the latest version of yum-utils become: yes become_method: ...
user avatar
0 votes
0 answers
54 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:...
user avatar
0 votes
1 answer
23 views

Centos 7.9 python3 cant find modules installed via yum

My stub python3 program cannot find the "pytz" module: [me@mybox]$ uname -a Linux portal2 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux [me@...
user avatar
0 votes
1 answer
191 views

How to get Redhat/Centos to run nogpgcheck automatically on any call to yum install?

I'm taking over a big project. 5 engineers worked on it for some years, but they are gone now. There are multiple install scripts, and they are very complicated. Somewhere inside of those scripts, ...
user avatar
4 votes
2 answers
4k 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. ...
user avatar
1 vote
3 answers
545 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 ...
user avatar
0 votes
1 answer
279 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, ...
user avatar
  • 187
1 vote
0 answers
1k views

The latest centos:8 docker image cannot run yum

With the latest centos:8 docker.hub image I cannot run yum. All yum commands fail with the error message Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No ...
user avatar
  • 131
0 votes
0 answers
324 views

dnf update with nobest option

I've got following error during update: Error: Problem: cannot install the best update candidate for package glibc-gconv-extra-2.28-167.el8.x86_64 nothing provides glibc-common = 2.28-181.el8 needed ...
user avatar
  • 23
0 votes
4 answers
407 views

How to install a specific version of PostgreSQL in Red Hat 8?

I'd like to install a specific version of PostgreSQL in RHEL 8 with dnf. To achieve this I followed the PostgreSQL guide : https://www.postgresql.org/download/linux/redhat/ But actually I can only ...
user avatar
  • 142
0 votes
1 answer
73 views

yum installation failed on RHEL 7

I tried to install telnet using yum with the following command: yum install telnet But I get the following error: Error How can I solve this and add third party repositories?
user avatar
0 votes
1 answer
20 views

Make yum not installing dependancies if main package failed

I have 3 packages corepkg, corepkg-optB and corepkg-optC. corepkg-optC depends on corepkg-optB, corepkg-optB depends on corepkg. I've created a repo of these 3 packages. When I run yum install corepkg-...
user avatar
-1 votes
1 answer
936 views

AWS EC2 Yum has no repositories

I'm a frontend web developer and struggling with this backend stuff! My goal here is to install and update to PHP 7.4 on my AWS EC2 server. I need yum to install amazon-linux-extras but yum has no ...
user avatar
-1 votes
1 answer
208 views

How to install packages from command line on Suse

What is the Suse version of apt-get or yum? Or how do I get one of them installed in order to install software packages from the command line? A fairly intense session of googling suggests that it may ...
user avatar
0 votes
0 answers
78 views

sqlcmd error: libodbc.so.1 not found

Straight forward question, I'm trying to use sqlcmd on CentOS 8, but everytime I try to run any command using it, I get the error: sqlcmd: error while loading shared libraries: libodbc.so.1: cannot ...
user avatar
0 votes
1 answer
64 views

Salt: connection refused to proxy

I have troubles with Salt, installed on an HPC cluster. All maintenance commands (i.e. salt commands) are made from master0. The minions to be managed are named node0, node1, ..., node4. When I try to ...
user avatar
  • 103
0 votes
0 answers
28 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 ...
user avatar
  • 657
0 votes
0 answers
95 views

Can not install pgAdmin 4 on RHEL 7.7

I am trying to install pgAdmin 4 on RHEL 7.7. (PostgreSQL 13 is already successfully installed) Following the official guide at pgAdmin 4 (RPM) sudo rpm -e pgadmin4-redhat-repo sudo rpm -i https://...
user avatar
0 votes
1 answer
124 views

using yum list package, show only the package name without x86_64 and version number without 4.el7

please help me, i want using yum list package, show only the package name without x86_64 and version number without 4.el7. I don't want to use rpm -qa --qf , because yum more accurate. yum list ...
user avatar
0 votes
1 answer
76 views

Can you elaborate on "yum install --downlaodonly"?

You need to install it in an environment where there is no network. So I was installing via RPM. In the meantime, a crash occurred and the installation could not proceed. I found yum install --...
user avatar
  • 77
0 votes
0 answers
276 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 ...
user avatar
  • 113
2 votes
1 answer
110 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 ...
user avatar
  • 127
0 votes
1 answer
52 views

Cannot get latest-version package from multiple yum repos

There are two rpm repos in my CentOS 8.1.1911. Details are as follows: # virt-1.repo [appstream] name=CentOS Linux 8-stream - AppStream baseurl=http://mirrors.ustc.edu.cn/centos/8-stream/AppStream/$...
user avatar
1 vote
0 answers
30 views

Best practices for updates

We have a lot of Linux servers (Red Hat Enterprise Linux Server 7.9 running vmware) and most of the services are in containers docker. We want to implement a policy of updating our systems with ...
user avatar
  • 11
0 votes
0 answers
19 views

Installing and regularly updating software via yum\apt* on linux servers without direct internet access?

There are several dozen servers with centos (mostly) and debian-like systems. How to organise the installation and updating of software via yum \ apt in the absence of direct access to the Internet ...
user avatar
0 votes
1 answer
112 views

Trying to install postgis on Centos 6.9 and missing dependency libgeotiff.so.2 [closed]

I'm trying to install Postgis 2.1 on Centos 6.9 (and postgresql 9.5). I try to yum install it: yum install postgis21_95 And get the error: > Finished Dependency Resolution Error: Package: gdal-...
user avatar
1 vote
1 answer
211 views

RH 7.9 facing dependency error while yum update (libpcre and libquadmath)

I am currently updating my RH 7.9 and facing 2 dependency errors. Could anyone assist ? Thanks in advance! Error: Package: grep-2.20-6.el6.x86_64 Requires: libpcre.so.0()(64bit) ...
user avatar
0 votes
1 answer
148 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 ...
user avatar
-1 votes
1 answer
44 views

how to update entire server without changing server OS version

I am new to linux . I have to patch a new build server. The server is with hundreds of vulnerability thats why I am told to patch system . This server is 7.9 version and registered with satellite ...
user avatar
0 votes
0 answers
36 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 ...
user avatar
0 votes
1 answer
71 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, ...
user avatar
1 vote
2 answers
531 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-...
user avatar
  • 13
0 votes
1 answer
67 views

Configure yum to install private builded rpm

I need to install some RPMS that I build myself into RHEL8.3. I create the RPMS than add them to the iso image of red hat. I add them under BaseOS directory and when red hat is installed I mount the ...
user avatar
-1 votes
1 answer
50 views

Yum search package with flag of installation status?

I use yum search <some package> and get the search result lists. Howerver I cannot distiguish between installed package and uninstalled package. So I have to yum install <some package> one ...
user avatar
  • 101
0 votes
1 answer
2k views

How to install snapd on Oracle Linux 7.9

I am trying to install snapd on Oracle Linux Server 7.9 On many sites I have seen that it has been advised to install spand as follows sudo yum install epel-release sudo yum -y install snapd But I ...
user avatar
0 votes
2 answers
136 views

EPEL 7 proftp package only outdated version available 1.3.5e

Im a curious why there is no new version for the epel-x86_64 ftp server package proftp in the epel 7 repo: https://centos.pkgs.org/7/epel-x86_64/proftpd-1.3.5e-10.el7.x86_64.rpm.html There is only ...
user avatar
0 votes
0 answers
153 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=...
user avatar
0 votes
1 answer
101 views

After power failure restart both DNF and YUM stopped working, do nothing, not even metadata check

My environment, happily functioning for a long time, experienced a power outage - of course, the immortal power supply was offline at the time, needing new batteries. As the administrator, I know ...
user avatar
  • 1,128
0 votes
0 answers
458 views

Segmentation fault when execute yum or rpm any command

I am facing some issues on centos-7 when I execute yum install, yum upgrade, yum installed list, yum search, yum list installed, rpm then getting an error Segmentation fault. system Logs:- segfault at ...
user avatar
0 votes
1 answer
320 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 ...
user avatar
  • 15
0 votes
1 answer
41 views

I can use my local apt repository as a local yum repository?

I'm a newbie in Linux. I have a local apt repository. I didn't want to set up a separate machine and http server for my rpm packages and occupy disk. I wonder if there is some way I can use my local ...
user avatar
  • 16
1 vote
2 answers
6k 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 ...
user avatar
  • 113
3 votes
1 answer
129 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 ...
user avatar
0 votes
3 answers
514 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?
user avatar
  • 105
1 vote
1 answer
83 views

How to apply updates downloaded by yum-cron?

I have yum-cron running on a new Centos 7 server. I noticed in the daily emails that it sent me that the same packages were appearing every day. On further inspection, I found that this is because I ...
user avatar

1
2 3 4 5
29