Trying to install jetpack in my tensorbook, help me to resolve the dependency errors

Description

sudo apt install ./sdkmanager_1.6.1-8175_amd64.deb
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:
libnvinfer-dev : Depends: libcudnn8-dev but it is not installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
anamika@tensorbook:~/Downloads$ sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-87-generic linux-hwe-5.4-headers-5.4.0-87
linux-image-5.4.0-87-generic linux-modules-5.4.0-87-generic
linux-modules-extra-5.4.0-87-generic
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
libcudnn8-dev
The following NEW packages will be installed:
libcudnn8-dev
0 upgraded, 1 newly installed, 0 to remove and 229 not upgraded.
2 not fully installed or removed.
Need to get 0 B/243 MB of archives.
After this operation, 761 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 348159 files and directories currently installed.)
Preparing to unpack …/libcudnn8-dev_8.3.1.22-1+cuda10.2_amd64.deb …
Unpacking libcudnn8-dev (8.3.1.22-1+cuda10.2) …
dpkg: error processing archive /var/cache/apt/archives/libcudnn8-dev_8.3.1.22-1+cuda10.2_amd64.deb (–unpack):
trying to overwrite ‘/usr/lib/x86_64-linux-gnu/libcudnn.so’, which is also in package libcudnn-dev:amd64 7.6.4-0lambda1
Errors were encountered while processing:
/var/cache/apt/archives/libcudnn8-dev_8.3.1.22-1+cuda10.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
anamika@tensorbook:~/Downloads$

Environment

TensorRT Version:
GPU Type:
Nvidia Driver Version:
CUDA Version:
CUDNN Version:
Operating System + Version:
Python Version (if applicable):
TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):

Relevant Files

Steps To Reproduce

Download jetpack 4.6 in Ubuntu 18.04.3 LTS tensorbook

sudo apt install ./sdkmanager_[version]-[build#]_amd64.deb

Please include:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered

Hi,
Please refer to the installation steps from the below link if in case you are missing on anything

Also, we suggest you to use TRT NGC containers to avoid any system dependency related issues.
https://ngc.nvidia.com/catalog/containers/nvidia:tensorrt

Thanks!