Bug 135121 - rpmmd doesn't work
rpmmd doesn't work
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: up2date (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Connor
Fanny Augustin
:
Depends On:
Blocks: FC4Blocker
  Show dependency treegraph
 
Reported: 2004-10-08 15:38 EDT by Bill Nottingham
Modified: 2014-03-30 21:37 EDT (History)
4 users (show)

See Also:
Fixed In Version: 4.4.16
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-04 19:51:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Bill Nottingham 2004-10-08 15:38:12 EDT
/etc/sysconfig/rhn/sources has:

rpmmd  wibble file:///usr/local/rawhide/i386/

(or)

rpmmd wibble
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/

up2date -l yields:

# up2date -l
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 1249, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date", line 804, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 1123, in batchRun
    batch.run()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 62, in run
    self.__findPackagesToUpdate()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 97, in
__findPackagesToUpdate
    plist.addGlobs(self.listOfGlobs)
  File "/usr/share/rhn/up2date_client/packageList.py", line 157, in
addGlobs
    availList = rhnPackageInfo.getAvailablePackageList()
  File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 219, in
getAvailablePackageList
    package_list = availablePackageList(
  File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in
availablePackageList
    progressCallback = progressCallback)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 310, in doCall
    ret = apply(method, args, kwargs)
  File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in
listPackages
    return self.handlers[channel['type']].listPackages(channel,
msgCallback, progressCallback)
KeyError: 'rpmmd'
Comment 1 Jos Vos 2005-03-18 17:55:12 EST
Probably because registering "rpmmd" in RepoDirectory.py (last lines) is
commented out (this is the case since long, also in FC4t1's up2date it seems :-( ).
Comment 2 Jason Connor 2005-04-14 13:22:06 EDT
Uncommented the rpmmd repo registration and fixed problem with outdated API
Seems to be working with multiple installs and updates from a rpmmd repo
Comment 3 Adrian Likins 2005-04-26 17:34:57 EDT
rpmmd support has been rewritten as "repomd", it now uses the
YumBase api to do this and will use the same config as yum
(aka, /etc/yum.repos.d) if enabled.

4.4.16

Note You need to log in before you can comment on or make changes to this bug.