Not able to install any pkgs
Hi Everyone,
1. Am not able to install any pkgs using rpm and yum utility, even though repo is created. 2. Could you let me know , if there is any basic checks for repo. Getting same error for all the pkgs. OS: RHEL 5 Error: [root@localhost pub]# rpm -ivh samb* warning: samba-3.0.33-3.14.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: perl(Convert::ASN1) is needed by samba-3.0.33-3.14.el5.x86_64 [root@localhost pub]# rpm -ivh http* warning: httpd-2.2.3-31.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error dependencies: apr-devel is needed by httpd-devel-2.2.3-31.el5.i386 apr-util-devel is needed by httpd-devel-2.2.3-31.el5.i386 apr-devel is needed by httpd-devel-2.2.3-31.el5.x86_64 apr-util-devel is needed by httpd-devel-2.2.3-31.el5.x86_64 [root@localhost pub]# |
Yeah, dependencies are tricky. I would run
Code:
rpm --rebuilddb Quote:
Say yes, and you get the install. |
Hi,
I tried your steps, but dint get messages as expected. [root@localhost pub]# rpm --rebuilddb [root@localhost pub]# yum list samba* Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Error: No matching Packages to list [root@localhost pub]# yum install some_package Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process No package some_package available. Nothing to do [root@localhost pub]# cd [root@localhost ~]# yum list samba* Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Installed Packages samba-common.x86_64 3.0.33-3.14.el5 installed [root@localhost ~]# |
Code:
This system is not registered with RHN. Why not try paying up, or else install Centos, Scientific Linux, or Fedora which are RHEL clones. To be precise, centos and friends are rhel clones; Fedora is an rhel beta. |
Also, RHEL5 is getting old. v7 is just recently out; I'd go at least v6 if you want to wait for v7 to bed down.
|
Hope I ll have same license issue even if am using v6 or v7. I don't want pay because am doing testing on my lap for my knowledge purpose only.
Could you suggest me some links to download Centos or Fedora OS |
|
Hi,
Am trying to fix this in RHEL itself. So plz help me.This is my repo file for local installation. Even after making ENABLED=0, am getting dependencies error. Lme know if any changes needs to done in this file. [admin@localhost yum.repos.d]$ cat rhel-debuginfo.repo [rhel-server] name=RHEL5 baseurl=file:///var/ftp/pub/Server enabled=0 gpgcheck=0 #gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release [admin@localhost yum.repos.d]$ |
As has been explained, you are not going to get stuff from Red Hat other than what's on the demo disk unless you are a subscriber. If you don't want to pay (and it's not cheap), use CentOS.
If you need a wide variety of software, CentOS (and Red Hat) needs to be supplemented with other repositories. All you get are basic things: browser, mail, office suite, etc. Thus I have Gnucash from EPEL, media codecs from RPMforge, etc. These have not caught up with CentOS 7 yet, so if CentOS alone is not enough, it may be better to go for version 6. |
I made the local repo setting , by that am able to install the pkgs now without dependency error. Ty Everyone :)
|
All times are GMT -5. The time now is 06:07 PM. |