Installation error in Kria-PYNQ

Hi,
I am getting the following error while installing the PYNQ in Kria KV260. Please help. Thanks in advance. Nilanjan

ubuntu@kria:~$ git clone https://github.com/Xilinx/Kria-PYNQ.git
Cloning into 'Kria-PYNQ'...
remote: Enumerating objects: 67, done.
remote: Counting objects: 100% (67/67), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 67 (delta 14), reused 58 (delta 11), pack-reused 0
Unpacking objects: 100% (67/67), 1.25 MiB | 889.00 KiB/s, done.
ubuntu@kria:~$ cd Kria-PYNQ/
ubuntu@kria:~/Kria-PYNQ$ sudo bash install.sh
Installing PYNQ, this process takes around 25 minutes 
Submodule 'pynq' (https://github.com/Xilinx/PYNQ.git) registered for path 'pynq'
Cloning into '/home/ubuntu/Kria-PYNQ/pynq'...
Submodule path 'pynq': checked out '59515a9b5de6fad0ff0538bfc50010b16f53c9a8'
Executing: /tmp/apt-key-gpghome.OuRdoqwOzz/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 --verbose 803DDF595EA7B6644F9B96B752150A179A9E84C9
gpg: no running Dirmngr - starting '/usr/bin/dirmngr'
gpg: waiting for the dirmngr to come up ... (5s)
gpg: connection to dirmngr established
gpg: data source: http://162.213.33.8:80
gpg: armor header: Version: Hockeypuck ~unreleased
gpg: armor header: Comment: Hostname:
gpg: pub  rsa4096/52150A179A9E84C9 2020-06-07  Launchpad PPA for Ubuntu Xilinx
gpg: key 52150A179A9E84C9: "Launchpad PPA for Ubuntu Xilinx" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Hit:1 http://ppa.launchpad.net/ubuntu-xilinx/updates/ubuntu focal InRelease    
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal InRelease                     
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease             
Hit:4 http://oem.archive.canonical.com/updates focal-limerick InRelease        
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease                     
Hit:2 http://ppa.launchpad.net/ubuntu-xilinx/updates/ubuntu focal InRelease    
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease           
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease            
Hit:6 http://oem.archive.canonical.com/updates focal-limerick InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libopencv-dev is already the newest version (4.2.0+dfsg-5).
python3-opencv is already the newest version (4.2.0+dfsg-5).
python3.8-venv is already the newest version (3.8.10-0ubuntu1~20.04.2).
python3.8-venv set to manually installed.
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:
 libdrm-xlnx-dev : Depends: libdrm-xlnx-amdgpu1 (= 2.4.102-1ubuntu1~20.04.1xilinx1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ubuntu@kria:~/Kria-PYNQ$

Hi there,

Have you gone through other setup steps outlined on the getting started page? Like running xlnx-config.sysinit, before installing Kria-PYNQ?

Thanks
Shawn

Hello,
I have followed every setup step as outlined on the getting started page.

Thanks
Nilanjan

Hi @Nilz,

Did you start from a fresh SD card image? Or did you run something before trying to install PYNQ?

Mario

I installed OpenCV before installing PYNQ.

Nilanjan

Can you provide the exact command(s) so we can try to reproduce?

For installing OpenCV, I used the following command.

sudo apt-get install libopencv-dev python3-opencv

One more thing I almost forgot I tried to install Anaconda 3. I installed the dependencies using the following command, but the installation failed.

sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6

This is the link for Anaconda
Following this, I tried to install PYNQ.
Sorry for missing out on a vital piece of information.
Nilanjan

Hi,

At this point I would suggest you install PYNQ in a fresh Ubuntu image.

Please share the log of the failed Anaconda installation if you have it.

Mario

I dont have the failed anaconda installation log. I’ll do as you suggest.

Thanks
Nilanjan

1 Like