Control: tags -1 -moreinfo
Control: found -1 0.19+nmu1
Hi,
I'm not Rogério, but I can answer Martin's questions as I ran into
this issue, too.
Christoph Martin wrote:
> > On my system, apt-show-versions started complaining with the message:
> >
> > Error: No information about packages! (Maybe no deb entries?)
Same here:
~ # apt-show-versions -i
Error: No information about packages! (Maybe no deb entries?)
> > Of course, I do have deb entries in my system. Reading the source code, I
> > saw that there was this snippet of code:
> >
> > ,----
> > | @files = map { $list_dir . $_} grep /Packages$/, readdir(DIR);
> > `----
> >
> > right there in the initialization of the cache. Since my system only has
> > gzipped files as shown by "ls /var/lib/apt/lists/*Packages*",
> > apt-show-versions goes on to say that it found no informations about the
> > packages, but the files are there, only gzipped (that is, ending with
> > Packages.gz extension, instead of only Packages).
I can confirm that.
> Can you show me the contents of your sources.list?
That doesn't matter.
> In my lists directory are only *Packages files and no *Packages.gz
> files. Where did you get these from?
What matters is the following line in my apt.conf:
Acquire::GzipIndexes "true";
apt.conf(5) says about this setting:
When downloading gzip compressed indexes (Packages, Sources, or
Translations), keep them gzip compressed locally instead of
unpacking them. This saves quite a lot of disk space at the expense
of more CPU requirements when building the local package caches.
False by default.
HTH
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]