alliedvision / linux_nvidia_jetson

Allied Vision CSI-2 camera driver for NVIDIA Jetson Systems.
105 stars 41 forks source link

Installation error on Orin JetPack 5.1.1 #61

Open JanezCim opened 1 year ago

JanezCim commented 1 year ago

I have Orin with JetPack as folows:

$ sudo apt-cache show nvidia-jetpack
Package: nvidia-jetpack
Version: 5.1.1-b56
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-jetpack-runtime (= 5.1.1-b56), nvidia-jetpack-dev (= 5.1.1-b56)
Homepage: http://developer.nvidia.com/jetson

When i downloaded and followed install instructions of the latest release AlliedVision_NVidia_L4T_35.2.1_5.1.0 Ive stumbled into problems:

$ ./install.sh                        
Allied Vision MIPI CSI-2 camera driver for NVidia Jetson (kernel 5.10.104)                             
Install kernel driver (y/n)? y                                                                         

Installing...                                                                                          
[sudo] password for robot:                                                                             
Extracting repository:                                                                                 
Release.gpg                                                                                            
KEY.gpg                                                                                                
Release                                                                                                
Packages                                                                                               
avt-nvidia-l4t-kernel-dtbs_5.10.104-tegra-35.2.1-5.1.0~gad1411701_arm64.deb                            
avt-nvidia-l4t-bootloader_35.2.1-5.1.0~gad1411701_arm64.deb                                            
avt-nvidia-l4t-kernel-headers_5.10.104-tegra-35.2.1-5.1.0~gad1411701_arm64.deb                         
avt-nvidia-l4t-kernel_5.10.104-tegra-35.2.1-5.1.0~gad1411701_arm64.deb                                 
Importing Repository:                                                                                  
Reading package lists... Done                                                                          
Building dependency tree                                                                               
Reading state information... Done                                                                      
Note, selecting 'avt-nvidia-l4t-kernel-headers' for glob 'avt-nvidia-*'                                
Note, selecting 'avt-nvidia-l4t-kernel-dtbs' for glob 'avt-nvidia-*'                                   
Note, selecting 'avt-nvidia-l4t-bootloader' for glob 'avt-nvidia-*'                                    
Note, selecting 'avt-nvidia-l4t-kernel' for glob 'avt-nvidia-*'                                        
Package 'avt-nvidia-l4t-bootloader' is not installed, so not removed                                   
Package 'avt-nvidia-l4t-kernel-dtbs' is not installed, so not removed                                  
Package 'avt-nvidia-l4t-kernel-headers' is not installed, so not removed                               
Package 'avt-nvidia-l4t-kernel' is not installed, so not removed
K                                                                                                     
deb file:/opt/avt/packages ./                                                                          
Get:1 file:/opt/avt/packages ./ InRelease                                                              
Ign:1 file:/opt/avt/packages ./ InRelease                                                              
Get:2 file:/opt/avt/packages ./ Release [816 B]                                                        
Get:2 file:/opt/avt/packages ./ Release [816 B]                                                        
Hit:3 https://download.docker.com/linux/ubuntu focal InRelease                                         
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal InRelease                                             
Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]                            
Hit:6 https://repo.download.nvidia.com/jetson/common r35.3 InRelease                                   
Hit:8 https://repo.download.nvidia.com/jetson/t234 r35.3 InRelease                                     
Get:9 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [108 kB]                          
Get:10 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [114 kB]                          
Get:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 DEP-11 Metadata [274 kB]          
Get:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 DEP-11 Metadata [408 kB]      
Get:13 http://ports.ubuntu.com/ubuntu-ports focal-backports/main arm64 DEP-11 Metadata [5232 B]        
Get:14 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe arm64 DEP-11 Metadata [30,5 kB]   
Get:15 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 DEP-11 Metadata [59,8 kB]        
Get:16 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 DEP-11 Metadata [95,1 kB]    
Hit:17 http://packages.ros.org/ros/ubuntu focal InRelease                                              
Fetched 1209 kB in 2s (674 kB/s)                                                                       
Reading package lists... Done                                                                          
Installing packages:                                                                                   
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:                                                        
 avt-nvidia-l4t-bootloader : PreDepends: nvidia-l4t-core (< 35.3-0) but 35.3.1-20230319081403 is to be 
 installed                                                                                             
                             Depends: nvidia-l4t-tools (< 35.3-0) but 35.3.1-20230319081403 is to be installed                                                                                               
                             Depends: nvidia-l4t-init (< 35.3-0) but 35.3.1-20230319081403 is to be installed                                                                                                
 avt-nvidia-l4t-kernel : PreDepends: nvidia-l4t-core (< 35.3-0) but 35.3.1-20230319081403 is to be installed                                                                                                 
                         Depends: nvidia-l4t-tools (< 35.3-0) but 35.3.1-20230319081403 is to be installed                                                                                                   
 avt-nvidia-l4t-kernel-dtbs : PreDepends: nvidia-l4t-core (< 35.3-0) but 35.3.1-20230319081403 is to be installed                                                                                            
 avt-nvidia-l4t-kernel-headers : PreDepends: nvidia-l4t-core (< 35.3-0) but 35.3.1-20230319081403 is to be installed                                                                                         
E: Unable to correct problems, you have held broken packages. 

It seems not to be happy with the versions of nvidia-l4t-tools nvidia-l4t-init nvidia-l4t-core installed. It seems to be expecting older versions of them since i have the 35.3.1 installed:

$ sudo apt-cache show nvidia-l4t-core
Package: nvidia-l4t-core
Version: 35.3.1-20230319081403

Also i cant find a way to downgrade those. Is there a workaround for this? If no, is there an update release for avt planned in the near future? Thank you.

estelelenath commented 1 year ago

I have also same issue at the on Xavier NX jetpack 5.1