Skip to content

Commit 905f642

Browse files
committed
ca-certificate fix
1 parent 2ce03f2 commit 905f642

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mapr/tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
# mapr-streams-python is required by the integration but is not shipped with the Agent;
1515
# customers are expected to install the package themselves.
1616
# We do that here for the e2e testing environment.
17+
'apt-get clean',
1718
'apt-get update',
18-
'apt-get install -y gcc gnupg lsb-release ca-certificates',
19+
"sh -c 'DEBIAN_FRONTEND=noninteractive dpkg --configure -a'",
20+
"sh -c 'DEBIAN_FRONTEND=noninteractive apt-get install -f -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confold\"'",
21+
"sh -c 'DEBIAN_FRONTEND=noninteractive apt-get install -y gcc gnupg lsb-release ca-certificates'",
1922
# mapr-streams-python requires librdkafka headers as they're not shipped with the Agent
2023
# This requires adding confluent's APT repositories. These steps are based on the docs in
2124
# - https://docs.confluent.io/platform/current/installation/installing_cp/deb-ubuntu.html#get-the-software

0 commit comments

Comments
 (0)