Software Updater, software & Updates wont' open on Ubuntu 20.04.6 LTS

Asked by Gaurav Sahane

I installed a new python and terminal, software Updater, Software & Updates, livepatch won't open.
when i do `sudo apt-get update` I get
```
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Ign:2 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 InRelease
Ign:3 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
Hit:4 https://deb.opera.com/opera-stable stable InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:7 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 Release
Hit:8 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:9 http://archive.canonical.com/ubuntu focal InRelease
Get:10 https://packages.microsoft.com/repos/code stable InRelease [3,569 B]
Hit:11 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:12 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Hit:13 http://oem.archive.canonical.com focal InRelease
Get:14 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release [3,094 B]
Hit:15 http://dell.archive.canonical.com focal InRelease
Hit:17 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:18 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release.gpg [801 B]
Hit:19 http://in.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:20 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal pgadmin4 InRelease
Err:10 https://packages.microsoft.com/repos/code stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
Hit:22 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease
Ign:18 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release.gpg
Hit:21 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Reading package lists... Done
W: GPG error: https://packages.microsoft.com/repos/code stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
E: The repository 'https://packages.microsoft.com/repos/code stable 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: https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 656408E390CFB1F5
E: The repository 'https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release' 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.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease' doesn't support architecture 'i386'
```
When i add the key using
```
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF
```
i get the same output
```
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Ign:2 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 InRelease
Ign:3 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
Hit:4 https://deb.opera.com/opera-stable stable InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://dell.archive.canonical.com focal InRelease
Hit:7 http://oem.archive.canonical.com focal InRelease
Hit:8 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:9 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 Release
Hit:10 http://archive.canonical.com/ubuntu focal InRelease
Hit:11 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Hit:12 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:13 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Get:14 https://packages.microsoft.com/repos/code stable InRelease [3,569 B]
Hit:15 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease
Get:16 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release [3,094 B]
Hit:17 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:18 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release.gpg [801 B]
Hit:19 http://in.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:22 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal pgadmin4 InRelease
Err:14 https://packages.microsoft.com/repos/code stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
Ign:18 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release.gpg
Hit:20 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Reading package lists... Done
W: GPG error: https://packages.microsoft.com/repos/code stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
E: The repository 'https://packages.microsoft.com/repos/code stable 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.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease' doesn't support architecture 'i386'
W: GPG error: https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 656408E390CFB1F5
E: The repository 'https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release' 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.
```
My terminal started working because i change the top line from
#!/usr/bin/python3 --> #!/usr/bin/python3.8

What can I do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Gaurav Sahane
Solved:
Last query:
Last reply:
Revision history for this message
Gaurav Sahane (gauravsahane) said :
#1

apt-get download python3-minimal
sudo dpkg -i *python3*.deb
sudo apt install -f
ran these comands and it solve dthe problem but created a new problem that i cannot install any app

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

If you provide more details about the new problem (preferably in a new question document), then we may be able to help.