Bug#35573: dpkg: dpkg --info <two_or_more_deb_files> returns garbage
Le Mon, Apr 05, 1999 at 07:54:20AM +0000, Michele Bini écrivait:
> Package: dpkg
> Version: 220.127.116.11
> This bug seems trivial to reproduce:
> 'dpkg --info <deb_file>' works fine, but,
> 'dpkg --info <deb_file1 deb_file2 ...>' returns an output
> similar to 'cat /dev/urandom', probably compressed data.
This commande will never do what you expected. Read the man page :
dpkg -I | --info filename [control-file]
Show information about a package.
Provides information about a binary package
If no control-file-names are specified then it will
print a summary of the contents of the package as
well as its control file.
If any control-file-names are specified then
dpkg-deb will print them in the order they were
specified; if any of the components weren't present
it will print an error message to stderr about each
one and exit with status 2.
The second argument may not be a second package filename but the
name of the control-file to look for. And if the name isn't valid
it produces an error like that :
~@p200$ LC_ALL=C dpkg -I perl-base_5.005.02-2_i386.deb deb
dpkg-deb: `perl-base_5.005.02-2_i386.deb' contains no control component `deb'
dpkg-deb: at least one requested control component missing
I'm using dpkg 18.104.22.168 here.
I think that you should give us the precise command-line that produced
the strange ouput ...
Hertzog Raphaël >> 0C4CABF1 >> http://prope.insa-lyon.fr/~rhertzog/