Questions tagged as ['yum']

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 open shared o bject file: No such file or directory
It looks like I just need to install the libodbc.so.1 for it to work, but it's not on ...
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*
https://vault.centos.org/7 ...
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?
See:
# yum deplist my-software
package: my-software.noarch 1.1.0-163725536 ...

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://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-2-1.noarch.rpm
which gives a warning:
warning: /var/tmp/rpm-tmp.dlinTR: Header V3 RSA/SHA256 Signature, key ID 210976f2: NOKEY
After th ...

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 ...
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.
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:
...
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.
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/$basearch/os/
gpgcheck=0
enabled=1
# virt-2.repo
[centos-advanced-virtualization]
name=CentOS Linux 8-stream - Advanced Virtualization
baseurl=http://mirrors.ustc.edu.cn/centos/8-stream/virt/$basearch/advanced ...
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
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 ...

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)
Requires: libgeotiff.so.2()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
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)
Available: pcre-7.8-7.el6.x86_64
libpcre.so.0()(64bit)
Installed: pcre-8.32-17.el7.x86_64
~libpcre.so.1()(64bit)
~libpcre16.so.0()(64bit)
...
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" ...
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 ...
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 package helix-swarm which is available here: http://package.perforce.com/yum/rhel/7/x86_64/
Based on the answer here How can I create a yum repository from downloaded packages? , it seems I can do it by dow ...
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 ...
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 ...