Skip to content

Fix/try state check#1599

Closed
ipapandinas wants to merge 2 commits intomasterfrom
fix/try-state-check
Closed

Fix/try state check#1599
ipapandinas wants to merge 2 commits intomasterfrom
fix/try-state-check

Conversation

@ipapandinas
Copy link
Contributor

Pull Request Summary

Fix CI failure by running apt-get update before installing protobuf-compiler and jq to prevent this error:

Run sudo apt -y install protobuf-compiler jq

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
jq is already the newest version (1.7.1-3ubuntu0.24.04.1).
The following additional packages will be installed:
 libprotobuf-dev libprotobuf32t64 libprotoc32t64
Suggested packages:
 protobuf-mode-el
The following NEW packages will be installed:
 libprotobuf-dev libprotobuf32t64 libprotoc32t64 protobuf-compiler
0 upgraded, 4 newly installed, 0 to remove and 25 not upgraded.
Need to get 3048 kB of archives.
After this operation, 17.8 MB of additional disk space will be used.
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B]
Ign:2 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 libprotobuf32t64 amd64 3.21.12-8.2ubuntu0.2
Ign:3 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 libprotoc32t64 amd64 3.21.12-8.2ubuntu0.2
Ign:4 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 libprotobuf-dev amd64 3.21.12-8.2ubuntu0.2
Ign:5 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 protobuf-compiler amd64 3.21.12-8.2ubuntu0.2
Ign:2 https://archive.ubuntu.com/ubuntu noble-updates/main amd64 libprotobuf32t64 amd64 3.21.12-8.2ubuntu0.2
Ign:3 https://archive.ubuntu.com/ubuntu noble-updates/main amd64 libprotoc32t64 amd64 3.21.12-8.2ubuntu0.2
Ign:4 https://archive.ubuntu.com/ubuntu noble-updates/main amd64 libprotobuf-dev amd64 3.21.12-8.2ubuntu0.2
Ign:5 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 protobuf-compiler amd64 3.21.12-8.2ubuntu0.2
Ign:2 https://security.ubuntu.com/ubuntu noble-updates/main amd64 libprotobuf32t64 amd64 3.21.12-8.2ubuntu0.2
Err:2 mirror+file:/etc/apt/apt-mirrors.txt noble-updates/main amd64 libprotobuf32t64 amd64 3.21.12-8.2ubuntu0.2
 404  Not Found [IP: 52.252.163.49 80]
Ign:3 https://security.ubuntu.com/ubuntu noble-updates/main amd64 libprotoc32t64 amd64 3.21.12-8.2ubuntu0.2
Err:3 mirror+file:/etc/apt/apt-mirrors.txt noble-updates/main amd64 libprotoc32t64 amd64 3.21.12-8.2ubuntu0.2
 404  Not Found [IP: 52.252.163.49 80]
Ign:4 https://security.ubuntu.com/ubuntu noble-updates/main amd64 libprotobuf-dev amd64 3.21.12-8.2ubuntu0.2
Err:4 mirror+file:/etc/apt/apt-mirrors.txt noble-updates/main amd64 libprotobuf-dev amd64 3.21.12-8.2ubuntu0.2
 404  Not Found [IP: 52.252.163.49 80]
Ign:5 https://security.ubuntu.com/ubuntu noble-updates/universe amd64 protobuf-compiler amd64 3.21.12-8.2ubuntu0.2
Err:5 mirror+file:/etc/apt/apt-mirrors.txt noble-updates/universe amd64 protobuf-compiler amd64 3.21.12-8.2ubuntu0.2
 404  Not Found [IP: 52.252.163.49 80]
E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/p/protobuf/libprotobuf32t64_3.21.12-8.2ubuntu0.2_amd64.deb  404  Not Found [IP: 52.252.163.49 80]
E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/p/protobuf/libprotoc32t64_3.21.12-8.2ubuntu0.2_amd64.deb  404  Not Found [IP: 52.252.163.49 80]
E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/p/protobuf/libprotobuf-dev_3.21.12-8.2ubuntu0.2_amd64.deb  404  Not Found [IP: 52.252.163.49 80]
E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/universe/p/protobuf/protobuf-compiler_3.21.12-8.2ubuntu0.2_amd64.deb  404  Not Found [IP: 52.252.163.49 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

Add a step to check for protoc installation and version
Removed check for protoc existence from workflow.
@ipapandinas
Copy link
Contributor Author

Close in favor of #1600

@ipapandinas ipapandinas closed this Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant