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

Cannot install on ubuntu 20.04 #1904

Closed
strowk opened this issue Mar 17, 2021 · 2 comments
Closed

Cannot install on ubuntu 20.04 #1904

strowk opened this issue Mar 17, 2021 · 2 comments

Comments

@strowk
Copy link

strowk commented Mar 17, 2021

Development Machine

Ubuntu 20.04

Describe the Bug

Cannot install following official documentation:
https://github.com/Azure/azure-iot-sdk-c/blob/master/iothub_client/readme.md#apt-get-packages-for-linux-devices

Console Logs

tim@t480s  azure-iot  sudo add-apt-repository ppa:aziotsdklinux/ppa-azureiot                                                                                              
                                                                                                                                        
 PPA for AzureIoT apt-get packages                                                                                                                                           
 More info: https://launchpad.net/~aziotsdklinux/+archive/ubuntu/ppa-azureiot                                                                                                
Press [ENTER] to continue or Ctrl-c to cancel adding it.                                                                                                                     
                                                                                                                                                                             
Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://dl.google.com/linux/chrome/deb stable InRelease [1.811 B]                                                                                                       
Hit:3 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu focal InRelease                                                                                                  
Hit:4 https://download.docker.com/linux/ubuntu focal InRelease                                                                                                               
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]                                                                                                    
Hit:6 https://packages.microsoft.com/repos/ms-teams stable InRelease                                                                                                         
Ign:7 http://ppa.launchpad.net/aziotsdklinux/ppa-azureiot/ubuntu focal InRelease                                                                                             
Hit:8 http://ppa.launchpad.net/peek-developers/stable/ubuntu focal InRelease                                                                                           
Err:9 http://ppa.launchpad.net/aziotsdklinux/ppa-azureiot/ubuntu focal Release                                                                                         
  404  Not Found [IP: 2001:67c:1560:8008::19 80]
Get:11 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1.083 B]                
Hit:10 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Get:12 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [140 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [20,6 kB]
Get:14 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [204 kB]
Get:15 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [547 kB]
Get:16 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [117 kB]
Get:17 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24,3 kB]
Get:18 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [7.300 B]
Get:19 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [435 kB]
Get:20 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [550 kB]
Get:21 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [80,7 kB]
Get:22 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [58,2 kB]
Get:23 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [10,6 kB]
Reading package lists... Done                                        
E: The repository 'http://ppa.launchpad.net/aziotsdklinux/ppa-azureiot/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
@CIPop
Copy link
Member

CIPop commented Mar 19, 2021

@strowk unfortunately we don't support Ubuntu 20.04 for APT at this time. From the link you've pasted:

https://github.com/Azure/azure-iot-sdk-c/blob/master/iothub_client/readme.md#apt-get-packages-for-linux-devices

At this point you can use the packages on Ubuntu 16.04 and 18.04 using the following CPU architectures: amd64, arm64, armhf and i386.

The only workaround at the moment is to build from sources (https://github.com/Azure/azure-iot-sdk-c#compile-the-sdk).

@CIPop
Copy link
Member

CIPop commented Mar 22, 2021

We are going to consider support for APT packages internally. Please upvote this issue if you require Ubuntu 20.04 APT package support.

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

No branches or pull requests

2 participants