Skip to main content

All Questions

Tagged with
0 votes
0 answers
440 views

Why yum install is giving me this "Could not retrieve mirrorlist" error trying to install a software?

I am not a system engineer (I am more a software developer). I am trying to install Zabbix agent on a CentOS 7 system and I am finding the following problem with yum (I have done the same process on ...
Andrea Nobili's user avatar
0 votes
0 answers
106 views

Centos 7 yum update issue

I am getting the below error while doing the "yum update" in centos7. I tried all other ways to fix but nothing is working. Please find the below full error for your information. Please find ...
Bala's user avatar
  • 1
0 votes
0 answers
183 views

Centos 8 running as a LXD container fails to install packages: yum ailed to connect to mirrorlist.centos.org port 80: Connection timed out

Under Ubuntu, I created a Centos 8 LXD container: lxc launch images:centos/8 centoscontainer Then, I log into the container with lxc exec centoscontainer /bin/bash. I'm root, and I can access network ...
alci's user avatar
  • 137
0 votes
1 answer
2k views

CentOS 7 Yum not seeing available package updates

This weekend it occurred to me that I likely have several out-of-date packages on my server, so I set about updating them. Two packages require an update: Redis and Git. When I check versions on the ...
DavidBrown's user avatar
0 votes
1 answer
388 views

Remove content from /var/lib/yum/plugins/local in Centos

The /var/lib/yum/plugins/local folder seems to store installed rpm packages: $ ls /var/lib/yum/plugins/local 389-ds-base-1.2.11.15-95.el6_9.x86_64.rpm 389-ds-base-devel-1.2.11.15-95.el6_9.i686.rpm ......
Grigoriy Volkov's user avatar
1 vote
1 answer
3k views

Metadata file does not match checksum after yum install

I'm trying to install elasticsearch using YUM repo on centos. I configured the yum repo as described here : https://www.elastic.co/guide/en/beats/filebeat/current/setup-repositories.html but after the ...
alex's user avatar
  • 131
0 votes
0 answers
1k views

Why does `dnf updateinfo` just output the "Last metadata expiration check"

I am writing a program to control dnf, and it needs a list of available updates for further processing. The command dnf updateinfo seems what I want, I tried it on CentOS 8 Stream, but it just outputs ...
metaphor's user avatar
2 votes
1 answer
4k views

yum + skip broker or exclude rpms

during yum update on one of our rhel 7.6 server we get the following error --> Finished Dependency Resolution Error: Package: libtirpc-devel-0.2.4-0.6.el7.x86_64 (installed) Requires: ...
King David's user avatar
0 votes
1 answer
418 views

interpretation of yum error messages

I tried to upgrade php 5 to php 7 on CentOS6 but failed with errors like this: --> Finished Dependency Resolution Error: Package: php-mcrypt-5.3.3-5.el6.x86_64 (epel) Requires: php(api) ...
William's user avatar
  • 273
1 vote
0 answers
462 views

Unable to apply yum security updates

I've a few FreeIPA servers that were built using the official CentOS repositories and EPEL repo for FreeIPA. [root@freeipa yum.repos.d]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [...
Facu's user avatar
  • 11
0 votes
0 answers
2k views

I set the proxy for yum in Linux CentOS and it gives me error when I try to download

I installed Linux CentOS on VMWare Workstation, I am behind a proxy, I modified the yum.conf file and addres the proxy port user and password and when I try yum install xxx it gives me this message : ...
Serban Ciofliceanu's user avatar
1 vote
1 answer
660 views

Can`t download with yum on Linux CentOS

I installed Linux CentOS on a virtualbox. The internet connection is thru proxy but I understood I have to modifiy resolv.conf. I added the proxy, username and password and then I tested with the ...
Serban Ciofliceanu's user avatar
0 votes
1 answer
829 views

How can I get a list of installed centos packages by only reading from the filesystem?

I am writing a tool for analyzing images and have full access to an image's filesystem. I want to produce a list of all installed packages with name and version info. However, I do not want to ...
William Overton's user avatar
0 votes
0 answers
144 views

Yum DuplicateOptionError Proxy

I don't know exactly what I am doing :(. I try to patch CentOS using BigFix. Somehow there is an error log from the target. Here's the part of log: 47790 : 2019-06-13 23:06:46 : INFO : 01 ...
slowmotion's user avatar
0 votes
1 answer
670 views

How do I prevent YUM installing a dependency?

I am trying to setup a CentOS server with multiple php versions. I've managed to do this so far by installing the REMI software collections of php56 and php70 and I got Apache running with different ...
frezq's user avatar
  • 493
0 votes
1 answer
121 views

Install packages on centos 7.2 based on packages installed on other centos

I have a centos 7.2 installed on virtualbox, and my customer have a centos 7.2 too. I written a program fir customer and for technical reasons they can not build source on their system. For that I ...
Hamed Masafi's user avatar
3 votes
1 answer
21k views

How to force `yum reinstall` to overwrite changed files in a `/var` sub-directory?

I have a software package[1] that is already being used by multiple users. Its RPM is created with Cmake. For historical reasons, the software package installs some files in a subdirectory of /...
boardrider's user avatar
  • 1,163
0 votes
1 answer
2k views

My package's new updateinfo.xml shows up in the yum cache, but isn't displayed as a security update by yum update

I have a package I want to release a security update for. So I added an updateinfo.xml and used modifyrepo to add it to the files listed by repomd.xml. When I test with the baseurl of the yum repo ...
J. Doe's user avatar
  • 1
0 votes
1 answer
945 views

yum broken when I interrupt updating nss-softokn-freebl-3.36.0-5.el7_5.x86_64

My system is centos7. [root@centos7 caiyiheng]# uname -a Linux centos7 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux My system run in a virtualbox. When I ...
rangercyh's user avatar
1 vote
1 answer
1k views

Yum Repo issues

My CentOS-Base.repo has the following mirrors: [base] name=CentOS-$releasever - Base baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-...
leoOrion's user avatar
  • 123
1 vote
1 answer
2k views

Offline RPM package install, with Windows

I need to install packages with yum on a CentOS machine I have. This CentOS server is not connected to the Internet because of my organization policy, but I do have a Windows server that is connected ...
user8356202's user avatar
3 votes
1 answer
2k views

uninstalling vim-minimal also uninstalls sudo in Centos 7.4

Setting up a new CentOS 7.4 machine. I installed vim using sudo yum install vim, and then I uninstalled vim-minimal with sudo yum remove vim-minimal. Now sudo has been uninstalled: $ sudo -bash: /...
ewok's user avatar
  • 4,301
0 votes
1 answer
3k views

/usr/lib64/python2.7/site-packages/rpm/_rpm.so: undefined symbol: rpmpkgVerifySigs

My first time here to ask question. Hope my question could help more friends after solved. Base: System Version: CentOS 7.2 64 bit Problem: Wrongly remove python that comes with the system. And ...
Tyler  Lin's user avatar
0 votes
1 answer
3k views

slappasswd: symbol lookup error undefined symbol ber_sockbuf_io_udp

I have CentOS 7 (3.10.0-693.el7.x86_64) from Pivotal Greenplum Sandbox VM. I tried to install OpenLDAP: sudo yum install openldap openldap-servers openldap-clients -y But when I run slappasswd -s ...
HP.'s user avatar
  • 133
2 votes
1 answer
2k views

Fix broken rpm on CentOS

I get the following error when I type rpm: rpm: error while loading shared libraries: librpm-4.3.so: cannot open shared object file: No such file or directory How could this library have gone ...
jxmorris12's user avatar
0 votes
1 answer
983 views

CentOS - Yum not installing postfix - No obvious errors

When trying to install PostFIX on CentOS 7 using yum: yum install postfix It provides the following feedback and is not installed: Loaded plugins: fastestmirror, universal-hooks Loading mirror ...
Robin Xergxes7 Pretorius's user avatar
2 votes
1 answer
1k views

How to check what package was updated using yum history?

OK let's do a little experiment: on a fresh installed CentOS, when I type yum history list, output is: [user@machine ~]# yum history list Loaded plugins: security ID | Login user | Date ...
Sajuuk's user avatar
  • 481
0 votes
2 answers
9k views

How do I tell yum not to remove itself?

When I run this command $ sudo yum erase git make gcc g++ zlib1g-dev libssl-dev wget subversion file python apt-utils binfmt-support vim apt-file xz-utils sudo subversion zlib1g-dev gawk flex unzip ...
Chloe's user avatar
  • 6,046
4 votes
2 answers
6k views

Why does yum updateinfo not show all updates?

I am trying to monitor available updates on a CentOS 7 system. Now I had the impression that yum updateinfo gives exactly that, and sometimes it does, but right now on one machine it says Updates ...
Stefan S's user avatar
2 votes
1 answer
2k views

What does "from updates excluded (updateinfo)" mean on "yum check-update --security"

I've got an CentOS 7.3 installation running with automated security updates. Sometimes i check if there are available security updates. I noticed that many updates are excluded. The function i ran is ...
Arno's user avatar
  • 21

15 30 50 per page