Hello,
I can’t update or install any software because of some unmet dependencies:
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.2.1-20230124153320) but 35.2.1-20230121191456 is installed
nvidia-l4t-nvfancontrol : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is installed
nvidia-l4t-nvpmodel : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is installed
nvidia-l4t-nvpmodel-gui-tools : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Whe I try the suggested fix with sudo apt --fix-broken install, the output looks like this:
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 239143 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_35.2.1-20230124153320_arm64.deb ...
sfdisk: /dev/nvme0n1: partition 1: failed to get partition name
dpkg: error processing archive /var/cache/apt/archives/nvidia-l4t-core_35.2.1-20230124153320_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.2.1-20230124153320_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This issue is independent of the Husky and is of Nvidia exclusively.
As mentioned by Nvidia in their forums. One should not try to upgrade the Nvidia as it has a special distribution and upgrading via the sudo apt-get upgrade can brick the system or damage the software components. Also, the sudo apt-get update for Nvidia specifically has a certain procedure.
Provided that your Nvidia is working without issues, I would advise to ignore these warnings.
I can’t really ignore it, because I can’t install any software on it now. Is there a way to fix it? do I have to reset the whole thing to factory settings?
> sudo apt-get install cmatrix
[sudo] password for administrator:
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.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvfancontrol : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvpmodel : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvpmodel-gui-tools : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Could you please tell me which Nvidia (Orin or Nano) you have, which ROS distribution is being used, and which sensors are active, perhaps I may have a clone of it!
Also, there is a long round about solutions for this which may or may not work, however, the fastest way would be to flash the Nvidia with the jetpack installer.
I would suggest to backup:
ros workspace (if available)
.bashrc
/etc/udev/rules.d/* (the exclusive rules for some of the sensors if available)
Please note if you can install other items (e.g. sudo apt-get install terminator or something), it may be currently that this application is not supported in this version, in which case I advise against flashing it and seeking an alternative way of installation!
> cat /etc/nv_tegra_release
# R35 (release), REVISION: 2.1, GCID: 32398013, BOARD: t186ref, EABI: aarch64, DATE: Sun Jan 22 03:18:23 UTC 2023
installing anything else results in same error:
> sudo apt-get install terminator
[sudo] password for administrator:
Reading package lists... Done
Building dependency tree
Reading state information... Done
terminator is already the newest version (1.91-4ubuntu1).
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.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvfancontrol : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvpmodel : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvpmodel-gui-tools : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Terminator is already installed and its showing successful, please try with some other package.
oh yea, didn’t check… you guys must have installed it, while setup. Here is something else:
> sudo apt-get install neofetch
[sudo] password for administrator:
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.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvfancontrol : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvpmodel : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvpmodel-gui-tools : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
> sudo apt install nvidia-l4t-openwfd nvidia-l4t-vulkan-sc-dev nvidia-l4t-vulkan-sc-samples nvidia-l4t-vulkan-sc-sdk nvidia-l4t-vulkan-sc nvidia-l4t-jetsonpower-gui-tools
[sudo] password for administrator:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-l4t-jetsonpower-gui-tools is already the newest version (35.2.1-20230124153320).
nvidia-l4t-openwfd is already the newest version (35.2.1-20230124153320).
nvidia-l4t-vulkan-sc is already the newest version (35.2.1-20230124153320).
nvidia-l4t-vulkan-sc-dev is already the newest version (35.2.1-20230124153320).
nvidia-l4t-vulkan-sc-samples is already the newest version (35.2.1-20230124153320).
nvidia-l4t-vulkan-sc-sdk is already the newest version (35.2.1-20230124153320).
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.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvfancontrol : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvpmodel : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
nvidia-l4t-nvpmodel-gui-tools : Depends: nvidia-l4t-core (= 35.2.1-20230124153320) but 35.2.1-20230121191456 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).