[ATrpms-users] yum and smart problem

Axel Thimm Axel.Thimm at ATrpms.net
Fri Dec 15 00:33:24 CET 2006


On Thu, Dec 14, 2006 at 06:22:35PM -0500, Matt Hannan wrote:
> I noticed this in my logs last night. It seems odd to me that both yum
> and smart are borking with pretty much the same error.
> Anyone have any ideas on what died? More importantly, anyone know what I
> should do to fix it?

These are two different issues really. For the smart issue see below -
the yum issue is a yum-kmdl-plugin which existed in the repo only for
a couple of hours over last weekend and uses some bits available to
yum 3.x only (FC6). You need to update to the lastest available
yum-plugin-kmdl to fix this, either via smart/apt, or you can disable
the plugin by editing /etc/yum/pluginconf.d/kmdl.conf. Reenable it
after the upgrade if you need its functionality (if you use kmdls, you
do need it).

The smart issue seems to be an incomplete download from metadata from
an apt repo. If it was a temporary failure, e.g. the repo was donw and
is now back online, then a new smart update invocation will fix that.

> I am running FC5.
> 
> Thanks,
> Matt
> 
> /etc/cron.daily/0check4updates:
> 
> Traceback (most recent call last):
>   File "/usr/bin/smart", line 194, in ?
>     main(sys.argv[1:])
>   File "/usr/bin/smart", line 167, in main
>     exitcode = iface.run(opts.command, opts.argv)
>   File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run
>     result = _command.main(self._ctrl, opts)
>   File "/usr/lib/python2.4/site-packages/smart/commands/upgrade.py", line 85, in main
>     ctrl.reloadChannels()
>   File "/usr/lib/python2.4/site-packages/smart/control.py", line 351, in reloadChannels
>     if not channel.fetch(self._fetcher, progress):
>   File "/usr/lib/python2.4/site-packages/smart/channels/apt_rpm.py", line 187, in fetch
>     fetcher.run(progress=progress)
>   File "/usr/lib/python2.4/site-packages/smart/fetcher.py", line 190, in run
>     self.runLocal()
>   File "/usr/lib/python2.4/site-packages/smart/fetcher.py", line 179, in runLocal
>     handler.runLocal()
>   File "/usr/lib/python2.4/site-packages/smart/fetcher.py", line 698, in runLocal
>     uncomphandler.uncompress(localpath)
>   File "/usr/lib/python2.4/site-packages/smart/uncompress.py", line 74, in uncompress
>     data = input.read(BLOCKSIZE)
> EOFError: compressed file ended before the logical end-of-stream was detected
> /etc/cron.daily/logrotate:
> 
> error: clamav-update:1 duplicate log entry for /var/log/freshclam.log
> /etc/cron.daily/yum.cron:
> 
> 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 97, in main
>     result, resultmsgs = do()
>   File "/usr/share/yum-cli/cli.py", line 451, in doShell
>     yumshell.script()
>   File "/usr/share/yum-cli/shell.py", line 64, in script
>     self.onecmd(line)
>   File "/usr/lib/python2.4/cmd.py", line 219, in onecmd
>     return func(arg)
>   File "/usr/share/yum-cli/shell.py", line 142, in do_ts
>     self.do_transaction(line)
>   File "/usr/share/yum-cli/shell.py", line 168, in do_transaction
>     return self.do_run('')
>   File "/usr/share/yum-cli/shell.py", line 301, in do_run
>     (code, msgs) = self.base.buildTransaction()
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 402, in buildTransaction
>     self.plugins.run('postresolve', rescode=rescode, restring=restring)
>   File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 164, in run
>     func(conduitcls(self, self.base, conf, **kwargs))
>   File "/usr/lib/yum-plugins/kmdl.py", line 98, in postresolve_hook
>     kmdl_install(conduit, kernels, kmdls(conduit))
>   File "/usr/lib/yum-plugins/kmdl.py", line 41, in kmdls
>     for package in conduit.getRpmDB().returnPackages():
> AttributeError: RpmDBHolder instance has no attribute 'returnPackages'
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20061215/18c9402c/attachment.bin 


More information about the atrpms-users mailing list