From f13cec8f06b8e4b6d4b97fef1ce865526049630b Mon Sep 17 00:00:00 2001 From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de> Date: Fri, 24 Feb 2023 14:27:34 +0100 Subject: [PATCH] desktop: Prevent apt from installing really unwanted packages --- desktop/files/apt-pin | 3 +++ desktop/tasks/main.yml | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 desktop/files/apt-pin diff --git a/desktop/files/apt-pin b/desktop/files/apt-pin new file mode 100644 index 0000000..0923a01 --- /dev/null +++ b/desktop/files/apt-pin @@ -0,0 +1,3 @@ +Package: plasma-nm network-manager cups-daemon plasma-discover +Pin: origin * +Pin-Priority: -1 diff --git a/desktop/tasks/main.yml b/desktop/tasks/main.yml index 480abb9..d99195c 100644 --- a/desktop/tasks/main.yml +++ b/desktop/tasks/main.yml @@ -1,5 +1,13 @@ --- +- name: Prevent apt from installing really unwanted packages + copy: + src: apt-pin + dest: /etc/apt/preferences.d/client + owner: root + group: root + mode: "0644" + - import_tasks: kde.yml - meta: flush_handlers - import_tasks: software.yml -- GitLab