* J Sloan <[EMAIL PROTECTED]> [01-04-07 18:18]:
> Every time I've run smart for the past month or so, it spews out
> errors. If I remove /var/lib/smart/cache and /var/lib/smart/channels
> and try again, it makes no difference. As an example, every single
> repo gives this error when I run smart update:
>
> error: Invalid package file format. Invalid header found.
You will have to look at the text generated during 'smart update' for
the gulty site, denoted by "error", and remove:
/var/lib/smart/channels/<error_site>
you will find one to five files. If five, remove ....<error_site>/repmod.xml,
if less than five, remove them all (<error_site>).
> There are always errors like this as well:
>
> Fetching information for 'Packman 3rd Party Package Repository'...
> -> http://packman.inode.at/suse/10.1/repodata/repomd.xml
> repomd.xml
>
> ####################################################################################
> [52%]
> error: Invalid XML file:
> error:
> /var/lib/smart/channels/packman%%http:__packman.inode.at_suse_10.1_repodata_repomd.xml
> error: http://packman.inode.at/suse/10.1/repodata/repomd.xml
> error: mismatched tag: line 11, column 2
>
> What can I do to fix this?
remove the guilty file,
/var/lib/smart/channels/packman%%http:__packman.inode.at_suse_10.1_repodata_repomd.xml
Smart should be capable (smart enough) of self-policing itself,
removing the errant files itself. I questioned this on the smart-list
and was told what caused the error, but them seemed uninterested in
making an automatic correction available.
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
OpenSUSE Linux http://en.opensuse.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]