how to update my systems after installation of FC4?
any guide pls?
|
Run from the terminal:
yum update (with root privileges) |
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 ~]# |
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. |
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] |
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 ~]# |
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.
|
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 |
All times are GMT -5. The time now is 06:18 AM. |