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

Bug#767891: apt: Provide ability to manually mark packages as "essential"



On Mon, Nov 3, 2014 at 10:26 AM, Anthony Towns <aj@erisian.com.au> wrote:
> Package: apt
> Version: 1.0.9.3
> Severity: wishlist
> Tags: patch
>
> Hi,
>
> It would be useful to be able to locally mark certain packages as
> "Essential:yes" so that they are never uninstalled. Trivial example: mark
> sysvinit-core as essential on systems you don't want to have upgraded
> to systemd as init.

A simple way to achieve what you want is to create a local dummy
package that depends on the packages you want and is
"Essential: yes" or "Important: yes". Important being preferred, since
it has less restrictions on installation ordering.

It's what I do on all my machines: Create one metapackage per machine
that is Important: yes, and install that. Works nicely.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.


Reply to: