LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-27-2005, 11:07 PM   #1
javaxsound
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
how to update my systems after installation of FC4?


any guide pls?
 
Old 07-27-2005, 11:47 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Run from the terminal:

yum update

(with root privileges)

Last edited by WhatsHisName; 07-27-2005 at 11:49 PM.
 
Old 07-28-2005, 01:13 AM   #3
javaxsound
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
this prompted me after issuing yum update, any tutorial available? pls help.

[root@localhost ~]# yum update
Setting up Update Process
Setting up repositories
Cannot find a valid baseurl for repo: updates-released
[root@localhost ~]#
 
Old 07-28-2005, 01:22 PM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Unless you modified /etc/yum.repos.d/fedora-updates.repo, you may be experiencing a networking problem.

But the baseurl error message makes it sound like the fedora-updates.repo baseurl option has been changed to an invalid address. If that is the case, then change back to the mirrorlist option and try the updating again.

If fedora-updates.repo has NOT been changed and you are UNABLE to open the fedora-updates mirror list ( http://fedora.redhat.com/download/mi...s-released-fc4 ) using Firefox, then the problem is not with yum.
 
Old 07-28-2005, 02:53 PM   #5
ashwin_cse
Member
 
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134

Rep: Reputation: 22
Hi,
i think you don't have a file fedora-updates.repo. Check if u have this file in /etc/yum.repo.d/ . In case u don't have this file open gedit & copy the following contents to the file & save the file as fedora-updates.repo

Code:
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
 
Old 07-28-2005, 09:41 PM   #6
javaxsound
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
i got this after yum update:

[root@netsoft ~]# yum update
Setting up Update Process
Setting up repositories
http://planetmirror.com/pub/fedora/l...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: updates-released
failure: repodata/repomd.xml from updates-released: [Errno 256] No more mirrors to try.
[root@netsoft ~]#

here is my fedora-updates.repo:

[root@netsoft ~]# cat /etc/yum.repos.d/fedora-updates.repo
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://planetmirror.com/pub/fedora/linux/core/updates/4/$ARCH/
http://sunsite.icm.edu.pl/pub/Linux/...ore/updates/4/$ARCH/
http://mirrors.csumb.edu/pub/fedora/updates/4/$ARCH/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

here is my fedora.repo:

[root@netsoft ~]# cat /etc/yum.repos.d/fedora.repo
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://planetmirror.com/pub/fedora/linux/core/updates/4/$ARCH/
http://sunsite.icm.edu.pl/pub/Linux/...ore/updates/4/$ARCH/
http://mirrors.csumb.edu/pub/fedora/updates/4/$ARCH/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

here is my sysconfig/rhn/sources:

[root@netsoft ~]# cat /etc/sysconfig/rhn/sources
### This describes the various package repositories (repos) that up2date will
### query for packages. It currently supports apt-rpm, yum, and "dir" repos.

### Format is one repository (repo) entry per line, # starts comments, the
### first word on each line is the type of repo.

### The default RHN (using "default" as the url means use the one in the
### up2date config file).
#up2date default

### Note: when a channel label is required for the non up2date repos,
### the label is solely used as an internal identifier and is not
### based on the url or any other info from the repos.

### An apt style repo (the example is arjan's 2.6 kernel repo).
### The format is:
### type channel-label service:server path repo name
#apt arjan-2.6-kernel-i386 http://people.redhat.com ~arjanv/2.5/ kernel

### Note: for apt repos, there can be multiple repo names specified (space
### seperated).

### A yum style repo. The format is:
### type channel-label url

#yum my-favorite-rpms http://my.local.domain/fedora/linux/core/$ARCH/

### A local directory full of packages (a "dir" repo). For example:
#dir my-favorite-rpms /var/spool/RPMS/

### Repo Metadata
# Note that setting this makes up2date look in /etc/yum.repos.d/ for
# repository configuration.
# type channel-label url
repomd fedora http://fedora.redhat.com/

# Multiple versions of all repos except "up2date" can be used. Dependencies
# can be resolved "cross-repo" if need be.

[root@netsoft ~]#
 
Old 07-28-2005, 11:26 PM   #7
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
You have overridden the default setups in the .repos files and have selected apparently defective mirrors. Either select a functional mirror for each .repo or revert to the default mirrorlist= option.
 
Old 07-29-2005, 02:26 AM   #8
ashwin_cse
Member
 
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134

Rep: Reputation: 22
Hi,
The url u provided was faulty. It should be http://planetmirror.com/pub/fedora/l...ata/repomd.xml & not i686. Its better that you use the fedora-update.repo file i posted (its the default one provided) b'cos it use mirrorlist instead of relying on single url. So it skips to the next mirror if the one mirror fails.


--ashwin

Last edited by ashwin_cse; 07-29-2005 at 02:34 AM.
 
  


Reply



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
Firefox Update in FC4? carlosinfl Fedora 1 07-15-2005 03:09 PM
FC4-64 wont update kernel V_LESTAT Linux - Newbie 2 07-07-2005 07:30 PM
FC4 doesn't update desktop?? hasshaus Fedora 3 06-20-2005 02:33 AM
apt-get update problem in fc4 bbmak Fedora 2 06-15-2005 09:16 AM
pro and cons of update systems/package managers mvbv-linux Linux - General 1 12-04-2003 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:08 PM.

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