Prathamesh9284 opened a new pull request, #704:
URL: https://github.com/apache/wayang/pull/704

   ## Summary
   Closes #702
   
   Fixes the CI failure in `.github/workflows/backend.yml` caused by `sudo apt 
install -y protobuf-compiler` attempting to download a removed Ubuntu package 
version.
   
   ## Changes
   - Updated the workflow to run `apt-get update` before installing 
`protobuf-compiler`.
   - Switched from `apt` to `apt-get` for installation since `apt-get` provides 
a stable CLI interface recommended for CI/scripts.
   - Ensures the runner fetches the latest available package metadata before 
installation.
   
   ## Context
   The GitHub Actions runner (`ubuntu-latest`) attempted to install 
`protobuf-compiler` version `3.21.12-8.2ubuntu0.2`, which had been removed from 
the Ubuntu mirrors after the release of `3.21.12-8.2ubuntu0.3`.
   
   Because the package index was not refreshed before installation, APT tried 
to download a version that no longer existed, resulting in 404 errors and 
causing the CI workflow to fail.
   
   Running `apt-get update` synchronizes the package metadata with the current 
state of the Ubuntu repositories, ensuring that the latest available version is 
installed and preventing future 404 failures.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to