Questions tagged as ['yum']

YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.
Score: 0
sqlcmd error: not found
kr flag

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: cannot open shared o bject file: No such file or directory

It looks like I just need to install the for it to work, but it's not on  ...

Score: 0
Dorian avatar
Salt: connection refused to proxy
es flag

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 install a package on a minion (let's say python's numpy on node0), I get the following error:

[root@master0 ~]# salt 'node0' pkg.install python3-numpy
  *duplicate lines removed* ...
Score: 0
Josh M. avatar
yum not updating dependency during install
pe flag

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 updating my-common -- and the install of my-software completes without error, even though the dependency for my-common is not resolved?


# yum deplist my-software
package: my-software.noarch 1.1.0-163725536 ...
Score: 0
Can not install pgAdmin 4 on RHEL 7.7
ky flag

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

which gives a warning:

warning: /var/tmp/rpm-tmp.dlinTR: Header V3 RSA/SHA256 Signature, key ID 210976f2: NOKEY

After th ...

Score: 0
using yum list package, show only the package name without x86_64 and version number without 4.el7
us flag

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 installed
The output:
ModemManager.x86_64                   1.6.10-4.el7
ModemManager-glib.x86_64              1.6.10-4.el7
NetworkManager.x86_64                 1:1.18.8-2.el7_9
NetworkManager-adsl.x86_64          ...
Score: 0
inding avatar
Can you elaborate on "yum install --downlaodonly"?
ng flag

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 --downloadonly while searching for various things.

It is said that after downloading rpm from a network where it is possible, you can install it where the network is not possible.

If so, I have a question for you.

Score: 0
Ian avatar
RPM failed dependency that's already installed
it flag

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 RPM from a SRPM, and trying to install. Example

rpm -Uv openssl-libs-1.0.2k-21.el6.x86_64.rpm  openssl-1.0.2k-21.el6.x86_64.rpm openssl-devel-1.0.2k-21.el6.x86_64.rpm

However, it comes up with the error:

Score: 2
CentOS yum-cron updates stability
ng flag

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 bit of similar work with Amazon Linux 2 and Debian Stable before where I had these triggered weekly. yum update --security on the Red Hat-based AL2 seemed to work without unintended side-effects for me.

Score: 0
freshMan avatar
Cannot get latest-version package from multiple yum repos
in flag

There are two rpm repos in my CentOS 8.1.1911. Details are as follows:

# virt-1.repo
name=CentOS Linux 8-stream - AppStream
# virt-2.repo
name=CentOS Linux 8-stream - Advanced Virtualization
baseurl=$basearch/advanced ...
Score: 1
mambot avatar
Best practices for updates
in flag

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 minimal disruption of services.

What would be the best approach to update the system (patches, security patches and kernel) either to have no downtime or to have the shortest service downtime?
Thank you

Score: 0
arakchi avatar
Installing and regularly updating software via yum\apt* on linux servers without direct internet access?
ps flag

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 from the servers (the Internet presents in general, but these servers have no direct access to it)? Different repositories are used, both basic from distributions and separate software (rsyslog, mysql, etc. a ...

Score: 0
Trying to install postgis on Centos 6.9 and missing dependency
ru flag

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-libs-1.9.2-8.rhel6.x86_64 (pgdg-common)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Score: 1
James G. Cook avatar
RH 7.9 facing dependency error while yum update (libpcre and libquadmath)
cn flag

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 
           Available: pcre-7.8-7.el6.x86_64 
           Installed: pcre-8.32-17.el7.x86_64
Score: 0
user3224303 avatar
How to remove git from a specific folder?
tl flag

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 helper for 'https'".

So, I attempted to upgrade git, using 'sudo yum upgrade git', which claims there's no git package installed. But if I do a 'git --version', I get "git version 2.27.0". A "whereis git"  ...

Score: -1
Newlinux-men avatar
how to update entire server without changing server OS version
lc flag

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 server . I am afraid If I will run " Yum update -y " this will update OS version from 7.9 to 8 since OS version is strictly needs to be 7.9 I have updated kernel recently using " yum update kernel*" My questi ...

Score: 0
kaounKaoun avatar
Create local yum repository for a package which is available on http
in flag

I am trying to create local yum repo for packages. I have followed steps here to create the repo:

But now, I want to create repo for a package helix-swarm which is available here:

Based on the answer here How can I create a yum repository from downloaded packages? , it seems I can do it by dow ...

Score: 0
twhitney avatar
Need to add older version of IUS repo in order to install specific PHP 7.2 packages
pl flag

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, whereas the other doesn't.

Same exact kernel version:

CentOS Linux release 7.5.1804 (Core)

Similar PHP versions:

Server A:

PHP 7.2.18 (cli)

Server B:

PHP 7.2.20 (cli)

Server A:

$ sudo yum search sodium  ...
Score: 1
BB23850 avatar
ffmpeg not able to yum
fr flag

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-devel which needs ffmpeg-libs and which needs libgcrypt. Libgcrypt is required by systemd which is protected package and could not uninstalled. Libgcrypt-1.8.5-4.el8 is newer version than libgcrypt-1.5.3-14.el ...