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
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
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
# 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