Opened 9 years ago

Closed 9 years ago

#128 closed defect (invalid)

AttributeError

Reported by: raiko Owned by:
Priority: major Milestone:
Component: rpm Version:
Severity: Keywords:
Cc:

Description

Just installed rpm, which seemed to have completed correctly, however I get an error when trying to use the console:


Repository setup

package os2-release-00-2.oc00.noarch is already installed
package netlabs-rel-0.0.0-4.oc00.i386 is already installed

Testing internet connection: "yum repolist"...
Traceback (most recent call last):

File "J:\TMP\YUMBT\USR\BIN\YUM", line 29, in <module>

yummain.user_main(sys.argv[1:], exit_code=True)

File "/@unixroot/usr/share/yum-cli/yummain.py", line 288, in user_main

errcode = main(args)

File "/@unixroot/usr/share/yum-cli/yummain.py", line 98, in main

base.getOptionsConfig(args)

File "/@unixroot/usr/share/yum-cli/cli.py", line 253, in getOptionsConfig

(opts, self.cmds) = self.optparser.setupYumConfig(args=args)

File "/@unixroot/usr/share/yum-cli/cli.py", line 1599, in setupYumConfig

self.base.setupKeyImportCallbacks()

File "/@unixroot/usr/share/yum-cli/output.py", line 1225, in setupKeyImportCal

lbacks

gpgca_import_func = self.getCAKeyForRepo

AttributeError?: 'YumBaseCli?' object has no attribute 'getCAKeyForRepo'

[J:\]


Change History (3)

comment:1 Changed 9 years ago by Yuri Dario

The console is supposed to be used only to install yum the first time or to recover broken installations.
Which bootstrap package did you use?

comment:2 Changed 9 years ago by raiko

rpm-yum-bootstrap-1_5-p4.wpi

Tried 'yum search qt4' and that gives a listing of various packages.
Guess it works after all so this ticket can be closed.

comment:3 Changed 9 years ago by Yuri Dario

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.