LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-09-2014, 06:32 AM   #1
arun natarajan
Member
 
Registered: Jun 2014
Posts: 111

Rep: Reputation: Disabled
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]#
 
Old 12-09-2014, 07:43 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,423

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
Yeah, dependencies are tricky. I would run

Code:
rpm --rebuilddb
yum list samba*
a list of samba possibilities will hopefully be shown. Then run
Quote:
yum install some_package
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.
 
Old 12-10-2014, 05:19 AM   #3
arun natarajan
Member
 
Registered: Jun 2014
Posts: 111

Original Poster
Rep: Reputation: Disabled
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 ~]#
 
Old 12-10-2014, 09:20 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,423

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
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.
 
Old 12-11-2014, 02:56 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,365

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
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.
 
Old 12-11-2014, 12:05 PM   #6
arun natarajan
Member
 
Registered: Jun 2014
Posts: 111

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-11-2014, 03:00 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://www.centos.org
https://getfedora.org
 
Old 12-13-2014, 09:20 AM   #8
arun natarajan
Member
 
Registered: Jun 2014
Posts: 111

Original Poster
Rep: Reputation: Disabled
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]$
 
Old 12-13-2014, 12:51 PM   #9
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,147

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
 
Old 12-18-2014, 12:24 AM   #10
arun natarajan
Member
 
Registered: Jun 2014
Posts: 111

Original Poster
Rep: Reputation: Disabled
I made the local repo setting , by that am able to install the pkgs now without dependency error. Ty Everyone
 
  


Reply

Tags
repo, rpm, software installation, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to install rpm pkgs on RHEL 6 shruti1605 Linux - Newbie 4 03-26-2014 03:48 AM
[SOLVED] slackpkg install-new / new pkgs in mirror / kdei pkgs ahlr Slackware 4 07-01-2013 04:33 AM
[SOLVED] slackpkg says no pkgs to update after installing 14.0, but there are pkgs in /patches integrale16 Slackware 5 02-26-2013 03:48 PM
[SOLVED] [Help] reinstall corrupted pkgs without doing a clean install red_fire Slackware 3 10-02-2012 04:06 AM
Suse 11.3 cant install software pkgs Damurs Linux - Newbie 5 11-03-2010 02:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration