All Questions
38
questions
0
votes
0
answers
334
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 ...
1
vote
2
answers
1k
views
RPM none-zero exit code if a package is already installed
I created a new script to install a few local packages on CentOS 7 without internet. I want script exits upon any error
set -e
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
rpm --import ./RPM-GPG-...
1
vote
2
answers
5k
views
Installing an RPM package on a server without any access to the internet
I have a minimal CentOS server with no access to the internet. Let's call it server A.
My target it to build a shell script file to install a specific version of a local RPM file for an application. ...
0
votes
1
answer
382
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
......
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: ...
0
votes
1
answer
402
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) ...
0
votes
1
answer
900
views
How to set user/group/mode for directory created with `install -D`
When installing a file with the -D option to include creation of parent directories, how do you specify the user, group, and mode to use for the created directories? This is in the context of an RPM ...
1
vote
0
answers
1k
views
How can I upgrade rpm on Centos 7 offline?
I'm trying to install python modules on centos 7 and python2-setuptools-45.2.0-1.noarch requires rpmlib(PayloadIsZstd) <= 5.4.18-1
I have so far installed epel-release-latest-7.noarch by ...
0
votes
1
answer
824
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 ...
1
vote
1
answer
2k
views
yum transaction error when trying to install RPM built from RPM spec file
I use a meta package to manage software and common dependencies across several lab systems, and until today, this has worked great. However, after a recent build every RPM spec file directive to copy ...
0
votes
1
answer
942
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 ...
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 ...
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 ...
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 ...
10
votes
2
answers
39k
views
Determining Yum repo URL
If I add a new repo file under /etc/yum.repo.d/ folder. How can I gather all the URL which yum update will go out to fetch updates.
I am asking this because I have a server behind a firewall, which ...