File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
elements/purge-command-not-found Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
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.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ if [ ${DIB_DEBUG_TRACE:- 0} -gt 0 ]; then
3
+ set -x
4
+ fi
5
+ set -eu
6
+ set -o pipefail
7
+
8
+ sudo apt purge -y command-not-found python3-commandnotfound
You can’t perform that action at this time.
0 commit comments