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
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-...
mercury's user avatar
  • 25
1 vote
2 answers
6k 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. ...
mercury's user avatar
  • 25
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
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
0 votes
1 answer
911 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 ...
Josh M.'s user avatar
  • 1,518
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 ...
TheWorker's user avatar
  • 127
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
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 ...
garrettmills's user avatar
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
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
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
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
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 ...
Bala's user avatar
  • 111
0 votes
1 answer
2k views

rpm NOKEY error on copied packages, can I remove this?

I used yum --downloadonly to fetch a few php71 packages on "VM A". I need to copy these to a different VM, "VM B" and install them using rpm -ivh. However on the secon "VM B" it's complaining about an ...
Sean256's user avatar
  • 809
0 votes
1 answer
2k views

RPM installation headerRead failed: region trailer: BAD

So I am trying to create my first rpm and am using jenkins to automate the job. The command I am using to create the rpm is fpm and is as follows: + fpm --before-install script/beforeInstall.sh --...
user3738622's user avatar
0 votes
0 answers
1k views

Upgrading CentOS kernel without internet connection

I need to update my CentOS 6.8 VM's kenrel to a more recent version. I have tried downloading the individual parts of the kernel, i.e kernel.....rpm, kernel-firmware....rpm. Using rpm -ivh kernel.......
Jarred Byrnes's user avatar
0 votes
1 answer
1k views

Yum error when trying to install remi repo

New installation of CentOS 7.2 with Apache 2.4.6. Trying to install the remi repo so that I can upgrade to PHP 5.6 (yum only provides 5.4). When trying to install the repo from an rpm, I get the ...
Chris's user avatar
  • 251
0 votes
1 answer
45 views

Need Information about "Package Update Process"

When i issue the command "yum update" as root under CentOS, all updates will be installed. But what exactly happens during the update process. I am asking myself how a package gets updated. For ...
chifac08's user avatar
3 votes
1 answer
3k views

RPM `requires` installation order

I'm seeking for help from RPM experts. Suppose I have an RPM package A which depends on package B. RPM A's spec has Requires:B with autoprov and autoreq enabled. When I install RPM A on a centos 6.5 ...
Shyam's user avatar
  • 131
-1 votes
1 answer
964 views

Error creating an RPM

I've seen many similar issues dotted around this site but none of the seem to fit the problem I'm faced with. I've never created an RPM before so I'm completely new to the procedure. Basically, all ...
user2090974's user avatar
1 vote
1 answer
994 views

using rpm -i in Linux as a normal user

I'm trying to run rpm -i to install an rpm but it fails. I must always use root to do the installation. why ? [alankoh@sjoam2 Downloads]$ rpm -i sqldeveloper-4.0.3.16.84-1.noarch.rpm error: can't ...
Noob's user avatar
  • 1,625
0 votes
1 answer
10k views

Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD

I have a strange problem on Centos 6.6 with rpm. I try to install rpm/srpm and i get this message : rpm -v --checksig glibc-2.12-1.149.el6.src.rpm glibc-2.12-1.149.el6.src.rpm: Entête V3 RSA/SHA1 ...
Mike Castro Demaria's user avatar
5 votes
1 answer
41k views

How to resolve rpm dependencies

I am trying to install libtirpc on RHEL 6.5 but it fails and asks for dependencies. Why here it is showing three GLIBC versions 2.14, 2.15 and 2.16. ?? Does it mean that any of these three versions ...
Vikram Singh's user avatar
3 votes
1 answer
2k views

rpm signing error rpmMkTemp failed

I'm running into this error when signing an rpm file. I've not got a whole lot to go on as you can see, and google seems to have come up empty. I'm stumped ! Does anyone know what causes it ? I'm ...
Sirex's user avatar
  • 11k
0 votes
1 answer
4k views

how to enable java in Browser on Centos 6.5

i already install Java (jdk 6u45 and jre 6u45) in a Centos 6.5 Server, but i don't know why in my browser appears to enable java plugin, these are steps to install java in my machine: rpm -ivh jdk-...
user avatar
1 vote
2 answers
2k views

Format "yum provides" output

I am writing a little program that packages configuration files as rpm, and it puts a series of %triggers to handle installation/upgrade of the packages that bring a copy/version of the same file. I ...
Bruno9779's user avatar
  • 1,237
1 vote
1 answer
2k views

How to install php soap with rpm packages in centos 6.4 x86_64

I want to install php-soap, centos says: [root@LMS-Cent64 soap]# rpm -ivh php-soap-5.3.3-22.el6.x86_64.rpm error: Failed dependencies: php-common(x86-64) = 5.3.3-22.el6 is needed by php-soap-...
hpaknia's user avatar
  • 902
2 votes
1 answer
35k views

How to download yum packages on windows (or online in browser)

I am newbie to linux and just started using it at home, but I don't have internet connection at home, and in office I have good internet but using windows, I just want to download yum packages on my ...
dev.meghraj's user avatar

15 30 50 per page