LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing and try to update firefox with yum (https://www.linuxquestions.org/questions/linux-software-2/installing-and-try-to-update-firefox-with-yum-738729/)

kashif2131971 07-08-2009 06:01 PM

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

PTrenholme 07-08-2009 07:52 PM

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


John VV 07-08-2009 10:31 PM

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

kashif2131971 07-09-2009 05:22 AM

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

John VV 07-09-2009 02:26 PM

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 $$$


All times are GMT -5. The time now is 01:57 AM.