Hi @paulbuxton;
we installed ubuntu 20.04 on a newly formatted hardware. The warnings we had for 22.04 continued to appear as in the attachment. Any ideas how to fix this problem?
thanks
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 tr archive ubuntu.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:4 tr archive ubuntu.com/ubuntu focal-updates InRelease
Hit:5 tr archive ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
W: Skipping acquire of configured file 'bionic-updates/main/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'bionic-updates/main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'bionic-updates/main/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'bionic-updates/main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'bionic-updates/main/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'bionic-updates/main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'bionic-updates/main/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'bionic-updates/main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'bionic-updates/main/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'bionic-updates/main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'bionic-updates/main/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'bionic-updates/main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'bionic-updates/main/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'bionic-updates/main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'bionic-updates/main/dep11/[email protected]' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'bionic-updates/main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'bionic-updates/main/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'bionic-updates/main' (component misspelt in sources.list?)
@luispimo This fixed the problems both for ubuntu 20.04 and 22.04. Thank you.
"Hi @hight
Apparently it seems an issue related to apt/sources.list.
It is possible that the source.list is corrupted.
You can try the following:
1. Remove the file: sudo rm /etc/apt/sources.list
2. Create an empty one: sudo touch /etc/apt/sources.list
3. Restore the default settings using "Software & Updates" tool (see attached image)
Regards
Luis"
hi
Towards the end of ncsdk installation on Ubuntu 20.04 I am getting the verification results with 3 failures and 3 SUCCESS as in Fig 1.
When tried again I could catch an error message as in Fig 2. Finally it terminates with '1' error, as in Fig 3. I have been trying to identify and fix the source of the problem, but no hope so far. Any suggestions will be most appreciated.
Thank you.
Hi, looking into this. There has been an issue recently where some packages have changed dependencies, I am not usre if this is the cause.
Hi,
I have going through the setup I see that there is a problem with protobuf which will get installed during the process. Re-going through the setup process on Ubuntu 20 I was able to get a clean install using the following steps before running the ncsdk installer
apt-get update apt install libjpeg-dev python3 python3-pip git curl cmake pip install protobuf==3.20.0 apt install virtualenv caffe-cpu
I will try this* on a clean installation of 20.04. In the meantime we installed ubuntu 18.04, on a 12 core machine with an over kill RAM size. The installation was flawless and very fast.
I will retry later with 20.04 on the smaller scale machine with your suggestions, just to pin point the solution to the problem.
Many thanks.
*
apt-get update apt install libjpeg-dev python3 python3-pip git curl
cmake pip install protobuf==3.20.0 apt install virtualenv caffe-cpu
I have tested Paul's solution and it works ok for Ubuntu 20.04.4
https://university.imgtec.com/forums/edge-ai/problem-installing-nc-sdk/#post-1201
Regards