LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Yum crashing mid update (https://www.linuxquestions.org/questions/fedora-35/yum-crashing-mid-update-424824/)

u6jaf 03-14-2006 03:32 PM

Yum crashing mid update
 
Hi all,

Having a couple of issues lately trying to update packages via yum, get the following message after several packages have been downloaded on entering the command yum update.

Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 170, in main
base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 653, in doTransaction
problems = self.downloadPkgs(downloadpkgs)
File "__init__.py", line 609, in downloadPkgs
File "repos.py", line 624, in get
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 414, in urlgrab
return self._mirror_try(func, url, kw)
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 392, in _mirror_try
mirrorchoice = self._get_mirror(gr)
File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 290, in _get_mirror
return gr.mirrors[gr._next]
IndexError: list index out of range

System details:
Linux nugget.mistry-fletcher.net 2.6.15-1.1831_FC4 #1 Tue Feb 7 13:37:42 EST 2006 i686 athlon i386 GNU/Linux

Cheers

jon

macemoneta 03-14-2006 09:45 PM

I suggest a:

yum --enablerepo=* clean all

Followed by a:

yum -y update yum

If that's successful (no errors), then you are good to go. Otherwise, you might want to change mirrors.


All times are GMT -5. The time now is 09:05 AM.