cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
765
Views
0
Helpful
3
Replies

Cannot open: https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm seen during YDK installation

anthonyperry
Cisco Employee
Cisco Employee

When installing YDK on Centos7 as root, I'm getting the following authorization errors:

 

# yum install https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
Cannot open: https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm. Skipping.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager

# wget https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
--2020-07-09 14:27:10-- https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
Resolving proxy.esl.cisco.com (proxy.esl.cisco.com)... 173.36.224.108
Connecting to proxy.esl.cisco.com (proxy.esl.cisco.com)|173.36.224.108|:80... connected.
Proxy request sent, awaiting response... 200
Length: 2403904 (2.3M) [application/x-rpm]
libydk-0.8.3-1.x86_64.rpm: Permission denied

Cannot write to ‘libydk-0.8.3-1.x86_64.rpm’ (Success).

3 Replies 3

anthonyperry
Cisco Employee
Cisco Employee

Hello,

I found that the "libydk-0.8.3-1.x86_64.rpm: Permission denied" error was a local issue. After resolving the issue I was able to wget the rpm; but still have the same problem when installing the rpm from devhub.cisco.com. 

 

So I tried installing the rpm locally; but it failed with 404 - Not Found :

 

# yum install libydk-0.8.3-1.x86_64.rpm
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
http://repo.okay.com.mx/centos/7.01/x86_64/release/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.

 

Can someone please let me know if I am missing something here?

 

# yum install https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
Cannot open: https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm. Skipping.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager

 

# wget https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
--2020-07-10 13:07:48-- https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
Resolving proxy.esl.cisco.com (proxy.esl.cisco.com)... 173.36.224.108
Connecting to proxy.esl.cisco.com (proxy.esl.cisco.com)|173.36.224.108|:80... connected.
Proxy request sent, awaiting response... 200
Length: 2403904 (2.3M) [application/x-rpm]
Saving to: ‘libydk-0.8.3-1.x86_64.rpm.2’

100%[===================================================================================>] 2,403,904 870KB/s in 2.7s

2020-07-10 13:07:51 (870 KB/s) - ‘libydk-0.8.3-1.x86_64.rpm.2’ saved [2403904/2403904]

 

Thanks,

Anthony

 

You have configuration of proxy, which apparently does not allow to download the file. Most likely you need change configuration of your network settings. Otherwise please contact your network administrator. 

Also, you need to be root user or have sudo access in order to install libydk.

I personally was able to download and install the RPM file.

I wonder, why are you installing YDK 0.8.3 when 0.8.4 is available. 

Yan Gorelik
YDK Solutions

The steps at http://ydk.cisco.com/py/docs/getting_started.html#centos-fedora-based uses 0.8.3. Is there a more up to date wiki? 

 

Regarding the proxy, it is configured to the lab admins specs and I am able to download the RPM using wget; but when I try installing directly from devhub.cisco.com is fails:

 

# wget https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
--2020-07-10 13:07:48-- https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
Resolving proxy.esl.cisco.com (proxy.esl.cisco.com)... 173.36.224.108
Connecting to proxy.esl.cisco.com (proxy.esl.cisco.com)|173.36.224.108|:80... connected.
Proxy request sent, awaiting response... 200
Length: 2403904 (2.3M) [application/x-rpm]
Saving to: ‘libydk-0.8.3-1.x86_64.rpm.2’

100%[===================================================================================>] 2,403,904 870KB/s in 2.7s

2020-07-10 13:07:51 (870 KB/s) - ‘libydk-0.8.3-1.x86_64.rpm.2’ saved [2403904/2403904]

 

# yum install https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
Cannot open: https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm. Skipping.
Error: Nothing to do
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager

 

So when I try to install it from the local downloaded RPM, I get 404 - Not found:

 

# yum install libydk-0.8.3-1.x86_64.rpm
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
http://repo.okay.com.mx/centos/7.01/x86_64/release/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: