"Erik Schanze (Debian)" <schan...@gmx.de> writes:

> I maintain a custom Debian installation on Clients without any user
> interaction during upgrade, so everything has to go automatically.

> I created a meta package to define dependencies to all packages I need
> on the clients and I'd like to make this meta package unremovable during
> dist-upgrade.

> An automatic removal by accident during
> "$ apt-get -y --force-yes dist-upgrade"
> because of missing depends or conflicts must be prevented. It`s better
> to aboard the upgrade then.

> I see this possibilities:
> * Set "Essential: Yes" in debian/control of meta package:
>   + works as expected, even "apt-get remove <metapackage>" askes for
>     additional user input that will not happen on the clients.
>   - Upgrade process hangs waiting for the user input

This should only happen if you run it interactively.  If you don't run it
interactively, then it should realize that it can't prompt and just abort.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mxhqzo72....@windlord.stanford.edu

Reply via email to