Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packer-images: git version not always available simultaneously on apt ppa for arm64 and amd #4100

Open
smerle33 opened this issue May 17, 2024 · 3 comments
Assignees
Labels

Comments

@smerle33
Copy link
Contributor

Service(s)

Other

Summary

when installing GIT from ppa, the same version is not available for both arm64 and amd

12:24:14  
2024-05-16T10:24:13Z: ==> azure-arm.ubuntu: + install_package_version git 2.45.1

12:24:14  
2024-05-16T10:24:13Z: ==> azure-arm.ubuntu: + local package_version

12:24:14  
2024-05-16T10:24:13Z: ==> azure-arm.ubuntu: ++ apt-cache madison git

12:24:14  
2024-05-16T10:24:13Z: ==> azure-arm.ubuntu: ++ grep 2.45.1

12:24:14  
2024-05-16T10:24:13Z: ==> azure-arm.ubuntu: ++ head -n1

12:24:14  
2024-05-16T10:24:13Z: ==> azure-arm.ubuntu: ++ awk '{print $3}'

12:24:14  
2024-05-16T10:24:13Z: ==> azure-arm.ubuntu: +++ apt-cache madison git

12:24:14  
2024-05-16T10:24:13Z: ==&gt; azure-arm.ubuntu: ++ echo 'ERROR: could not find version 2.45.1 for git. Output of apt-cache madison is:        git | 1:2.43.2-0ppa1~ubuntu22.04.1 | <a href='https://ppa.launchpadcontent.net/git-core/ppa/ubuntu'>https://ppa.launchpadcontent.net/git-core/ppa/ubuntu</a> jammy/main arm64 Packages

12:24:14  
2024-05-16T10:24:13Z: ==&gt; azure-arm.ubuntu:        git | 1:2.34.1-1ubuntu1.10 | <a href='http://ports.ubuntu.com/ubuntu-ports'>http://ports.ubuntu.com/ubuntu-ports</a> jammy-updates/main arm64 Packages

12:24:14  
2024-05-16T10:24:13Z: ==&gt; azure-arm.ubuntu:        git | 1:2.34.1-1ubuntu1.9 | <a href='http://ports.ubuntu.com/ubuntu-ports'>http://ports.ubuntu.com/ubuntu-ports</a> jammy-security/main arm64 Packages

12:24:14  
2024-05-16T10:24:13Z: ==&gt; azure-arm.ubuntu:        git | 1:2.34.1-1ubuntu1 | <a href='http://ports.ubuntu.com/ubuntu-ports'>http://ports.ubuntu.com/ubuntu-ports</a> jammy/main arm64 Packages'

12:24:14  
2024-05-16T10:24:13Z: ==&gt; azure-arm.ubuntu: ++ exit 1

12:24:14  
2024-05-16T10:24:13Z: ==&gt; azure-arm.ubuntu: + package_version='ERROR: could not find version 2.45.1 for git. Output of apt-cache madison is:        git | 1:2.43.2-0ppa1~ubuntu22.04.1 | <a href='https://ppa.launchpadcontent.net/git-core/ppa/ubuntu'>https://ppa.launchpadcontent.net/git-core/ppa/ubuntu</a> jammy/main arm64 Packages

Reproduction steps

No response

@smerle33 smerle33 added triage Incoming issues that need review packer and removed triage Incoming issues that need review labels May 17, 2024
@smerle33 smerle33 self-assigned this May 17, 2024
@smerle33
Copy link
Contributor Author

First step installing after compiling from source PR jenkins-infra/packer-images#1180

@smerle33
Copy link
Contributor Author

Next step: updating updatecli to follow the same tag on github https://github.com/git/git/archive/refs/tags/v${GIT_LINUX_VERSION}.tar.gz

@pilere
Copy link

pilere commented Jun 4, 2024

stall, need to make sure of clean install no duplicate within VM images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants