Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
12-09-2014, 06:32 AM
|
#1
|
Member
Registered: Jun 2014
Posts: 111
Rep: 
|
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]#
|
|
|
12-09-2014, 07:43 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,623
|
Yeah, dependencies are tricky. I would run
Code:
rpm --rebuilddb
yum list samba*
a list of samba possibilities will hopefully be shown. Then run
It will do stuff and say "yeah, you need all this other stuff as well. Will I get it? Y/n?
Say yes, and you get the install.
|
|
|
12-10-2014, 05:19 AM
|
#3
|
Member
Registered: Jun 2014
Posts: 111
Original Poster
Rep: 
|
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 ~]#
|
|
|
12-10-2014, 09:20 AM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,623
|
Code:
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.
|
|
|
12-11-2014, 02:56 AM
|
#5
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,441
|
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.
|
|
|
12-11-2014, 12:05 PM
|
#6
|
Member
Registered: Jun 2014
Posts: 111
Original Poster
Rep: 
|
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
|
|
|
12-11-2014, 03:00 PM
|
#7
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
|
|
|
12-13-2014, 09:20 AM
|
#8
|
Member
Registered: Jun 2014
Posts: 111
Original Poster
Rep: 
|
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]$
|
|
|
12-13-2014, 12:51 PM
|
#9
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,252
|
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.
|
|
|
12-18-2014, 12:24 AM
|
#10
|
Member
Registered: Jun 2014
Posts: 111
Original Poster
Rep: 
|
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 03:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|