Skip to content

Commit 66b3282

Browse files
authored
Resolve misconfigured dpkg (#43777)
* image has a new issue from update. some player is leaving apt-get unconfigured, so we need to add a dpkg configure before apt-get installing anything
1 parent 27baf20 commit 66b3282

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

eng/pipelines/templates/steps/build-package-artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ steps:
109109
condition: and(succeeded(), or(eq(variables['ENABLE_EXTENSION_BUILD'], 'true'), eq('${{ parameters.ArtifactSuffix }}', 'linux')))
110110
111111
- script: |
112+
sudo dpkg --configure -a
112113
sudo apt-get update
113114
sudo apt-get install -y qemu-user-static binfmt-support
114115
sudo update-binfmts --enable qemu-aarch64

eng/pipelines/templates/steps/install-portaudio.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
steps:
22
- script: |
33
if [[ "$AGENT_OS" == "Linux" ]]; then
4+
sudo dpkg --configure -a
45
sudo apt-get update
56
sudo apt-get install -y portaudio19-dev libasound2-dev
67
elif [[ "$AGENT_OS" == "Darwin" ]]; then

0 commit comments

Comments
 (0)