# Error installing sdkmanager

**URL:** <https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452>\
**Category:** Jetson TX2\
**Created:** [September 15, 2020, 5:07pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452 "2020-09-15T17:07:37Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbarb2747](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbarb2747/32/446129_2.png) [@cbarb2747](https://forums.developer.nvidia.com/u/cbarb2747)\
**Post date:** [September 15, 2020, 5:07pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/1 "2020-09-15T17:07:37Z")

</div>

I am trying to download and install the sdkmanger, but get the following errors

Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
Note, selecting ‘sdkmanager:amd64’ instead of ‘./sdkmanager\_0.9.11-3405\_amd64.deb’  
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:  
sdkmanager:amd64 : Depends: libgconf-2-4:amd64 but it is not installable  
Depends: libcanberra-gtk-module:amd64 but it is not installable  
E: Unable to correct problems, you have held broken packages.

I saw a response [here](https://forums.developer.nvidia.com/t/error-with-installing-nvidia-sdk-manager-you-have-held-broken-packages/72856) and I tried the sudo commands in the answer, but did not have success.  
Any help would be greatly appreciated! I want to get my Jetson TX2 loaded and working on it, but I am unable to because of this problem.

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [September 15, 2020, 6:36pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/2 "2020-09-15T18:36:39Z")

</div>

If you first run this, does anything change?

```auto
sudo apt update
sudo apt --fix-broken install
sudo apt-get install libgconf-2-4 libcanberra-gtk-module

```

If not, what messages do you see from those commands?

---

<div class="post-metadata">

**Author:** ![cbarb2747](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbarb2747/32/446129_2.png) [@cbarb2747](https://forums.developer.nvidia.com/u/cbarb2747)\
**Post date:** [September 16, 2020, 1:16am UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/4 "2020-09-16T01:16:20Z")

</div>

I am so sorry. I was trying to use dpkg and it was failing. I used sudo apt install and it worked. Thank you so much for the help

---

<div class="post-metadata">

**Author:** ![changbins](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/changbins/32/14043_2.png) [@changbins](https://forums.developer.nvidia.com/u/changbins)\
**Post date:** [September 16, 2020, 2:16am UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/5 "2020-09-16T02:16:42Z")

</div>

> [@cbarb2747](#):
>
> ./sdkmanager\_0.9.11-3405\_amd64.deb

Correct. “sudo apt install ./sdkmanager\_0.9.11-3405\_amd64.deb” will also install the dependency packages.

---

<div class="post-metadata">

**Author:** ![cbarb2747](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbarb2747/32/446129_2.png) [@cbarb2747](https://forums.developer.nvidia.com/u/cbarb2747)\
**Post date:** [September 16, 2020, 5:25pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/6 "2020-09-16T17:25:49Z")

</div>

So I was unable to install the sdkmanager with ubuntu 20. So I downloaded 18 and am getting this same issue. So I tried your commands and I get this error message

ubuntu@ubuntu:~/Downloads$ sudo apt-get install libgconf-2-4 libcanberra-gtk-module  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
Package libcanberra-gtk-module is not available, but is referred to by another package.  
This may mean that the package is missing, has been obsoleted, or  
is only available from another source

E: Unable to locate package libgconf-2-4  
E: Package ‘libcanberra-gtk-module’ has no installation candidate

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [September 16, 2020, 9:13pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/7 "2020-09-16T21:13:36Z")

</div>

What do you see from these on the Ubuntu 18.04 host PC?  
`dpkg -l | egrep '(libgconf|libcanberra-gtk-module)'`  
`apt search libgconf`

Does this complete?

```auto
sudo apt update
sudo apt --fix-broken install

```

---

<div class="post-metadata">

**Author:** ![cbarb2747](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbarb2747/32/446129_2.png) [@cbarb2747](https://forums.developer.nvidia.com/u/cbarb2747)\
**Post date:** [September 16, 2020, 10:07pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/8 "2020-09-16T22:07:00Z")

</div>

`dpkg -l | egrep '(libgconf|libcanberra-gtk-module)'`  
I see  
dpkg-query: no packages found matching egrep  
dpkg-query: no packages found matching (libconf|libcanberra-gtx-module)

`apt search libgconf`  
I see  
Sorting… Done  
Full Text Search… Done

sudo apt update This completes and says all packages are up to date

sudo apt --fix-broken install

This just says  
Reading package lists…Done  
Building dependency tree  
Reading state information… Done  
0 upgraded, - newly installed, 0 to remove and 0 not upgraded

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [September 16, 2020, 10:24pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/9 "2020-09-16T22:24:47Z")

</div>

> [@cbarb2747](#):
>
> `dpkg -l | egrep '(libgconf|libcanberra-gtk-module)'`  
> I see  
> dpkg-query: no packages found matching egrep  
> dpkg-query: no packages found matching (libconf|libcanberra-gtx-module)

The dpkg error does not make sense. It seems it thinks egrep is a package, or the “pipe” character (“`|`”) was not actually the character used. Maybe you don’t have `egrep` and the pipe confused it. Do you see anything from “`which egrep`”?

I am also wondering if perhaps the lack of finding `libgconf` is due instead to either network or repository setup. I installed this on my NX, and it appears to be provided by the “`universe`” repository. On your Ubuntu 18.04 host PC, what do you see from:  
`grep -i 'universe' /etc/apt/sources.list`

---

<div class="post-metadata">

**Author:** ![cbarb2747](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbarb2747/32/446129_2.png) [@cbarb2747](https://forums.developer.nvidia.com/u/cbarb2747)\
**Post date:** [September 16, 2020, 10:27pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/10 "2020-09-16T22:27:11Z")

</div>

It does not show anything. It just has the next command prompt line.

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [September 16, 2020, 10:35pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/11 "2020-09-16T22:35:23Z")

</div>

This means something is wrong with the base install. Your repositories are not configured. It is a bit like using a telephone, but not having any telephone numbers. Can you copy your “`/etc/apt/sources.list`” to name “`sources.txt`”, and attach this in the forum?

Just as a test, does this show any packages? It isn’t important which packages show up, just knowing if the base repository is functioning for you is the only purpose of this test:  
`apt search bash`

---

<div class="post-metadata">

**Author:** ![cbarb2747](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbarb2747/32/446129_2.png) [@cbarb2747](https://forums.developer.nvidia.com/u/cbarb2747)\
**Post date:** [September 16, 2020, 10:40pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/12 "2020-09-16T22:40:46Z")

</div>

cat /etc/apt/sources.list  
deb cdrom:[Ubuntu 18.04.5 LTS _Bionic Beaver_ - Release amd64 (20200806.1)]/ bionic main restricted  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu/) bionic main restricted  
deb [Index of /ubuntu](http://security.ubuntu.com/ubuntu/) bionic-security main restricted  
deb [Index of /ubuntu](http://archive.ubuntu.com/ubuntu/) bionic-updates main restricted

apt search bash  
Sorting… Done  
Full Text Search… Done  
bash/bionic-updates,now 4.4.18-2ubuntu1.2 amd64 [installed,automatic]  
GNU Bourne Again SHell

bash-completion/bionic,now 1:2.8-1ubuntu1 all [installed,automatic]  
programmable completion for the bash shell

bash-doc/bionic-updates 4.4.18-2ubuntu1.2 all  
Documentation and examples for the GNU Bourne Again SHell

command-not-found/bionic-updates,now 18.04.5 all [installed,automatic]  
Suggest installation of packages in interactive bash sessions

dash/bionic,now 0.5.8-2.10 amd64 [installed]  
POSIX-compliant shell

devscripts/bionic-security,bionic-updates 2.17.12ubuntu1.1 amd64  
scripts to make the life of a Debian Package maintainer easier

grub-efi-amd64/bionic-updates 2.02-2ubuntu8.18 amd64  
GRand Unified Bootloader, version 2 (EFI-AMD64 version)

grub-efi-amd64-bin/bionic-updates 2.02-2ubuntu8.18 amd64  
GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)

grub-efi-amd64-signed/bionic-updates 1.93.20+2.02-2ubuntu8.18 amd64  
GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)

grub-efi-ia32/bionic-updates 2.02-2ubuntu8.18 amd64  
GRand Unified Bootloader, version 2 (EFI-IA32 version)

grub-efi-ia32-bin/bionic-updates 2.02-2ubuntu8.18 amd64  
GRand Unified Bootloader, version 2 (EFI-IA32 binaries)

grub-ieee1275/bionic-updates 2.02-2ubuntu8.18 amd64  
GRand Unified Bootloader, version 2 (Open Firmware version)

grub-ieee1275-bin/bionic-updates 2.02-2ubuntu8.18 amd64  
GRand Unified Bootloader, version 2 (Open Firmware binaries)

grub-pc/bionic-updates,now 2.02-2ubuntu8.18 amd64 [installed,automatic]  
GRand Unified Bootloader, version 2 (PC/BIOS version)

grub-pc-bin/bionic-updates,now 2.02-2ubuntu8.18 amd64 [installed,automatic]  
GRand Unified Bootloader, version 2 (PC/BIOS binaries)

grub-xen/bionic-updates 2.02-2ubuntu8.18 amd64  
GRand Unified Bootloader, version 2 (Xen version)

grub-xen-bin/bionic-updates 2.02-2ubuntu8.18 amd64  
GRand Unified Bootloader, version 2 (Xen binaries)

licensecheck/bionic 3.0.31-2 all  
simple license checker for source files

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [September 16, 2020, 11:02pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/13 "2020-09-16T23:02:39Z")

</div>

So we can verify that basic setup is working on the host PC. We can also verify that `universe` is not enabled. See this:  
[https://itsfoss.com/ubuntu-repositories/](https://itsfoss.com/ubuntu-repositories/)  
…then enable “`universe`”, and try to add the other packages again which it could not find a candidate for.

---

<div class="post-metadata">

**Author:** ![cbarb2747](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbarb2747/32/446129_2.png) [@cbarb2747](https://forums.developer.nvidia.com/u/cbarb2747)\
**Post date:** [September 16, 2020, 11:14pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/14 "2020-09-16T23:14:09Z")

</div>

ok I added the universe repo. Which packages am I trying to add again?  
These?  
`dpkg -l | egrep '(libgconf|libcanberra-gtk-module)'`

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [September 17, 2020, 3:52pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/15 "2020-09-17T15:52:57Z")

</div>

Yes. Does anything show up indicating install now if you run this:

```auto
sudo apt update
sudo apt --fix-broken install
sudo apt-get install libgconf-2-4 libcanberra-gtk-module

```

(I think the packages which were previously not visible will now be found since you’ve enabled repository “universe”)

---

<div class="post-metadata">

**Author:** ![cbarb2747](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/cbarb2747/32/446129_2.png) [@cbarb2747](https://forums.developer.nvidia.com/u/cbarb2747)\
**Post date:** [October 7, 2020, 3:36pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/17 "2020-10-07T15:36:23Z")

</div>

I ended up getting a clean install using a different computer. Thank you so much for your help.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:16pm UTC](https://forums.developer.nvidia.com/t/error-installing-sdkmanager/154452/18 "2021-10-18T18:16:47Z")

</div>

Closed on October 18, 2021, 6:16pm UTC


