Azure-docs: Can't install Azure Functions Core Tools on Debian 10

Created on 25 Oct 2019  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

Following current instructions to install on Debian 10, when I try to use sudo apt-get update I get error for packages configured multiple times:

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/dotnetdev.list:1 and /etc/apt/sources.list.d/microsoft-prod.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/dotnetdev.list:1 and /etc/apt/sources.list.d/microsoft-prod.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/dotnetdev.list:1 and /etc/apt/sources.list.d/microsoft-prod.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/dotnetdev.list:1 and /etc/apt/sources.list.d/microsoft-prod.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/dotnetdev.list:1 and /etc/apt/sources.list.d/microsoft-prod.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/dotnetdev.list:1 and /etc/apt/sources.list.d/microsoft-prod.list:2

If I remove either dotnetdev.list or microsoft-prod.list and after updating, try to install, it can't locate the package:

sudo apt-get install azure-functions-core-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package azure-functions-core-tools

The content of those files are:

dotnetdev.list:

deb [arch=amd64] https://packages.microsoft.com/debian/10/prod buster main

microsoft-prod.list:

deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/debian/10/prod buster main

I did already install the Azure CLI and Dot Net Core previously (following their official instructions), maybe that's why there is that duplication on source files.

If I compare the files available on the URL for the packages for Debian 9 and Debian 10, I find that the one from Debian 10 under the letter 'a' doesn't have the Functions Core Tools folder:
https://packages.microsoft.com/debian/10/prod/pool/main/a/
https://packages.microsoft.com/debian/9/prod/pool/main/a/

On the Github page, instructions for installing the Core Tools only get to version 9 of Debian.

Following the instructions for "Other Linux Distributions" worked perfectly.

Recomendation to please update the online Debian 10 deb package, or remove mention to Debian 10 installation on this page until it is available. Thanks!


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 azure-functionsvc cxp product-question triaged

All 5 comments

@vicenteherrera Thank you for your feedback! We will review and update as appropriate.

@ahmelsayed do you know about Debian 10 support for Core Tools?

@mike-urnun-msft can we have an update? This still happens.

Looks like it wasn't packaged in the buster distribution. Moreover, this issue suggests Debian packaging is yet to be part of the CI pipeline too. As such, I'll remove the row from the documentation for now until we better clarify this with the Functions team. Once my PR for this doc change merges, this issue will auto-close.

It is still not being possible to install azure functions core tools using the underlying instructions on Debian Buster. I´m using the WSL version of Debian Buster.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andersgidlund picture andersgidlund  Â·  45Comments

smcd253 picture smcd253  Â·  44Comments

danielstocker picture danielstocker  Â·  70Comments

jlorek picture jlorek  Â·  46Comments

m-andersen picture m-andersen  Â·  65Comments