The present invention refers to a method and a system for managing, in a hostile environment, the software maintenance and distribution in a system that includes a server and at least one terminal. The method of the invention comprises: identifying the situation in which a software clement in distribution in a terminal is, attributing to said software element a state from a group of predefined states; periodically checking the correspondence between the state attributed to each software element and their actual situation; monitoring transitions between states of the software elements; and relating the software elements to be distributed by means of dependencies for the automated assignment of software elements to the terminals according to a dependencies tree.
展开▼