# apt-get update errors.

**URL:** <https://forums.developer.nvidia.com/t/apt-get-update-errors/78038>\
**Category:** Jetson Nano\
**Created:** [July 15, 2019, 5:43am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038 "2019-07-15T05:43:39Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnemonik](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mnemonik](https://forums.developer.nvidia.com/u/mnemonik)\
**Post date:** [July 15, 2019, 5:43am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/1 "2019-07-15T05:43:39Z")

</div>

hi, i try to setup some software by apt-get on my jetson nano. i have fresh sd-card with just installed ubuntu 18.04

but, i have errors on update

```auto
sudo apt-get update
[sudo] password for pikot:
Get:1 file:/var/cuda-repo-10-0-local-10.0.166 InRelease
Ign:1 file:/var/cuda-repo-10-0-local-10.0.166 InRelease
Get:2 file:/var/visionworks-repo InRelease
Ign:2 file:/var/visionworks-repo InRelease
Get:3 file:/var/visionworks-sfm-repo InRelease
Ign:3 file:/var/visionworks-sfm-repo InRelease
Get:4 file:/var/visionworks-tracking-repo InRelease
Ign:4 file:/var/visionworks-tracking-repo InRelease
Get:5 file:/var/cuda-repo-10-0-local-10.0.166 Release [574 B]
Get:6 file:/var/visionworks-repo Release [1 999 B]
Get:5 file:/var/cuda-repo-10-0-local-10.0.166 Release [574 B]
Get:7 file:/var/visionworks-sfm-repo Release [2 003 B]
Get:6 file:/var/visionworks-repo Release [1 999 B]
Get:8 file:/var/visionworks-tracking-repo Release [2 008 B]
Get:7 file:/var/visionworks-sfm-repo Release [2 003 B]
Get:9 file:/var/cuda-repo-10-0-local-10.0.166 Release.gpg [819 B]
Get:8 file:/var/visionworks-tracking-repo Release [2 008 B]
Get:10 file:/var/visionworks-repo Release.gpg [819 B]
Get:9 file:/var/cuda-repo-10-0-local-10.0.166 Release.gpg [819 B]
Get:11 file:/var/visionworks-sfm-repo Release.gpg [819 B]
Get:10 file:/var/visionworks-repo Release.gpg [819 B]
Get:11 file:/var/visionworks-sfm-repo Release.gpg [819 B]
Get:12 file:/var/visionworks-tracking-repo Release.gpg [819 B]
Get:12 file:/var/visionworks-tracking-repo Release.gpg [819 B]
Get:13 file:/var/cuda-repo-10-0-local-10.0.166 Packages [10,9 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [242 kB]
Get:15 file:/var/visionworks-repo Packages [1 182 B]
Get:16 file:/var/visionworks-sfm-repo Packages [833 B]
Get:17 file:/var/visionworks-tracking-repo Packages [828 B]
Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88,7 kB]
Err:14 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
  The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74,6 kB]
Err:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
  The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88,7 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [2 512 B]
Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [1 644 B]
Get:23 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [3 732 B]
Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe Translation-en [1 696 B]
Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 DEP-11 Metadata [7 224 B]
Get:26 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe DEP-11 64x64 Icons [29 B]
Get:28 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [320 kB]
Err:28 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:319672 [weak]
   - SHA256:15bcbc08cad20029614921a388d725ce3c78a4a71eb0f041d8a0f6039e2ba20b
   - SHA1:cca7910de8f6090acda3d7e902890573ab5fdcbc [weak]
   - MD5Sum:ba78dc59716ade065dee57922195b93e [weak]
  Hashes of received file:
   - SHA256:71017758671ba5dba536a39ea0318f408052c529bce2193b4b16b382d8d1beb1
   - SHA1:cd7a7c9df2df1d44f43084a86e527b79bfb608cd [weak]
   - MD5Sum:e52d22118d02b5163fe8050c57e4919e [weak]
   - Filesize:319672 [weak]
  Last modification reported: Fri, 12 Jul 2019 03:33:29 +0000
  Release file created at: Sun, 14 Jul 2019 13:17:56 +0000
Get:29 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [156 kB]
Err:29 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en

Get:30 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 DEP-11 Metadata [18,0 kB]
Get:31 http://ports.ubuntu.com/ubuntu-ports bionic-security/main DEP-11 48x48 Icons [10,4 kB]
Get:32 http://ports.ubuntu.com/ubuntu-ports bionic-security/main DEP-11 64x64 Icons [31,7 kB]
Get:33 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [668 B]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted Translation-en [2 192 B]
Get:35 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [510 kB]
Err:35 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages

Get:36 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [185 kB]
Get:37 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 DEP-11 Metadata [36,2 kB]
Get:38 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe DEP-11 48x48 Icons [16,4 kB]
Reading package lists... Done                                                    
W: GPG error: http://ports.ubuntu.com/ubuntu-ports bionic InRelease: The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
E: The repository 'http://ports.ubuntu.com/ubuntu-ports bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease: The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
E: The repository 'http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

```

and when i try to install pip, for example, error happen

```auto
sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pip

```

/etc/apt/sources.list is default

```auto
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted multiverse universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-security universe
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-security multiverse

```

how to fix it? pls help

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [July 15, 2019, 7:04am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/2 "2019-07-15T07:04:04Z")

</div>

Could you share the step of your driver package installation?

---

<div class="post-metadata">

**Author:** ![mnemonik](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mnemonik](https://forums.developer.nvidia.com/u/mnemonik)\
**Post date:** [July 15, 2019, 8:52am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/3 "2019-07-15T08:52:47Z")

</div>

my installation steps:

1. i download the jetson nano developer kit SD Card image and write it on sd card. Image link has taken from [Getting Started With Jetson Nano Developer Kit | NVIDIA Developer](https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit)

2. run the jetson nano with the sd card.

3. make network setup (wifi dongle detected automatically) and login/password setup at first login

4. open terminal and write “apt-get update”, result shown in my first message.

how i try to solve the problem:

1. i tried to clean apt hash by

```auto
sudo apt-get clean
sudo mv /var/lib/apt/lists /tmp
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update

```

1. i tried to delete and than get new signature 3B4FE6ACC0B21F32, i tried to update the signature by

```auto
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32

```

1. i tried to take new sd card and made all steps with new sd card, result is the same.

2. I searched reason of “Hash Sum mismatch” error, but couldn’t find answer that worked for me.

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [July 15, 2019, 9:17am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/4 "2019-07-15T09:17:11Z")

</div>

We will try to repro this issue on our side. In the meantime, would you minding trying sdkmanager?

If sdkmanager could work, it may indicate the package on download center has some problem.

---

<div class="post-metadata">

**Author:** ![carolyuu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/carolyuu/32/14043_2.png) [@carolyuu](https://forums.developer.nvidia.com/u/carolyuu)\
**Post date:** [July 15, 2019, 9:37am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/5 "2019-07-15T09:37:47Z")

</div>

Hi mnemonik,

Please try below command then install python3-pip again.

```auto
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install python3-pip

```

---

<div class="post-metadata">

**Author:** ![mnemonik](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mnemonik](https://forums.developer.nvidia.com/u/mnemonik)\
**Post date:** [July 16, 2019, 6:08am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/6 "2019-07-16T06:08:50Z")

</div>

> [@WayneWWW](#):
>
> We will try to repro this issue on our side. In the meantime, would you minding trying sdkmanager?
> 
> If sdkmanager could work, it may indicate the package on download center has some problem.

sdkmanager? as i understand this program doesn’t exist on sd-card?

```auto
~$ sdkmanager
bash: sdkmanager: command not found

```

> [@carolyuu](#):
>
> Hi mnemonik,
> 
> Please try below command then install python3-pip again.
> 
> ```auto
> sudo add-apt-repository universe
> sudo apt-get update
> sudo apt-get install python3-pip
> 
> ```

i tried, but it doesn’t help

```auto
~$ sudo add-apt-repository universe
'universe' distribution component is already enabled for all sources.

```

and same errors on update command.

as i think, something wrong with apt-get?

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [July 16, 2019, 6:17am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/7 "2019-07-16T06:17:41Z")

</div>

Hi,

sdkmanager(jetpack) is a tool on your desktop host. You could install it from our website.

> **[JetPack SDK](https://developer.nvidia.com/embedded/jetpack)**
>
> Builds end-to-end accelerated AI applications and supports edge AI development.

sdkmanager should automatically install the same rootfs as what you did on your sdcard.  
Normally, you could install it from either sdkmanager or using the package from our download center.

I just suspect there are some problem when you dealt with the package.

---

<div class="post-metadata">

**Author:** ![mnemonik](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mnemonik](https://forums.developer.nvidia.com/u/mnemonik)\
**Post date:** [July 17, 2019, 6:02am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/8 "2019-07-17T06:02:22Z")

</div>

I have found reason of errors! ) A have problem with MT7601 wifi adapter) I have started download by wget sdk manager and have seen ssl3 errors. It lead me to conclusion that something wrong with wifi drivers. Via ethernet everything works perfectly  
WayneWWW, carolyuu - thanks so much for help!

---

<div class="post-metadata">

**Author:** ![RobotRoss](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robotross/32/16980_2.png) [@RobotRoss](https://forums.developer.nvidia.com/u/RobotRoss)\
**Post date:** [February 24, 2021, 7:38pm UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/9 "2021-02-24T19:38:58Z")

</div>

For a “first boot and configure” for a new Jetson Nano 2G, (Jetpack 3.5), I encountered the same “unable to install python3-pip” problem and also discovered incomplete apt-update and apt-upgrade runs, using the NVidia supplied USB WiFi adapter. As suggested, using an Ethernet cable to connect to my network and the internet solved the problem. Anybody suggest why? Are updated WiFi device drivers required? The WiFi connection seems to work for ordinary browsing.

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [March 4, 2021, 5:30am UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/10 "2021-03-04T05:30:05Z")

</div>

Hi [phreddog24](https://forums.developer.nvidia.com/u/phreddog24),

Please help to open a new topic if it’s still an issue.

Thanks

---

<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 14, 2021, 8:49pm UTC](https://forums.developer.nvidia.com/t/apt-get-update-errors/78038/11 "2021-10-14T20:49:50Z")

</div>


