[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where to find wifi card info in linux-doc



On Fri 26 Nov 2021 at 17:03:37 (+0100), Christian Britz wrote:
> Stefan Monnier wrote:
> 
> > AFAICT most of the files in `linux-doc/Documentation`  are compressed,
> > so you'd need to use `zgrep`.
> 
> This actually works recursively with the zgrep command from the zutils
> package, thank you!
> 
> The installation of it throws interesting warnings on testing...
> 
> [...]
> dpkg-divert: warning: diverting file '/bin/zgrep' from an Essential
> package with rename is dangerous, use --no-rename
> dpkg-divert: warning: diverting file '/usr/share/man/man1/zgrep.1.gz'
> from an Essential package with rename is dangerous, use --no-rename
> [...]

You see this merely because a file like /bin/zgrep is essential, but
it's going to be renamed to /bin/zgrep.gzip so that the zutils version
can replace it. Without the diversion, zutils would violate the rule
that the same file can't be installed from more than one package.

It's exceptional enough for you to be warned that it's happening,
but particularly because the default behaviour will be changing
at some point. Anyway, it's expected behaviour.

Cheers,
David.


Reply to: