-
Notifications
You must be signed in to change notification settings - Fork 465
Closed
Labels
Description
Version
4.3.0~preview1
Description
The apt package listings for ubuntu-24.04 / amd64 contain the new version 4.3.0~preview1, which does not appear to run on amd64 correctly.
Current Result:
- After running
sudo apt-get install azure-functions-core-tools-4, running thefuncbinary gives an error.
Expected Result:
- Packages available via the apt package manager work for the given os / architecture.
Current Workaround:
- We are adding version pinning files to `/etc/apt/preferences.d/ to exclude version 4.3.0~preview1
Example file:
Package: azure-functions-core-tools-4
Pin: version 4.3.0~preview*
Pin-Priority: -1
Steps to reproduce
Start new VM / pipeline image using ubuntu-24.04 on amd64, e.g. github actions / azure devops pipelines.
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-$(lsb_release -cs)-prod $(lsb_release -cs) main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-get update
sudo apt-get install azure-functions-core-tools-4
func --helpGet result:
-bash: /usr/bin/func: cannot execute binary file: Exec format error
coccor, roman-kalivoda, rameezk, sagar-dahal-miviewis, jsturtevant and 18 moreMitchellMcKenna