[Ubuntu-PT 4345] Fwd: apt now installs recommends by default

\(``-_-´´\) -- Fernando Ubuntu bugabundo.net
Terça-Feira, 10 de Junho de 2008 - 23:27:11 BST


Segue uma alteração de Politica, no que diz respeito a pacotes no estado Recomends (Recomendados).
A partir da versão agora disponi­vel nos repositórios do Intrepid, o APT vai passar a seguir a politica do Debian, que já havia sido definida em Outubro passado.

----------  Forwarded Message  ----------
From: Michael Vogt <michael.vogt  ubuntu.com>
Date: Tuesday 10 June 2008
Subject: apt now installs recommends by default
To: ubuntu-devel  lists.ubuntu.com

Hi,

with the last apt upload to intrepid I changed the default policy of
apt to install recommends by default (packages listed in the
"Recommends" field in debian/control). We follow debian here who
changed this default back in October.

It was a long standing issue in apt that it does not honor recommends
properly. The policy says about recommends:

Recommends
    This declares a strong, but not absolute, dependency.
    The Recommends field should list packages that would be found
    together with this one in all but unusual installations.

Because apt ignored recommends for such a long time there are probably
still bogus recommends that need to be cleaned up and removed or
downgraded to suggests.

Apt will install recommends by default for new packages as if those
were depends.  But it will not complain about unsatisfied recommends
on your system and will make no attempt to install them if they are
missing. 

To turn this feature off, pass --no-install-recommends to apt or set,
in your apt configuration, APT::Install-Recommends=False.

Because it only affects new package installs on your currently
installed packages nothing changes. If you want to see what would
change if you had a system with --install-recommends please run:

# apt-get install --fix-policy --install-recommends

This will make apt try to install all packages that are recommended by
the installed packages.  

If you want to know what package causes the installation of what
recommends please run:

# apt-get install --fix-policy --install-recommends -o Debug::pkgDepCache::AutoInstall=true

It is also possible to see what packages got installed because they
were pulled in as recommends of other package. This makes use of the
automatic install information. With the current apt you can run:

# apt-get autoremove -o APT::AutoRemove::RecommendsImportant=false

This information is currently not accessable in synpatic, but I plan
to add a filter for it so that its easily accessable what packages got
auto-installed as recommends.

For areas were this change is problematic I would recommend to run
apt-get with --no-install-recomments (e.g. the ubuntu-vm-builder).

We should also clean up recommends were appropriate and downgrade them
to suggests and sent the patches debian.

Cheers,
 Michael

-- 
ubuntu-devel mailing list
ubuntu-devel  lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


-- 
BUGabundo  :o)
(``-_-´´)	http://Ubuntu.BUGabundo.net
Linux user #443786    GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net


---
avast!/SMTP2000 Antivirus: Inbound message clean.
Virus Database (VPS): 11-06-2008
Tested on: 11-06-2008 08:11:15 +0100
avast! - copyright (c) 1988-2008 ALWIL Software.



-------------- próxima parte ----------
Um anexo que não estava em formato texto não está incluído...
Nome : não disponível
Tipo : application/pgp-signature
Tam  : 189 bytes
Descr: This is a digitally signed message part.
Url  : https://lists.ubuntu.com/archives/ubuntu-pt/attachments/20080610/f6a83c54/attachment.pgp 


Mais informações acerca da lista ubuntu-pt