up2date via local dir

Adrian Likins alikins at redhat.com
Fri Jan 16 04:47:01 UTC 2004


On Thu, Jan 15, 2004 at 09:13:54PM -0600, Mike Chambers wrote:
> On Thu, 2004-01-15 at 20:46, Adrian Likins wrote:
> 
> > seems to work for me with 4.3.8 pointing at a dir
> > of fedora "testing" updates. 
> 
> I mirror rawhide on my server and use it all the time, just stopped
> going all the way with the last couple of versions.
> 
> > If its a really big set of packages, it can take
> > a bit of time to generate all the info (couple
> > minutes maybe for ~1000 packages for ex)
> 
> I left mine on all night once and it was stuck on the same screen. 
> Although, after doing a -Fvh on rawhide and updating, it did give me the
> "fully updated message and no updates" screen after again trying up2date
> via GUI.
> 
> > wheres the cmdline version freeze?
> 
> [root at homer rhn]# up2date -u
>  
> Fetching Obsoletes list for channel: Rawhide...
>  
> Fetching rpm headers...
> ########################################
> Traceback (most recent call last):
>   File "/usr/sbin/up2date", line 1267, in ?
>     sys.exit(main() or 0)
>   File "/usr/sbin/up2date", line 797, in main
>     fullUpdate, dryRun=options.dry_run))
>   File "/usr/sbin/up2date", line 1141, in batchRun
>     batch.run()
>   File "up2dateBatch.py", line 62, in run
>   File "up2dateBatch.py", line 108, in __findPackagesToUpdate
>   File "packageList.py", line 580, in getPackagesToInstall
>   File "packageList.py", line 609, in __skipPackages
>   File "packageList.py", line 633, in __skipFiles
>   File "rpmUtils.py", line 245, in checkHeaderForFileConfigExcludes
> TypeError: len() of unsized object

	ah, thats a (hopefully temporary) bug in
rpm python... either way I think 4.3.8 has a workaround
for the time being, try that... should hit rawhide in
the next push


Adrian





More information about the fedora-devel-list mailing list