How To Force Yum To Update

Christofer C. Bell christofer.c.bell at gmail.com
Mon Jan 23 01:42:01 UTC 2006


On 1/22/06, jdow <jdow at earthlink.net> wrote:
> From: "Robert L Cochran" <cochranb at speakeasy.net>
>
> > Yesterday I attempted to service my mother-in-law's FC4 computer, which
> > I know needs about 100 Mb or so worth of updates -- most of that for
> > OpenOffice. I only have a short window of opportunity to do this since
> > she lives a fair distance. Each time I ran 'yum update' I would get
> > responses very similar to this:
> >
> > [...]
> > Reading repository metadata in from local files
> > primary.xml.gz            100% |=========================| 969 kB    00:34
> > extras    : ################################################## 2815/2815
> > Added 15 new packages, deleted 12 old in 3.45 seconds
> > No Packages marked for Update/Obsoletion


I don't see the fedora-updates repository in there.  She's not getting
updates because her machine isn't configured to install them.

Create a file in /etc/yum.repos.d called fedora-updates that contains
the following:

[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

Then re-run 'yum update'.

--
Chris

"I trust the Democrats to take away my money, which I can afford.  I
trust the Republicans to take away my freedom, which I cannot."




More information about the fedora-list mailing list