[Yum-devel] how long to hold on to a mirrorlist

Terje Røsten terje.rosten at ntnu.no
Tue Jul 3 22:02:59 UTC 2007


> the above is what I implemented.

I now get:

$ python yummain.py update
Loading "skip-broken" plugin
Loading "changelog" plugin
Loading "priorities" plugin
Loading "installonlyn" plugin
Setting up Update Process
Devel uninett mirror      100% |=========================| 2.1 kB    00:00
Freshrpms                 100% |=========================| 2.1 kB    00:00
0 packages excluded due to repository priority protections
Traceback (most recent call last):
   File "yummain.py", line 193, in <module>
     main(sys.argv[1:])
   File "yummain.py", line 94, in main
     result, resultmsgs = base.doCommands()
   File "/root/sources/yum/cli.py", line 266, in doCommands
     return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
   File "/root/sources/yum/yumcommands.py", line 150, in doCommand
     return base.updatePkgs(extcmds)
   File "/root/sources/yum/cli.py", line 557, in updatePkgs
     updates = self.up.getUpdatesTuples()
AttributeError: 'NoneType' object has no attribute 'getUpdatesTuples'

The latest patchset I have is:

PatchSet 2161
Date: 2007/07/03 21:24:30
Author: skvidal
Branch: HEAD
Tag: (none)
Log:

check if the .repo file or config files are newer than our mirrorlist or
cachecookie files. If so, then invalidate these files.
idea from florian laroche.

Members:
         yum/__init__.py:1.337->1.338
         yum/yumRepo.py:1.51->1.52

Related?


  - Terje




More information about the Yum-devel mailing list