[Yum-devel] how long to hold on to a mirrorlist
seth vidal
skvidal at linux.duke.edu
Tue Jul 3 22:05:38 UTC 2007
On Tue, 2007-07-03 at 18:03 -0400, seth vidal wrote:
> On Wed, 2007-07-04 at 00:02 +0200, Terje Røsten wrote:
> > > 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.
>
> whoops - I was messing with something else and accidentally left that
> change in.
>
> I'll fix it now, thank you.
>
fixed. update again.
-sv
More information about the Yum-devel
mailing list