Invalid package file format

Alex one_way at online.de
Thu Aug 10 08:12:59 PDT 2006


Am Donnerstag, 10. August 2006 09:38 schrieb Christoph Thiel:
> > ... When doing an "update", smart (the shell,
> > obviously) doesn't recognize new packages in the channels anymore,
> > though they are definitely on the servers. This goes even on my local
> > package directory.
> > ....
> > error: Invalid package file format. Invalid header found.
> > ...
> This issue seems totally unrelated to the gtk problem.

OK, I gave the posting another name ;).

I deleted /var/lib/smart/cache
smart --shell starts right off with:
---
Smart Package Manager 0.42 - Shell Mode
error: Invalid package file format. Invalid header found.
error: Invalid package file format. Invalid header found.
error: Invalid package file format. Invalid header found.
Updating cache...############################################### [100%]
---

When updateing, a lot of channels give error messages like this:
---
Fetching information for 'SUSE Factory: Non-OSS packages'...
-> 
http://download.opensuse.org/distribution/SL-OSS-factory/non-oss-inst-source/.../media
media                               
############################################### [ 68%]
-> 
http://download.opensuse.org/distribution/SL-OSS-factory/non-oss-inst-source/content
content                             
############################################### [ 72%]
-> http://download.opensuse.org/distribution/SL-OSS-factory/.../packages
packages                            
############################################### [ 76%]
error: Invalid package file format. Invalid header found.
---

The corresponding channel is:

---
[suse-non-oss]
type = yast2
name = SUSE Factory: Non-OSS packages
baseurl  = 
http://download.opensuse.org/distribution/SL-OSS-factory/non-oss-inst-source
---

Looking closer at it, it seems that all channels with "type=yast2" give this 
error (openSUSE Factory, Guru, Packman etc.).

Channels of type "rpm-md" or "rpm-dir" don't give this message, however, new 
packages in this channels aren't recognized. E.g. the following channel:

---
[suse-kde-playground]
type = rpm-md
name = SUSE Factory: Experimental KDE applications
baseurl = http://software.opensuse.org/download/KDE:/Playground/SUSE_Factory/
---
gives only the following result:
---
Fetching information for 'SUSE Factory: Experimental KDE applications'...
-> 
http://software.opensuse.org/download/KDE:/Playground/SUSE_Factory/repodata/repomd.xml
repomd.xml                          
############################################### [  4%]
---

This channel should definitely have new packages as of today.

Hopefully my mail is still readable with all those quotes...



More information about the Smart mailing list