Errors were encountered while processing: /var/cache/apt/archives/nvidia-l4t-core_35.3.1-20230319081403_arm64.deb

Hi, I’m one of the reviewers of the Jetson Orin Nano Developer Kit.
It’s pretty good. The performance is amazing.

I’ve met a problem below and cannot apt install anything now. Do you have some advice to resolve it?

sudo apt upgrade 
[sudo] password for youtalk: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 nvidia-l4t-jetsonpower-gui-tools : Depends: nvidia-l4t-core (= 35.3.1-20230319081403) but 35.3.0-20230221103601 is installed
 nvidia-l4t-nvfancontrol : Depends: nvidia-l4t-core (= 35.3.1-20230319081403) but 35.3.0-20230221103601 is installed
 nvidia-l4t-nvpmodel : Depends: nvidia-l4t-core (= 35.3.1-20230319081403) but 35.3.0-20230221103601 is installed
 nvidia-l4t-nvpmodel-gui-tools : Depends: nvidia-l4t-core (= 35.3.1-20230319081403) but 35.3.0-20230221103601 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I’ve tried to run sudo apt --fix-broken install but it didn’t work.

sudo apt --fix-broken install nvidia-l4t-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dctrl-tools dpkg-repack gir1.2-goa-1.0 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0
  grub-common libdebian-installer4 libfwupdplugin1 libtimezonemap-data libtimezonemap1 libxmlb1 os-prober python3-icu python3-pam rdate tasksel
  tasksel-data
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  nvidia-l4t-core
1 upgraded, 0 newly installed, 0 to remove and 66 not upgraded.
26 not fully installed or removed.
Need to get 6,164 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://repo.download.nvidia.com/jetson/t234 r35.3/main arm64 nvidia-l4t-core arm64 35.3.1-20230319081403 [6,164 kB]
Fetched 6,164 kB in 1s (8,209 kB/s)          
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 155378 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_35.3.1-20230319081403_arm64.deb ...
sfdisk: /dev/nvme0n1: partition 1: failed to get partition name
dpkg: error processing archive /var/cache/apt/archives/nvidia-l4t-core_35.3.1-20230319081403_arm64.deb (--unpack):
 new nvidia-l4t-core package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-l4t-core_35.3.1-20230319081403_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This workaround didn’t also work.

sudo rm  /var/cache/apt/archives/nvidia-l4t-core_35.3.1-20230319081403_arm64.deb
sudo apt --fix-broken install -o Dpkg::Options::="--force-overwrite"

I’ve decided to flush the SD card again. Don’t worry.

If it’s still not working, you can try with SDK manager to flash your device with JetPack. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.