CI: Fix i386 build (#13680)

Commit: 
https://github.com/vim/vim/commit/7349c5160ab63d0737050a6b4da3e407ab0cfeb0
Author: K.Takata <[email protected]>
Date:   Thu Dec 14 15:58:48 2023 +0900

    CI: Fix i386 build (https://github.com/vim/vim/issues/13680)
    
    Fix the following error:
    ```
    The following packages have unmet dependencies:
     binutils : Conflicts: binutils:i386 but 2.38-4ubuntu2.4 is to be installed
     binutils:i386 : Conflicts: binutils but 2.38-4ubuntu2.3 is to be installed
     binutils-common : Breaks: binutils-common:i386 (!= 2.38-4ubuntu2.3) but 
2.38-4ubuntu2.4 is to be installed
     binutils-common:i386 : Breaks: binutils-common (!= 2.38-4ubuntu2.4) but 
2.38-4ubuntu2.3 is to be installed
     libbinutils : Breaks: libbinutils:i386 (!= 2.38-4ubuntu2.3) but 
2.38-4ubuntu2.4 is to be installed
     libbinutils:i386 : Breaks: libbinutils (!= 2.38-4ubuntu2.4) but 
2.38-4ubuntu2.3 is to be installed
     libctf0 : Breaks: libctf0:i386 (!= 2.38-4ubuntu2.3) but 2.38-4ubuntu2.4 is 
to be installed
     libctf0:i386 : Breaks: libctf0 (!= 2.38-4ubuntu2.4) but 2.38-4ubuntu2.3 is 
to be installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused 
by held packages.
    ```
    
    Run `apt-get upgrade` before installing additional packages.
    
    Signed-off-by: K.Takata <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2042b8ed7..b51cadeab 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -120,7 +120,7 @@ jobs:
               libattr1-dev
             )
           fi
-          sudo apt-get update && sudo apt-get install -y "${PKGS[@]}"
+          sudo apt-get update && sudo apt-get upgrade && sudo apt-get install 
-y "${PKGS[@]}"
 
       - name: Install gcc-${{ env.GCC_VER }}
         if:  matrix.compiler == 'gcc'

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1rDfhV-001HSs-Df%40256bit.org.

Raspunde prin e-mail lui