LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 07-08-2009, 06:01 PM   #1
kashif2131971
Member
 
Registered: Mar 2008
Posts: 60

Rep: Reputation: 16
installing and try to update firefox with yum


try yum for update or install firefox following message generate after runing yum.

Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: firefox
Nothing to do
 
Old 07-08-2009, 07:52 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Look at your third output line, above. Clearly, if you have no repositories configured, you can't get anything from any repositories.

The basic repository definitions should have been set up for you when you installed Fedora. Here's what you should see in /etc:
Code:
$ ls /etc/yum*
/etc/yum.conf

/etc/yum:
pluginconf.d

/etc/yum.repos.d:
fedora.repo                  
fedora-updates.repo
rpmfusion-free.repo
rpmfusion-free-updates.repo
rpmfusion-nonfree.repo             
rpmfusion-nonfree-updates.repo
This is what the basic yum configuration file looks like:
Code:
$ cat /etc/yum.conf                               
[main]                                                             
cachedir=/var/cache/yum                                            
keepcache=0                                                        
debuglevel=2                                                       
logfile=/var/log/yum.log                                           
exactarch=1                                                        
obsoletes=1                                                        
gpgcheck=1                                                         
plugins=1                                                          
installonly_limit=3
And here's what the Fedora repository definitions should look like:
Code:
$ cat /etc/yum.repos.d/fedora.repo
[fedora]                                                  
name=Fedora $releasever - $basearch                       
failovermethod=priority                                   
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/                                                                                 
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch 
enabled=1                                                                                    
metadata_expire=7d                                                                           
gpgcheck=1                                                                                   
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch                                  

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority                    
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/                                                                              
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch                                                                                        
enabled=0                                                                                    
metadata_expire=7d                                                                           
gpgcheck=1                                                                                   
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch                                  

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority         
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/                                                                                 
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

$ cat /etc/yum.repos.d/fedora-updates.repo
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
 
Old 07-08-2009, 10:31 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 13,024

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
if you are using fedora
Firefox 3 ( or 3.5 ) IS INSTALLED be default

It would HELP if you told us WHAT DISTRO YOU ARE USING
 
Old 07-09-2009, 05:22 AM   #4
kashif2131971
Member
 
Registered: Mar 2008
Posts: 60

Original Poster
Rep: Reputation: 16
installing firefox 3.5 with yum

using redhat el4 linux and try yum for update or install firefox following message generate after runing yum.

Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: firefox
Nothing to do

my /etc/yum.conf is empty no idea what to do?
got help of federo but not el4 linux
regards
 
Old 07-09-2009, 02:26 PM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 13,024

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
kashif2131971
i take it you DID NOT pay Red Hat for tech support and for UPDATES . also rhel 4 is old ( 2003) it is supported but getting new code to run in it is near impossible .

i would install CentOS 5.3 . the community supported RHEL clone

or pay Red Hat $$$
 
  


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 question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
erased yum.conf by forced yum-update in RHEL5.3, need help curiocurio Red Hat 3 04-21-2009 03:33 AM
Trouble installing firefox in fedora 8 using yum sugantha Linux - Newbie 9 02-10-2008 12:58 PM
FC4: yum update firefox - missing deps dtmax Linux - Software 2 02-25-2006 12:52 PM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM


All times are GMT -5. The time now is 08:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration