# The package system is broken!

**URL:** <https://forums.developer.nvidia.com/t/the-package-system-is-broken/220271>\
**Category:** Jetson AGX Orin\
**Created:** [July 9, 2022, 7:02pm UTC](https://forums.developer.nvidia.com/t/the-package-system-is-broken/220271 "2022-07-09T19:02:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![easybob](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/easybob/32/23567_2.png) [@easybob](https://forums.developer.nvidia.com/u/easybob)\
**Post date:** [July 9, 2022, 7:02pm UTC](https://forums.developer.nvidia.com/t/the-package-system-is-broken/220271/1 "2022-07-09T19:02:02Z")

</div>

Hello,

When running Software updater, i get this issue :

Check if you are using third party repositories. If so disable them, since they are a common source of problems.  
Furthermore run the following command in a Terminal: apt-get install -f  
Transaction failed: The package system is broken  
The following packages have unmet dependencies:

cuda-command-line-tools-11-4: Depends: cuda-cupti-dev-11-4 (\>= 11.4.167) but 11.4.239-1 is installed  
Depends: cuda-gdb-11-4 (\>= 11.4.167) but 11.4.247-1 is installed  
Depends: cuda-nvdisasm-11-4 (\>= 11.4.167) but 11.4.239-1 is installed  
Depends: cuda-nvprof-11-4 (\>= 11.4.166) but it is not installed  
Depends: cuda-nvtx-11-4 (\>= 11.4.166) but 11.4.239-1 is installed  
Depends: cuda-sanitizer-11-4 (\>= 11.4.166) but 11.4.239-1 is installed

This came without particular operation from myself. I just made a software update like always.

I tried this :  
apt-get install -f

The command give this result :  
The following additional packages will be installed:  
cuda-nvprof-11-4  
The following NEW packages will be installed:  
cuda-nvprof-11-4  
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.  
1 not fully installed or removed.  
Need to get 0 B/18,6 kB of archives.  
After this operation, 90,1 kB of additional disk space will be used.  
Do you want to continue? [Y/n] Y  
debconf: delaying package configuration, since apt-utils is not installed  
(Reading database … 179216 files and directories currently installed.)  
Preparing to unpack …/cuda-nvprof-11-4\_11.4.166-1\_arm64.deb …  
Unpacking cuda-nvprof-11-4 (11.4.166-1) …  
dpkg: error processing archive /var/cache/apt/archives/cuda-nvprof-11-4\_11.4.166-1\_arm64.deb (–unpack):  
trying to overwrite ‘/usr/local/cuda-11.4/targets/aarch64-linux/include/cudaProfiler.h’, which is also in package cuda-profiler-api-11-4 11.4.239-1  
Errors were encountered while processing:  
/var/cache/apt/archives/cuda-nvprof-11-4\_11.4.166-1\_arm64.deb  
E: Sub-process /usr/bin/dpkg returned an error code (1)

It’s the first time i get such problem.

Any help will be appreciate !

Alain

---

<div class="post-metadata">

**Author:** ![richg](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@richg](https://forums.developer.nvidia.com/u/richg)\
**Post date:** [July 9, 2022, 8:02pm UTC](https://forums.developer.nvidia.com/t/the-package-system-is-broken/220271/2 "2022-07-09T20:02:44Z")

</div>

I had the same issue, try this sequence of commands to get it resolved

```auto
sudo apt --fix-broken install -o Dpkg::Options::="--force-overwrite"
sudo apt-get dist-upgrade
sudo apt autoremove

```

---

<div class="post-metadata">

**Author:** ![easybob](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/easybob/32/23567_2.png) [@easybob](https://forums.developer.nvidia.com/u/easybob)\
**Post date:** [July 10, 2022, 1:27pm UTC](https://forums.developer.nvidia.com/t/the-package-system-is-broken/220271/3 "2022-07-10T13:27:00Z")

</div>

Hello richg,

you saved me ! It works !

Many thanks.

Alain

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [July 24, 2022, 1:27pm UTC](https://forums.developer.nvidia.com/t/the-package-system-is-broken/220271/4 "2022-07-24T13:27:46Z")

</div>

Closed on July 24, 2022, 1:27pm UTC

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