:: Re: [DNG] nmap in Debian Wheezy
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Emiliano Marini
Fecha:  
A: Simon Wise, rodo
Cc: dng
Asunto: Re: [DNG] nmap in Debian Wheezy
Is there any way to list recommended packages for a given package?

I mean, when you run "apt-cache depends" it list a package's dependencies.
For example:

# LANG=C apt-cache depends nmap
nmap
  Depends: libc6
  Depends: libgcc1
  Depends: liblua5.1-0
  Depends: libpcap0.8
  Depends: libpcre3
  Depends: libssl0.9.8
  Depends: libstdc++6
  Conflicts: <ndiff>
  Replaces: <ndiff>
    nmap


But how can I list recommended/suggested packages?

I tried adding this in /etc/apt/apt.conf without results:

APT::Cache::ShowRecommends "true";

Cheers,
Emiliano.



On Wed, Dec 23, 2015 at 5:17 AM, Simon Wise <simonzwise@???> wrote:

> On 23/12/15 02:19, Emiliano Marini wrote:
>
>> Wow thanks man!
>>
>> # apt-get install --no-install-recommends nmap
>>
>
> That can be set in apt's config files, in /etc/apt. It really helps
> maintaining a system .. you can look at the recommends listed and install
> the ones you want.
>
> I've kept my old sidux/aptosid setup ... this from /etc/apt/apt.conf.d/
>
> // apt defaults for aptosid
> // apt 0.7 introduces automatic behaviour unsuitable for sid, revert this
>
> // auto-remove breaks on meta packages
> APT::Get::AutomaticRemove "0";
> APT::Get::HideAutoRemove "1";
>
> // Recommends are as of now still abused in many packages
> APT::Install-Recommends "0";
> APT::Install-Suggests "0";
> Debug::pkgAutoRemove "0";
>
> // PDiffs reduce the required download for apt-get update, but increase the
> // CPU requirements and quite often fail.
> // Acquire::PDiffs "0";
>
>
>
>
> documentation seems lacking, but example files are a great fallback as
> long as programs use plain-text ones.
>
> Simon
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>