We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05dd143 commit 42d8b35Copy full SHA for 42d8b35
2 files changed
elements/purge-command-not-found/README.rst
@@ -0,0 +1,12 @@
1
+========================
2
+purge-command-not-found
3
4
+Purge command-not-found packages from an image.
5
+
6
+Currently the pulp_deb plugin in Pulp does not support certain types of
7
+content, including i18n files and command-not-found indices. This breaks APT
8
+when the command-not-found is installed. This element can be used to
9
+uninstall the package, prior to running any other APT commands that may target
10
+Pulp package mirrors.
11
12
+No additional configuration is needed, other than including the element.
elements/purge-command-not-found/pre-install.d/02-purge-command-not-found
@@ -0,0 +1,8 @@
+#!/bin/bash
+if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
+ set -x
+fi
+set -eu
+set -o pipefail
+sudo apt purge -y command-not-found
0 commit comments