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

Re: Change Package Dependencies



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Andrei Popescu <andreimpopescu@gmail.com> [2009-12-30 10:06]:
>
> On Wed,30.Dec.09, 09:37:16, Lukas Ruf wrote:
> > Dear all
> >
> > Is there any possibility to overrule the package dependencies without
> > modifying the package source?
> >
> > Reason for asking: I do not need to have doc packages installed on all
> > of my servers.  But some packages simply insist on installing their
> > doc package too.
>
> Could you please point to concrete packages? I doubt any package will
> *depend* on the respective -doc package, but will rather *recommend* it.
>

texlive-base *depends* on texlive-doc-base

> There are many ways to deal with this, here are 3 I know of:
>
> 1. (My preferred way for desktop machines) in aptitude's interactive
> mode you can easily choose not to install a recommended package
>
> 2. Invoke your package manager with the relevant switch for one-time
> installation without recommends
>
> 3. set
>
> APT::Install-Recommends "false";
>
> in /etc/apt/apt.conf to globally disable installation of recommends.
>

Thanks for these hints.  They help downstripping...

wbr,
Lukas
- -- 
Lukas Ruf       <http://www.lpr.ch> | Ad Personam
Consecom  <http://www.consecom.com> | Ad Laborem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAks7G74ACgkQXf8zDoH8+EVMJwCgng2VXZ+TnDNa/4Nws2mryUqq
wmQAnRRUkeNPMrOdS0Th2uhltORiOwnu
=MNGX
-----END PGP SIGNATURE-----


Reply to: