Skip to contentSkip to conversation

Azure: Use "pacman -Sy" to install the toolchain

PATCH New Tom Rini 2 participants 3 messages Mar 26, 2021 – Mar 27, 2021

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Azure: Use "pacman -Sy" to install the toolchain

We now see an error such as:
warning: database file for 'ucrt64' does not exist (use '-Sy' to download)
error: failed to prepare transaction (could not find database)

So use -Sy as suggested.

---
 .azure-pipelines.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.azure-pipelines.yml +1 -1
index 0d618b70621b..8e11b76e3af5 100644
@@ -23,7 +23,7 @@ jobs:
           %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syyuu"
         displayName: 'Update MSYS2'
       - script: |
-          %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm --needed -S make gcc bison flex diffutils openssl-devel"
+          %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm --needed -Sy make gcc bison flex diffutils openssl-devel"
         displayName: 'Install Toolchain'
       - script: |
           echo make tools-only_defconfig tools-only NO_SDL=1 > build-tools.sh
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 Azure: Use "pacman -Sy" to install the toolchain

Quoted 5 lines · Tom Rini

We now see an error such as:
warning: database file for 'ucrt64' does not exist (use '-Sy' to download)
error: failed to prepare transaction (could not find database)

Quoted 7 lines

So use -Sy as suggested.

---
 .azure-pipelines.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
author
#2 lore raw

PATCH 1/1 Azure: Use "pacman -Sy" to install the toolchain

In reply to Tom Rini
Quoted 8 lines · Tom Rini

We now see an error such as:
warning: database file for 'ucrt64' does not exist (use '-Sy' to download)
error: failed to prepare transaction (could not find database)

So use -Sy as suggested.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210327/6b8e6526/attachment.sig>