Hi Michael,

On Sonntag, 23. Oktober 2011, Michael Tautschnig wrote:
> I just figured out that having both foo and foo- in the list of packages to
> be installed isn't actually something that install_packages itself deals
> with. Rather it's the underlying package manager that cleans up the mess.

Ah.

> I'm not sure whether this should at all be considered a feature of FAI,
> hence is there a need for documenting it!?

Right. 

Basically what I described in 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597221#33
still holds:

I would like to have a way to remove packages using class, despite some other 
class demanding it's 
installation. Maybe the way to go is with three classes and dynamic class 
definition based on the non-
existance of another class:

DEFAULT
defines, via a LAST.hook, the class SMARTMONTOOLS if NOSMARTMONTOOLS is not a 
class for that host

SMARTMONTOOLS
installs smartmontools

NOSMARTMONTOOLS
removes smartmontools


voila :-)

cheers,
        Holger



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to