diff mbox series

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

Message ID 20210326191414.19305-1-trini@konsulko.com
State Accepted
Commit 94d66d8b242b099e33cda4c27d1ff1e4bb9decf7
Delegated to: Tom Rini
Headers show
Series Azure: Use "pacman -Sy" to install the toolchain | expand

Commit Message

Tom Rini March 26, 2021, 7:14 p.m. UTC
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.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 .azure-pipelines.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bin Meng March 27, 2021, 12:05 p.m. UTC | #1
On Sat, Mar 27, 2021 at 3:14 AM Tom Rini <trini@konsulko.com> wrote:
>
> 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.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  .azure-pipelines.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tom Rini March 27, 2021, 5:13 p.m. UTC | #2
On Fri, Mar 26, 2021 at 03:14:14PM -0400, Tom Rini wrote:

> 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.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 0d618b70621b..8e11b76e3af5 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -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