LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2011, 11:46 AM   #1
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Rep: Reputation: Disabled
yum server problem


i am not able to install package through yum, but when i do yum list its working , my yum takes repository from a ftp site these sre the details of /etc/yum.repos.d/rheldebuginfo file

name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
please provide urgent solution anybody.

Last edited by mlnm; 08-15-2011 at 11:46 AM. Reason: spelling mistake
 
Old 08-15-2011, 12:42 PM   #2
nerak99
Member
 
Registered: Feb 2006
Distribution: FC 15
Posts: 42

Rep: Reputation: 2
Well lets see what your OS is.

Is it Redhat enterprise Linux?
What is the contents of your yum.repos.d/<Base> file?

Are you on a network with a proxy or other blockage (such as a firewall) between you and the Internet.
 
Old 08-15-2011, 02:02 PM   #3
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
every thing is alright with firewalls but , i cant find noarch rpms in the ftp site, i only find debuginfo rpma

Last edited by mlnm; 08-15-2011 at 02:03 PM. Reason: word mistake
 
Old 08-15-2011, 03:39 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server
a bit odd for a base url
it should look something like this ( for sl6 )
ftp://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/os/


seeing as the only thing in that ftp page is one folder called " en"

is this a registered and licensed install of RHEL5.????? point what 1,2,3,4,5,6

also please post the FULL output of this
Code:
yum repolist all
 
Old 08-16-2011, 01:54 AM   #5
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
Dear john vv the website you provided is not working,when i do yum list it shows all the installed rpms ,but when iam trying to install new rpm and its dependencies ,yum searches and downloads only .debuginfo rpms.(for eg: i wanted to install httpd and its depends and it installed httpd.i386.el5.debuginfo.)I cant find .noarch rpms anywhere in the ftp.redhat.com site.Please provide a solution,urgent.....
 
Old 08-16-2011, 02:21 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
that web address is an EXAMPLE for ScientificLinux6 !!!! -- please READ the name in that link!!!
and NOT RHEL5

your ftp is MISSING " ...... $releasever/$basearch/os/ "
that part

if need be call ( yes on the phone) your paid for red hat support
the support YOU DID buy with the REQUIRED license
for the server
https://www.redhat.com/apps/store/server/
for a desktop install
https://www.redhat.com/apps/store/desktop/

Quote:
when i do yum list it shows all the installed rpms
That is NOT the command i posted I DID NOT POST "YUM LIST" !!!!!
i posted
Code:
yum repolist all
REPOLIST !!!!!!!!!!!!!

it outputs a list of all on and off installed software repos .
contact your paid for red support
https://www.redhat.com/support/

"debuginfo rpms."
that output from "yum repolist all" would have shown that the debug source is turned on




Quote:
I cant find .noarch rpms anywhere in the ftp.redhat.com site.Please provide a solution,urgent.....
that is NOT urgent
contact red hat
buy a REQUIRED license
and activate your install - also required
and add rhn to the yum repository - also required



PS.
is this still the same laptop and the same old rhel5.0 ( current is 5.6)
https://www.linuxquestions.org/quest...roblem-889358/
or
the 5.4 install here
https://www.linuxquestions.org/quest...ocally-890007/

on July 1 it was 5.0 on July 5 it was 5.4
today it is 5.?

Last edited by John VV; 08-16-2011 at 02:37 AM.
 
Old 08-16-2011, 03:45 AM   #7
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
thank u so much for all the help john vv ,i think that there is something wrong in baseurl would u plz post me how the base url exactly should look like.And what would $releasever/$basearch/os/ mean , bcoz normally i configure rheldebuginfo by puting server name or ip and /pub or complete path.

Please post the entire baseurl, if it doesnt work out then i will take rhn support.
 
Old 08-16-2011, 03:54 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
thank u so much for all the help john vv ,i think that there is something wrong in baseurl would u plz post me how the base url
1)
call red hat
2)
buy a license
3)
activate your install
the rhn repo will be turned on
https://access.redhat.com/subscriptions
click on "Active Subscriptions"
https://www.redhat.com/wapps/sso/log...criptions.html
sign up
 
Old 08-16-2011, 09:22 AM   #9
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
/etc/yum.repos.d/rheldebuginfo

name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/$releasever/$basearch/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
when i do yum repolist all nothing happens,out put is as follows:

usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update, groupupdate, info, search, check-update, list, remove, clean, grouperase >

options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run entirely from cache, don't update cache
-c [config file] config file location
-R [minutes] maximum command wait time
-d [debug level] debugging output level
-e [error level] error output level
-y answer yes for all questions
--version show Yum version and exit
--installroot=[path] set install root
--enablerepo=[repo] enable one or more repositories (wildcards allowed)
--disablerepo=[repo] disable one or more repositories (wildcards allowed)
-x [package], --exclude=[package]
exclude package(s) by name or glob
--obsoletes enable obsoletes processing during updates
--noplugins disable Yum plugins
please help ...
 
Old 08-16-2011, 11:19 AM   #10
nerak99
Member
 
Registered: Feb 2006
Distribution: FC 15
Posts: 42

Rep: Reputation: 2
You have installed a Redhat version of Linux and you need a license.

You must

EITHER

1) Follow John's advice and activate your licensed version of RH5

OR

2) Install Centos which is likely to all of what you want out of the box.
 
  


Reply


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
YUM problem on Godaddy Linux virtual dedicated server gcorns Linux - Newbie 1 04-19-2011 02:13 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
Yum / RPM problem deleting mysql-server mperkel Fedora 7 11-14-2006 09:45 PM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 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