Yum Update not working

Kam Leo kam.leo at gmail.com
Sun Dec 3 07:02:56 UTC 2006


On 12/2/06, Norm <maillist at sios.ca> wrote:
> I had to reinstall  Core 6.  Everything has gone well until I tried to
> up date
> At the command line if I try yum  update I get the following error
> ftp://ftp.safe.ca/pub/clement-2.1/repodata/repomd.xml: [Errno 4]
> IOError: [Errno ftp error] 550 Failed to change directory.
> Trying other mirror.
> Error: Cannot open/read repomd.xml file for repository: clement
>  From the gui if I use the "software updater" I receive this error in an
> "unable to retrieve information box "Cannot open/read repomd.xml file
> for repository: clement"
> I have yum updater enabled but it does not return any indication of
> updates after I reboot the system.
> When I go to the ftp site I notice that there seems to be a missing
> subdirectory in the address between clement-2.1 and repodata. the ftp
> site indicates there should be a "fc6" subdirectory.  The bottom is
> there must be another way to do updates, what is it?
> Norm
>
>

I recommend that you use a specific repository instead of using the
mirrorlist. Go to http://fedoraproject.org/wiki/Mirrors, find a fast
server close to where you live, get the URL for  the update directory,
edit /etc/yum.repos.d/fedora-updates.repo, remove the "#" in front of
"baseurl", insert the URL of your new repo after the "=" sign, and
move the existing URL to the next line. For example:

# cat /etc/yum.repos.d/fedora-updates.repo
[updates]
name=Fedora Core $releasever - $basearch - Updates
baseurl=ftp://mirrors.kernel.org/fedora/core/updates/$releasever/$basearch/
        http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

You can also do the same for fedora-core.repo.

Instead of using YUM based applications try Smart Package Manager
(smart, smart-gui, smart-update and ksmarttray).  If yum is still
giving you problems download the rpms from Extras using your browser
and install with rpm.




More information about the fedora-list mailing list