[Mageia-dev] [RFC] debloating minimal system

Samuel Verschelde stormi at laposte.net
Wed Sep 14 14:48:25 CEST 2011


Le mercredi 14 septembre 2011 14:23:11, Thierry Vignaud a écrit :
> On 14 September 2011 14:04, Guillaume Rousse <guillomovitch at gmail.com> 
wrote:
> > Le 14/09/2011 13:40, Thierry Vignaud a écrit :
> >> Likewise due to widespread suggests among perl modules, we bring quite
> >> a lot of perl modules:
> >> urpmi ->  perl-Hal-Cdroms ->  Net-DBus ->  XML-Twig ->  XML-Parser ->
> >>  LWP ->  perl-libwww-perl ->  HTTP::Negotiate ->  HTTP::Negotiate ->
> >> HTTP::Message
> > 
> > Automatic dependencies computing result... The algorithm used here can't
> > figure if a module used anywhere in the source is always used, or only in
> > specific occasion.
> > 
> > I see two potential links that could get turned in soft dependencies
> > here: - urpmi ->  perl-Hal-Cdroms, but urpmi should probably get
> > modified to ensure a graceful failure if the user tries to use a cdrom,
> > while Hal::Cdroms is not installed.
> 
> It's already a suggests and urpmi already handles smoothly its absence.
> But we could remove altogether that suggests and only install it in case
> of DVD install.

I don't know about this one specifically, but couldn't there be 'no-suggests' 
option (named for example "install only strong dependencies") in the 
installer, under the form where you select the kind of packages you want ?

Samuel


More information about the Mageia-dev mailing list