On Tue, 2003-04-08 at 12:48, Axel Thimm wrote: > On Tue, Apr 08, 2003 at 12:10:13AM -0400, seth vidal wrote: > > On Mon, 2003-04-07 at 19:10, Miles Egan wrote: > > > Trying to uninstall gnome-libs and all dependencies on a pretty stock > > > redhat 9 box gives me this: > > > > > > Finding updated packages > > > Downloading needed headers > > > Resolving dependencies > > > Traceback (most recent call last): > > > File "/usr/bin/yum", line 45, in ? > > > yummain.main(sys.argv[1:]) > > > File "yummain.py", line 221, in main > > > File "nevral.py", line 325, in resolvedeps > > > UnboundLocalError: local variable 'arch' referenced before assignment > > > > I have this disorder. Acutely occuring chronic stupidity. it's very sad. > > > > patch attached - see if it works for you. > > When a file changes its timestamp (for example, when you apply the patch), the > Makefile triggers some internationalization stuff and fails due to missing > permissions: > > ./pygettext.py --default-domain=yum --verbose --output-file=yum.po --keyword=_ --keyword=N_ ../archwork.p\ > y ../bootloadercfg.py ../callback.py ../checkbootloader.py ../clientStuff.py ../comps.py ../config.py ../\ > depchecktree.py ../grubcfg.py ../i18n.py ../iutil.py ../keepalive.py ../lilo.py ../lilocfg.py ../logger.p\ > y ../nevral.py ../pkgaction.py ../progress_meter.py ../pullheaders.py ../rpmUtils.py ../serverStuff.py ..\ > /translate.py ../up2datetheft.py ../urlgrabber.py ../yumcomps.py ../yumlock.py ../yummain.py ../bin/yum .\ > ./bin/yum-arch > make[1]: execvp: ./pygettext.py: Permission denied thanks for noting this - it was reported the fedora bugzilla as well, it's been fixed. Thanks chmod +x pygettext.py fixes the problem. -sv