Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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]#
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 ~]#
This system is not registered with RHN.
RHN support will be disabled.
samba-common.x86_64 3.0.33-3.14.el5 installed
So we have a bootleg RHEL 5. They don't like that, as RHEL is one you pay for if you want support.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.