Re: Yum will not update.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/20/06, Kam Leo <kam.leo@xxxxxxxxx> wrote:
> On 4/20/06, david walcroft <david_walcroft@xxxxxxxxxxxx> wrote:
> > Kam Leo wrote:
> > > On 4/20/06, david walcroft <david_walcroft@xxxxxxxxxxxx> wrote:
> > >> Hi,
> > >>    As the subject states I can not get yum to update I know my mirrors
> > >> are carrying a lot of files for downloading,I ran 'yum clean all' and
> > >> 'rpm -rebuilddb'. There are no errors in /var/log/messages, what can I
> > >> do about it.
> > >>
> > >>    Thanks   david
> > >>
> > >
> > > Provide more detailed information so people have something to work
> > > with. For example: Which release of Fedora are you using? What are the
> > > contents of /etc/yum.conf and the contents of the .repo files in
> > > /etc/yum.repos.d/?
> > >
> > Ok I forgot to put in FC 5,here are the files you requested.I have not
> > provided all the repo's as their are to many so these I use mainly.
> >
> >   david
> >
> >
> > [main]
> > cachedir=/var/cache/yum
> > debuglevel=20
> > logfile=/var/log/yum.log
> > pkgpolicy=newest
> > distroverpkg=fedora-release
> > exclude=pcmcia* *pilot* kdesdk* lirch* *ppp* wireless-tools NetworkManager
> > keepcache=1
> > tolerant=1
> > exactarch=1
> > timeout=16
> > retries=2
> > obsoletes=1
> > gpgcheck=1
> >
> > # PUT YOUR REPOS HERE OR IN separate files named file.repo
> > # in /etc/yum.repos.d
> >
> >
> > [at-stable]
> > name=ATrpms for Fedora Core $releasever stable
> > baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
> > type = rpm-md
> > enabled=0
> > gpgcheck=1
> >
> > [at-good]
> > name=ATrpms for Fedora Core $releasever good
> > baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/good
> > type = rpm-md
> > enabled=0
> > gpgcheck=1
> >
> > [at-testing]
> > name=ATrpms for Fedora Core $releasever testing
> > baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/testing
> > type = rpm-md
> > enabled=0
> > gpgcheck=1
> >
> > [at-bleeding]
> > name=ATrpms for Fedora Core $releasever bleeding
> > baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/bleeding
> > type = rpm-md
> > enabled=0
> > gpgcheck=1
> >
> >
> > [atrpms-stable]
> > name=ATrpms for Fedora Core $releasever stable
> > baseurl=http://dl.atrpms.net/fc4-i386/atrpms/stable
> > type = rpm-md
> > enabled=0
> > gpgcheck=1
> >
> >
> >
> > [dag]
> > name=Dag APT Repository
> > baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag/
> > type = rpm-md
> > enabled=0
> > gpgcheck=1
> >
> >
> >
> > [dries]
> > name=Extra Fedora rpms dries - $releasever - $basearch
> > baseurl=http://apt.sw.be/dries/fedora/linux/$releasever/$basearch/dries/RPMS/
> > http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS/
> > mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
> > type = rpm-md
> > enabled=0
> > gpgcheck=1
> >
> >
> >
> > [base]
> > name=Fedora Core $releasever - $basearch - Base
> > mirrorlist=file:///etc/yum.repos.d/local-base
> > type = rpm-md
> > enabled=1
> > gpgcheck=1
> >
> >
> >
> > [fedora-stable]
> > name=Fedora.us Extras (Stable)
> > baseurl=http://mirrors.kernel.org/fedora.us/fedora/fedora/$releasever/$basearch/RPMS.stable
> >         http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.stable
> > type = rpm-md
> > enable=1
> > gpgcheck=1
> >
> >
> > # $Id: freshrpms.repo 3341 2005-06-28 18:40:26Z thias $
> > [freshrpms]
> > name=Fedora Core $releasever - $basearch - Freshrpms
> > baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
> > mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
> > type = rpm-md
> > enabled=0
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
> > gpgcheck=1
> >
> >
> > [livna]
> > name=Livna for Fedora Core $releasever - $basearch - Base
> > baseurl=
> >         http://rpm.livna.org/fedora/$releasever/$basearch/
> >         http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
> >         http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
> >         http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
> > failovermethod=priority
> > #mirrorlist=http://rpm.livna.org/mirrorlist-5
> > enabled=0
> > gpgcheck=1
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
> >
> > [livna-debuginfo]
> > name=Livna for Fedora Core $releasever - $basearch - Debug
> > baseurl=
> >         http://rpm.livna.org/fedora/$releasever/$basearch/debug/
> >         http://livna.cat.pdx.edu/fedora/$releasever/$basearch/debug/
> >         http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/debug/
> >         http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/debug/
> > failovermethod=priority
> > enabled=0
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
> > gpgcheck=1
> >
> > [livna-source]
> > name=Livna for Fedora Core $releasever - $basearch - Source
> > baseurl=
> >         http://rpm.livna.org/fedora/$releasever/SRPMS/
> >         http://livna.cat.pdx.edu/fedora/$releasever/SRPMS/
> >         http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/SRPMS/
> >         http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/SRPMS/
> > failovermethod=priority
> > enabled=0
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
> > gpgcheck=1
> >
> >
> > # planetmirror base
> > # http://public.planetmirror.com/pub/fedora/linux/core/$releasever/$basearch/os
> > ftp://reddwarf:4skin46@xxxxxxxxxxxxxxxxxxxxxxxx/pub/fedora/linux/core/$releasever/$basearch/os/
> > # ftp://reddwarf@xxxxxxxxxxxxxxxxxxxxxxxx/pub/fedora/linux/core/$releasever/$basearch/os/
> > http://premium.planetmirror.com/pub/fedora/linux/core/$releasever/$basearch/os/
> > ftp://mirror.pacific.net.au/linux/redhat/fedora/$releasever/$basearch/os/
> >
> > # planetmirror devel
> > ftp://reddwarf:4skin46@xxxxxxxxxxxxxxxxxxxxxxxx/pub/fedora/linux/core/development/i386/
> > ftp://planetmirror.com/pub/fedora/linux/core/development/i386/
> > http://mirror.pacific.net.au/linux/redhat/fedora/core/development/4/i386/
> >
> >
> >
> > # local-extras
> > http://reddwarf:4skin46@xxxxxxxxxxxxxxxxxxxxxxxx/pub/fedora/linux/extras/$releasever/$basearch/
> > ftp://reddwarf:4skin46@xxxxxxxxxxxxxxxxxxxxxxxx/pub/fedora/linux/extras/$releasever/$basearch/
> > http://mirror.optus.net/fedora/extras/$releasever/$basearch/
> > http://premium.planetmirror.com/pub/fedora/linux/extras/$releasever/$basearch/
> > http://premium.planetmirror.com/pub/fedora/linux/extras/4/i386/
> > ftp://ftp.planetmirror.com/pub/fedora/linux/extras/5/i386/
> >
> >
> > # planetmirror updates
> > ftp://reddwarf:4skin46@xxxxxxxxxxxxxxxxxxxxxxxx/pub/fedora/linux/updates/$releasever/$basearch/
> > http://planetmirror.com/pub/fedora/linux/updates/$releasever/$basearch/
> > http://mirror.pacific.net.au/linux/redhat/fedora/updates/$releasever/$basearch/
> > ftp://mirror.pacific.net.au/linux/redhat/fedora/updates/$releasever/$basearch/
> > ftp://mirror.aarnet.edu.au/pub/fedora/linux/updates/$releasever/$basearch/
> > http://mirror.optus.net/fedora/core/updates/$releasever/$basearch/
> >
> >
> > http://apt.sw.be/dries/fedora/fc4/$ARCH/dries/RPMS
> > http://archive.cs.uu.nl/mirror/dag.wieers/dries/fedora/fc4/$ARCH/dries/RPMS
> > http://ftp2.lcpe.uni-sofia.bg/freshrpms/pub/dag/dries/fedora/fc4/$ARCH/dries/RPMS
> > #http://ftp.heanet.ie/pub/freshrpms/pub/dag/dries/fedora/fc4/$ARCH/dries/RPMS
> > http://ftp-stud.fht-esslingen.de/dag/dries/fedora/fc4/$ARCH/dries/RPMS
> > http://mirror.cpsc.ucalgary.ca/mirror/dag/dries/fedora/fc4/$ARCH/dries/RPMS
> > http://mirrors.ircam.fr/pub/dag/dries/fedora/fc4/$ARCH/dries/RPMS
> > http://rh-mirror.linux.iastate.edu/pub/dag/dries/fedora/fc4/$ARCH/dries/RPMS
> > http://rpmfind.net/linux/dag/dries/fedora/fc4/$ARCH/dries/RPMS
> > http://wftp.tu-chemnitz.de/pub/linux/dag/dries/fedora/fc4/$ARCH/dries/RPMS
> > http://www.mirrorservice.org/sites/apt.sw.be/dries/fedora/fc4/$ARCH/dries/RPMS
> >
> >
> > [newrpms]
> > name=Fedora Core 4 - i386 - NewRPMS
> > baseurl=http://newrpms.atrpms.net/apt/redhat/en/i386/fc4
> >  http://newrpms.sunsite.dk/apt/redhat/en/i386/fc4
> > failovermethod=priority
> > type = rpm-md
> > enabled=0
> > gpgcheck=1
> >
> > # Name: RPMforge RPM Repository for Fedora Core 4 - i386
> > # URL: http://rpmforge.net/
> > [rpmforge]
> > name = Fedora Core 4 - i386 - RPMforge.net - dries
> > baseurl = http://apt.sw.be/dries/fedora/fc4/$basearch/dries/RPMS
> > # mirrorlist = http://apt.sw.be/dries/fedora/fc4/mirrors-rpmforge
> > mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
> > type = rpm-md
> > enabled = 0
> > gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dries
> > gpgcheck = 1
> >
> >
>
> Is the above all from yum.conf?
>

You seem to be quite capable of shooting yourself in the foot so I
will not help you with the debugging of your repo files.  I will,
however, quote a troubleshooting tip:

TIP:  When modifying a system always back up file(s) before you modify.

That way you can fall back to them when things go wrong.

Now, move all the .repo files except fedora-core.repo,
fedora-updates.repo, and fedora-extras.repo into new directory, e.g.
/etc/yum.repos.d/other. Make sure that the three remaining
fedora-xxxx.repo files have "enabled=1" set. Undo any changes that you
have made to yum.conf. If those files do not work get back to the
list.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux