07-09-2020 02:44 PM
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).
07-10-2020 01:11 PM
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
07-10-2020 03:44 PM - edited 07-10-2020 05:09 PM
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.
07-10-2020 04:59 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide