Hi, On 10/12/06, Zhang, Yanmin <yanmin_zhang@xxxxxxxxxxxxxxx> wrote:
I built up new CD with the latest rpms on my IA64 tiger machine, but I failed to install it on IA64. anaconda reported an exception. See below log. ********************Begin of log******************************* Traceback (most recent call first): File "/usr/lib/anaconda/yuminstall.py", line 209, in __get headers = self.__headersListFromDict() File "/usr/lib/anaconda/yuminstall.py", line 285, in getPackage cache=cache File "/usr/lib/anaconda/yuminstall.py", line 137, in callback fn = repo.getPackage(po) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 454, in runTransaction errors = self.ts.run(cb.callback, '') File "/usr/lib/anaconda/yuminstall.py", line 560, in _run self.runTransaction(cb=cb) File "/usr/lib/anaconda/yuminstall.py", line 535, in run self._run(instLog, cb, intf) File "/usr/lib/anaconda/yuminstall.py", line 1277, in doInstall self.ayum.run(self.instLog, cb, anaconda.intf, anaconda.id) File "/usr/lib/anaconda/backend.py", line 163, in doInstall anaconda.backend.doInstall(anaconda) File "/usr/lib/anaconda/dispatch.py", line 199, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 122, in gotoNext self.moveStep() File "/usr/lib/anaconda/text.py", line 540, in run anaconda.dispatch.gotoNext() File "/usr/bin/anaconda", line 956, in ? anaconda.intf.run(anaconda) AttributeError: 'AnacondaYumRepo' object has no attribute '_AnacondaYumRepo__headersListFromDict' Local variables in innermost frame: end: None url: None text: None self: anaconda-base-200610120232.ia64 cache: True reget: simple relative: Fedora/RPMS/libgcc-4.1.1-28.ia64.rpm ********************End of log*******************************
I got same error any way how to solve this?
The exception happened when anaconda tried to install libgcc-4.1.1-28, the first rpm. I checked /usr/lib/python2.4/site-packages/yum/yumRepo.py and found __headersListFromDict is defined in class YumRepository. In file usr/lib/anaconda/yuminstall.py, class AnacondaYumRepo has below new comments/code: #XXX: FIXME duplicated from YumRepository due to namespacing def __get(self, url=None, relative=None, local=None, start=None, end=None, __get calls __headersListFromDict. Why modified it?
regards, Parag. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list