Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Failure to install jevois-sdk-dev

0 votes
Hello, I am having issues with installing jevois-sdk-dev on my laptop. First of all, I am running JeVois on Ubuntu 16.04.4 (64 bit) as stated below.

avanti@avanti-Latitude-3340:~$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:    16.04
Codename:    xenial

I have followed the steps on https://jevois.usc.edu/ for the 64 bit xenial version;  however, it has resulted in a failure as shown below.

avanti@avanti-Latitude-3340:~$ sudo apt install jevois-sdk-dev
[sudo] password for avanti:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 jevois-sdk-dev : Depends: jevois-sdk (>= 1.8.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have also tried every other methods including artful version, upgrading, etc. but ended up with the same results. If there are any packages I need to install or remove prior to installing jevois-sdk-dev, please let me know. If this is yet another bug, I am hoping for the fix to happen as soon as possible.
asked Jun 22, 2018 in User questions by JeVoisNewbie (430 points)

1 Answer

0 votes
 
Best answer
We are compiling a new version now (1.8.1). I will make sure that I test it on various virtual machines before we push it. It might have been an issue in the 1.8.0 debs of jevois-sdk as you are not the first to report trouble, sorry about that.

I will post a video of the install process on fresh 16.04 and 18.04 virtual machines as soon as the compilation is finished here.
answered Jun 22, 2018 by JeVois (46,580 points)
selected Jun 22, 2018 by JeVoisNewbie
Thank you for your reply! Now I can finally be freed from the debugging nightmare. :)
It is working fine on 18.04, and it all compiled and built ok on 16.04. I just pushed the new 1.8.1 debs to jevois.usc.edu for both 16.04 and 18.04. I have then tested that the following works:

- installing Ubuntu 18.04 (bionic) on VirtualBox

- installing the jevois ubuntu (.deb) packages

- installing jevois-inventor and trying it out

- getting the latest jevois source code from github

- compiling that source code, both for host (your Intel computer) and platform (the ARM CPU inside JeVois)

- flashing the freshly compiled code to microSD

I shot a video of the process. Youtube is very slow now but in maybe 2-3 hours it should be at: https://youtu.be/pgd7pW1XDU8

The video also has been added to: http://jevois.org/tutorials/ProgrammerSetup.html

Sorry that stuff takes a long time (a day to compile the SDK, then a couple of hours to test it on one platform) so I have only had time today to try it on 18.04. I am hoping it works the same on 16.04. Just remember to select "something else" when you format your virtual hard drive in 16.04, and then make a single root partition for your entire 50GB virtual disk (by default, 16.04 creates a root partition that is too small, and then a separate /home partition - you do not want that).
Thank you very much for the update! I will download and flash the new image onto the micro SD card and try to install the packages once more.
I have tried to install the packages once more, but ended up with the same results.

avanti@avanti-Latitude-3340:~$ sudo apt install jevois-sdk-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 jevois-sdk-dev : Depends: jevois-sdk (>= 1.8.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have also tried to install the following, but ended with similar results:
sudo apt install jevois-host jevoisbase-host
sudo apt install jevois-platform jevoisbase-platform
sudo apt install jevois-sdk

For additional information, I am using a native ubuntu on a Dell laptop.
The whole output looks like this

avanti@avanti-Latitude-3340:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DD24C027
Executing: /tmp/tmp.GsWG2VNPqb/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
DD24C027
gpg: requesting key DD24C027 from hkp server keyserver.ubuntu.com
gpg: key C25E5DDA: "Laurent Itti <jevois.org@gmail.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
avanti@avanti-Latitude-3340:~$ sudo add-apt-repository "deb https://jevois.usc.edu/apt xenial main"
avanti@avanti-Latitude-3340:~$ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
gpg: keyring `/tmp/tmppnjz1xy7/secring.gpg' created
gpg: keyring `/tmp/tmppnjz1xy7/pubring.gpg' created
gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
gpg: /tmp/tmppnjz1xy7/trustdb.gpg: trustdb created
gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
avanti@avanti-Latitude-3340:~$ sudo apt update
Get:1 file:/var/cuda-repo-9-0-local  InRelease
Ign:1 file:/var/cuda-repo-9-0-local  InRelease
Get:2 file:/var/visionworks-repo  InRelease
Ign:2 file:/var/visionworks-repo  InRelease
Get:3 file:/var/visionworks-sfm-repo  InRelease
Ign:3 file:/var/visionworks-sfm-repo  InRelease
Get:4 file:/var/visionworks-tracking-repo  InRelease
Ign:4 file:/var/visionworks-tracking-repo  InRelease
Get:5 file:/var/cuda-repo-9-0-local  Release [574 B]
Get:6 file:/var/visionworks-repo  Release [1,999 B]
Get:7 file:/var/visionworks-sfm-repo  Release [2,003 B]
Get:8 file:/var/visionworks-tracking-repo  Release [2,008 B]
Get:5 file:/var/cuda-repo-9-0-local  Release [574 B]
Get:6 file:/var/visionworks-repo  Release [1,999 B]
Get:7 file:/var/visionworks-sfm-repo  Release [2,003 B]
Get:8 file:/var/visionworks-tracking-repo  Release [2,008 B]
Ign:11 http://dl.google.com/linux/chrome/deb stable InRelease                  
Hit:13 http://dl.google.com/linux/chrome/deb stable Release                    
Hit:14 http://security.ubuntu.com/ubuntu xenial-security InRelease             
Hit:17 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
Hit:18 https://jevois.usc.edu/apt xenial InRelease                             
Hit:19 https://jevois.usc.edu/apt artful InRelease                             
Hit:20 http://us.archive.ubuntu.com/ubuntu xenial InRelease                    
Hit:21 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:22 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:23 http://download.virtualbox.org/virtualbox/debian xenial InRelease
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://jevois.usc.edu/apt xenial InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://jevois.usc.edu/apt artful InRelease' doesn't support architecture 'arm64'
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:60
avanti@avanti-Latitude-3340:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
avanti@avanti-Latitude-3340:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
avanti@avanti-Latitude-3340:~$ sudo apt install jevois-sdk-devReading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 jevois-sdk-dev : Depends: jevois-sdk (>= 1.8.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
These are the outputs for the other individual packages

avanti@avanti-Latitude-3340:~$ sudo apt install jevois-sdk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 jevois-sdk : Depends: jevois-host (>= 1.8.1) but it is not going to be installed
              Depends: jevois-platform (>= 1.8.1) but it is not going to be installed
              Depends: jevoisbase-host (>= 1.8.1) but it is not going to be installed
              Depends: jevoisbase-platform (>= 1.8.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
avanti@avanti-Latitude-3340:~$ sudo apt install jevois-host jevoisbase-host
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 jevois-host : Depends: jevois-opencv (>= 3.4.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
avanti@avanti-Latitude-3340:~$ sudo apt install jevois-platform jevoisbase-platform
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 jevois-platform : Depends: jevois-opencv (>= 3.4.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Thanks for the logs! What's this:

Hit:19 https://jevois.usc.edu/apt artful InRelease                             


Maybe you should remove that debian source since you are on xenial, you should only have the xenial source activated. Maybe your problem comes from the inability to install the artful (ubuntu 17.10) jevois packages on your xenial (ubuntu 16.04) system.

After you remove that source, try things like

sudo apt -f install
sudo apt purge *jevois*
dpkg --remove jevois*

to get your machine out of the broken dependency state.

Now you also have this:

N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://jevois.usc.edu/apt xenial InRelease' doesn't support architecture 'arm64'

yes, we don't support arm64 hosts, only amd64. Maybe you should remove all your jevois sources and then start fresh by adding only the one you need: xenial for amd64.
Fixed! I have deleted every JeVois files/repositories and reinstalled the packages from scratch.

Shown below are all the steps I've taken in order to install the packages successfully.

1. Open Ubuntu Software app
2. Open the tab Ubuntu Software and click Software & Updates
3. Click on the Other Software tab
4. Delete all JeVois related repositories
5. Reload and update the list
6. Delete all JeVois related files and folders from the computer
7. Open terminal and enter the following commands:
sudo apt -f install
sudo apt purge *jevois*
sudo dpkg --remove jevois*
8. Follow the steps shown on https://jevois.usc.edu/
(The following steps are for the 16.04 xenial version)
8.1. open terminal and type sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DD24C027
8.2. sudo add-apt-repository "deb https://jevois.usc.edu/apt xenial main"
8.3. sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
8.4. sudo apt update
8.5. sudo apt upgrade
8.6. shut down and restart the computer
8.7. open terminal and type sudo apt autoremove
8.8. sudo apt install jevois-sdk-dev

There may be few steps which aren't necessary for the installment; however, I would recommend one to follow all the steps just in case. Thank you so much for the helpful advice!
...