[Yum] yum 3.2.5 - yum-rhn-plugin incompatibility
seth vidal
skvidal at fedoraproject.org
Thu Oct 4 03:21:20 UTC 2007
On Thu, 2007-10-04 at 10:15 +0700, Fajar A. Nugraha wrote:
> I just noticed this error :
>
> # yum list yum
> Loading "installonlyn" plugin
> Loading "rhnplugin" plugin
> Loading "tsflags" plugin
> Loading "priorities" plugin
> Loading "skip-broken" plugin
> https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-cluster-5/repodata/repomd.xml:
> [Errno 14] HTTP Error 405: Method Not Allowed
> Trying other mirror.
> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> rhel-x86_64-server-cluster-5. Please verify its path and try again
>
> System running RHEL5, yum-3.2.5, yum-rhn-plugin-0.4.3-2.el5
the method not allowed item is what's going on there but that doesn't
have anything to do with yum 3.2.5.
> On a side note, running yum-3.0.6 with yum-metadata-parser-1.1.2 gives
> this error :
> Traceback (most recent call last):
> File "/usr/bin/yum", line 29, in ?
> yummain.main(sys.argv[1:])
> File "/usr/share/yum-cli/yummain.py", line 94, in main
> result, resultmsgs = base.doCommands()
> File "/usr/share/yum-cli/cli.py", line 381, in doCommands
> return self.yum_cli_commands[self.basecmd].doCommand(self,
> self.basecmd, self.extcmds)
> File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand
> return base.updatePkgs(extcmds)
> File "/usr/share/yum-cli/cli.py", line 696, in updatePkgs
> updating_pkg = self.getPackageObject(new)
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1473, in
> getPackageObject
> pkgs = self.pkgSack.searchPkgTuple(pkgtup)
> File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 66,
> in searchPkgTuple
> return self.searchNevra(name=n, arch=a, epoch=e, ver=v, rel=r)
> File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 232,
> in searchNevra
> return self._computeAggregateListResult("searchNevra", name, epoch,
> ver, rel, arch)
> File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 369,
> in _computeAggregateListResult
> sackResult = apply(method, args)
> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 574,
> in searchNevra
> returnList.append(self.pc(rep,self.db2class(x)))
> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 431,
> in db2class
> y.checksum = {'pkgid': 'YES','type': db.checksum_type,
> File "/usr/lib64/python2.4/site-packages/sqlite/main.py", line 97, in
> __getattr__
> raise AttributeError, key
> AttributeError: CHECKSUM_VALUE
>
> So I reverted back to yum-metadata-parser-1.0-8.fc6
known - yes.
-sv
More information about the Yum
mailing list