N: See apt-secure(8) manpage for repository creation and user configuration details

Oh, OK. Now I understand the //.

Well, my suggestion is to eliminate the line in your sources.list file (or it might be a file under /etc/apt/sources.list.d) for Ubuntu Precise. I'm guessing that line will look like: deb http://repo.mongodb.org/apt/ubuntu precise mongodb-org, or something similar.

That leaves you with the line for Debian Buster. Find that line and replace any instance of "i386" with "amd64". Save the sources.list file, then do another apt update.

Hopefully that'll get you somewhere.

You sound like you are a pro so I’m gonna use that :slight_smile: I’m just getting started and trying to install noetic and gazebo. At the beginning of the installation steps when I enter sudo apt update then I get the message. Do I have to do something before installation? I just installed Ubuntu and get stuck.

Hi, people...im trying to install PHP 8 on ubuntu 20.04 but now when i install ppa, its result on this Error. please help

Reading package lists... Done                                                  
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu focal 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://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52B709720F164EEB
E: The repository 'http://ppa.launchpad.net/numix/ppa/ubuntu focal 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://security.ubuntu.com/ubuntu focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu focal-security 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://us.archive.ubuntu.com/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal 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://us.archive.ubuntu.com/ubuntu focal-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-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.
W: GPG error: http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E58A9D36647CAE7F
E: The repository 'http://ppa.launchpad.net/papirus/papirus/ubuntu focal 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.
E: The repository 'http://ppa.launchpad.net/noobslab/icons2/ubuntu focal Release' does not have a Release file.
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://us.archive.ubuntu.com/ubuntu focal-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-backports 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://us.archive.ubuntu.com/ubuntu focal-proposed InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-proposed 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.
E: The repository 'http://ppa.launchpad.net/snwh/pulp/ubuntu focal Release' does not have a Release file.
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.
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release' does not have a Release file.
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.Preformatted text

Here is full log after running : sudo add-apt-repository ppa:ondrej/php

imsamaritan@imsamaritan-Lenovo-G40-30:/var/lib/apt$ sudo add-apt-repository ppa:ondrej/php
 Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

IMPORTANT: The <foo>-backports is now required on older Ubuntu releases.

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advised to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
 More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Get:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease [8,041 B]
Ign:2 http://ppa.launchpad.net/noobslab/icons2/ubuntu focal InRelease          
Err:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                 
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Hit:3 https://deb.nodesource.com/node_16.x focal InRelease                     
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]      
Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease              
Get:6 http://us.archive.ubuntu.com/ubuntu focal InRelease [265 kB]             
Err:4 http://security.ubuntu.com/ubuntu focal-security InRelease               
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Ign:7 http://ppa.launchpad.net/snwh/pulp/ubuntu focal InRelease
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]     
Err:6 http://us.archive.ubuntu.com/ubuntu focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Ign:9 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal InRelease
Get:10 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]  
Err:8 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Err:11 http://ppa.launchpad.net/noobslab/icons2/ubuntu focal Release
  404  Not Found [IP: 91.189.95.85 80]
Get:12 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB]
Err:10 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Get:13 http://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease [17.5 kB]
Err:12 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease   
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Get:14 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease [18.0 kB]
Err:13 http://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease               
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52B709720F164EEB
Err:15 http://ppa.launchpad.net/snwh/pulp/ubuntu focal Release                 
  404  Not Found [IP: 91.189.95.85 80]
Err:14 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease         
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E58A9D36647CAE7F
Err:16 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release           
  404  Not Found [IP: 91.189.95.85 80]
Reading package lists... Done                                                  
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu focal 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://security.ubuntu.com/ubuntu focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu focal-security 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://us.archive.ubuntu.com/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal 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://us.archive.ubuntu.com/ubuntu focal-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-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.
E: The repository 'http://ppa.launchpad.net/noobslab/icons2/ubuntu focal Release' does not have a Release file.
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://us.archive.ubuntu.com/ubuntu focal-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-backports 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://us.archive.ubuntu.com/ubuntu focal-proposed InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-proposed 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://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52B709720F164EEB
E: The repository 'http://ppa.launchpad.net/numix/ppa/ubuntu focal 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.
E: The repository 'http://ppa.launchpad.net/snwh/pulp/ubuntu focal Release' does not have a Release file.
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://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E58A9D36647CAE7F
E: The repository 'http://ppa.launchpad.net/papirus/papirus/ubuntu focal 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.
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release' does not have a Release file.
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.

Here is full log after running : sudo apt install
imsamaritan@imsamaritan-Lenovo-G40-30:/var/lib/apt$ sudo add-apt-repository ppa:ondrej/php
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

IMPORTANT: The <foo>-backports is now required on older Ubuntu releases.

BUGS&FEATURES: This PPA now has a issue tracker:
https://deb.sury.org/#bug-reporting

CAVEATS:
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman
2. If you are using apache2, you are advised to add ppa:ondrej/apache2
3. If you are using nginx, you are advised to add ppa:ondrej/nginx-mainline
   or ppa:ondrej/nginx

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/

WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:

# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
 More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Get:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease [8,041 B]
Ign:2 http://ppa.launchpad.net/noobslab/icons2/ubuntu focal InRelease          
Err:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                 
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Hit:3 https://deb.nodesource.com/node_16.x focal InRelease                     
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]      
Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease              
Get:6 http://us.archive.ubuntu.com/ubuntu focal InRelease [265 kB]             
Err:4 http://security.ubuntu.com/ubuntu focal-security InRelease               
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Ign:7 http://ppa.launchpad.net/snwh/pulp/ubuntu focal InRelease
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]     
Err:6 http://us.archive.ubuntu.com/ubuntu focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Ign:9 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal InRelease
Get:10 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]  
Err:8 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Err:11 http://ppa.launchpad.net/noobslab/icons2/ubuntu focal Release
  404  Not Found [IP: 91.189.95.85 80]
Get:12 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB]
Err:10 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Get:13 http://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease [17.5 kB]
Err:12 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease   
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
Get:14 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease [18.0 kB]
Err:13 http://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease               
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52B709720F164EEB
Err:15 http://ppa.launchpad.net/snwh/pulp/ubuntu focal Release                 
  404  Not Found [IP: 91.189.95.85 80]
Err:14 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease         
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E58A9D36647CAE7F
Err:16 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release           
  404  Not Found [IP: 91.189.95.85 80]
Reading package lists... Done                                                  
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu focal 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://security.ubuntu.com/ubuntu focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu focal-security 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://us.archive.ubuntu.com/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal 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://us.archive.ubuntu.com/ubuntu focal-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-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.
E: The repository 'http://ppa.launchpad.net/noobslab/icons2/ubuntu focal Release' does not have a Release file.
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://us.archive.ubuntu.com/ubuntu focal-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-backports 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://us.archive.ubuntu.com/ubuntu focal-proposed InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
E: The repository 'http://us.archive.ubuntu.com/ubuntu focal-proposed 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://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 52B709720F164EEB
E: The repository 'http://ppa.launchpad.net/numix/ppa/ubuntu focal 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.
E: The repository 'http://ppa.launchpad.net/snwh/pulp/ubuntu focal Release' does not have a Release file.
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://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E58A9D36647CAE7F
E: The repository 'http://ppa.launchpad.net/papirus/papirus/ubuntu focal 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.
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release' does not have a Release file.
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.

anyone still having that said error.

simply right-click desktop open as root. then open file system, /etc/apt/sources.list
then delete the file sources.list.
sudo apt-get full-update or sudo upgrade then u are good to go

Thank you!! Very much appreciated getting rid of that annoying error

1 Like

Welcome @Matthew_Sanders to our community!

1 Like

thank u!!!! that worked

1 Like

Welcome @Luna_Elijabet to the community!

Hi, I am having similar issues

1 Like

Here is the error
E: The repository 'OpenFOAM® Download bionic Release' does not have a Release file.
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.

Welcome @Petros to the community!

I tried your commands listed here and this is the error I get.... any thing else you think could help me with this???

sudo apt update
Get:1 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease [6,259 B]
Ign:2 https://dl.winehq.org/wine-builds/ubuntu Ubuntu InRelease                
Get:3 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease [3,956 B]
Get:4 https://dl.winehq.org/wine-builds/ubuntu focal InRelease [8,041 B]       
Ign:5 https://dl.winehq.org/wine-builds/ubuntu wayland InRelease               
Err:1 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease                
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Ign:6 https://dl.winehq.org/wine-builds/ubuntu Wayland InRelease               
Get:7 http://us.archive.ubuntu.com/ubuntu noble InRelease [256 kB]             
Err:8 https://dl.winehq.org/wine-builds/ubuntu Ubuntu Release                  
  404  Not Found [IP: 2a04:4e42:10::729 443]
Err:9 https://dl.winehq.org/wine-builds/ubuntu wayland Release                 
  404  Not Found [IP: 2a04:4e42:10::729 443]
Get:10 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid/main i386 Packages [418 B]
Get:11 https://ngrok-agent.s3.amazonaws.com buster InRelease [20.3 kB]         
Err:12 https://dl.winehq.org/wine-builds/ubuntu Wayland Release                
  404  Not Found [IP: 2a04:4e42:10::729 443]
Err:4 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                 
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Get:13 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid/main amd64 Packages [418 B]
Get:14 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]     
Get:15 https://ngrok-agent.s3.amazonaws.com buster/main i386 Packages [5,218 B]
Get:16 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]    
Get:17 https://ngrok-agent.s3.amazonaws.com buster/main amd64 Packages [5,634 B]
Get:18 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]  
Get:19 http://us.archive.ubuntu.com/ubuntu noble/main i386 Packages [1,041 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages [1,401 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]  
Get:22 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [325 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Components [464 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu noble/main Icons (48x48) [106 kB]   
Get:25 http://us.archive.ubuntu.com/ubuntu noble/main Icons (64x64) [156 kB]   
Get:26 http://us.archive.ubuntu.com/ubuntu noble/main Icons (64x64@2) [21.8 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu noble/main amd64 c-n-f Metadata [30.5 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [93.9 kB]
Get:29 http://us.archive.ubuntu.com/ubuntu noble/restricted i386 Packages [14.7 kB]
Get:30 http://us.archive.ubuntu.com/ubuntu noble/restricted Translation-en [18.7 kB]
Get:31 http://us.archive.ubuntu.com/ubuntu noble/restricted amd64 c-n-f Metadata [416 B]
Get:32 http://us.archive.ubuntu.com/ubuntu noble/universe i386 Packages [8,514 kB]
Get:33 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages [147 kB]
Get:34 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [73.7 kB]
Get:35 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [6,876 B]
Get:36 http://security.ubuntu.com/ubuntu noble-security/main Icons (48x48) [9,524 B]
Get:37 http://security.ubuntu.com/ubuntu noble-security/main Icons (64x64) [11.2 kB]
Get:38 http://security.ubuntu.com/ubuntu noble-security/main Icons (64x64@2) [29 B]
Get:39 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [4,332 B]
Get:40 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [281 kB]
Get:41 http://security.ubuntu.com/ubuntu noble-security/restricted i386 Packages [13.7 kB]
Get:42 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [54.8 kB]
Get:43 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:44 http://security.ubuntu.com/ubuntu noble-security/restricted Icons (48x48) [29 B]
Get:45 http://security.ubuntu.com/ubuntu noble-security/restricted Icons (64x64) [29 B]
Get:46 http://security.ubuntu.com/ubuntu noble-security/restricted Icons (64x64@2) [29 B]
Get:47 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [428 B]
Get:48 http://security.ubuntu.com/ubuntu noble-security/universe i386 Packages [101 kB]
Get:49 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [265 kB]
Get:50 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.0 MB]
Get:51 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [111 kB]
Get:52 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [8,632 B]
Get:53 http://security.ubuntu.com/ubuntu noble-security/universe Icons (48x48) [3,763 B]
Get:54 http://security.ubuntu.com/ubuntu noble-security/universe Icons (64x64) [4,851 B]
Get:55 http://security.ubuntu.com/ubuntu noble-security/universe Icons (64x64@2) [29 B]
Get:56 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [9,936 B]
Get:57 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [10.9 kB]
Get:58 http://security.ubuntu.com/ubuntu noble-security/multiverse i386 Packages [2,392 B]
Get:59 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [2,808 B]
Get:60 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [208 B]
Get:61 http://security.ubuntu.com/ubuntu noble-security/multiverse Icons (48x48) [29 B]
Get:62 http://security.ubuntu.com/ubuntu noble-security/multiverse Icons (64x64) [29 B]
Get:63 http://security.ubuntu.com/ubuntu noble-security/multiverse Icons (64x64@2) [29 B]
Get:64 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [344 B]
Get:65 http://us.archive.ubuntu.com/ubuntu noble/universe Translation-en [5,982 kB]
Get:66 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Components [3,871 kB]
Get:67 http://us.archive.ubuntu.com/ubuntu noble/universe Icons (48x48) [3,717 kB]
Get:68 http://us.archive.ubuntu.com/ubuntu noble/universe Icons (64x64) [7,747 kB]
Get:69 http://us.archive.ubuntu.com/ubuntu noble/universe Icons (64x64@2) [75.0 kB]
Get:70 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 c-n-f Metadata [301 kB]
Get:71 http://us.archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB]
Get:72 http://us.archive.ubuntu.com/ubuntu noble/multiverse i386 Packages [126 kB]
Get:73 http://us.archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]
Get:74 http://us.archive.ubuntu.com/ubuntu noble/multiverse amd64 Components [35.0 kB]
Get:75 http://us.archive.ubuntu.com/ubuntu noble/multiverse Icons (48x48) [56.1 kB]
Get:76 http://us.archive.ubuntu.com/ubuntu noble/multiverse Icons (64x64) [186 kB]
Get:77 http://us.archive.ubuntu.com/ubuntu noble/multiverse Icons (64x64@2) [904 B]
Get:78 http://us.archive.ubuntu.com/ubuntu noble/multiverse amd64 c-n-f Metadata [8,328 B]
Get:79 http://us.archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [262 kB]
Get:80 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [471 kB]
Get:81 http://us.archive.ubuntu.com/ubuntu noble-updates/main Translation-en [118 kB]
Get:82 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [8,564 B]
Get:83 http://us.archive.ubuntu.com/ubuntu noble-updates/main Icons (48x48) [12.6 kB]
Get:84 http://us.archive.ubuntu.com/ubuntu noble-updates/main Icons (64x64) [15.1 kB]
Get:85 http://us.archive.ubuntu.com/ubuntu noble-updates/main Icons (64x64@2) [29 B]
Get:86 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [7,860 B]
Get:87 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted i386 Packages [13.7 kB]
Get:88 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [281 kB]
Get:89 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [54.8 kB]
Get:90 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:91 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted Icons (48x48) [29 B]
Get:92 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted Icons (64x64) [29 B]
Get:93 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted Icons (64x64@2) [29 B]
Get:94 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 c-n-f Metadata [424 B]
Get:95 http://us.archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [154 kB]
Get:96 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [348 kB]
Get:97 http://us.archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [143 kB]
Get:98 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [45.0 kB]
Get:99 http://us.archive.ubuntu.com/ubuntu noble-updates/universe Icons (48x48) [15.6 kB]
Get:100 http://us.archive.ubuntu.com/ubuntu noble-updates/universe Icons (64x64) [21.5 kB]
Get:101 http://us.archive.ubuntu.com/ubuntu noble-updates/universe Icons (64x64@2) [29 B]
Get:102 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [13.8 kB]
Get:103 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse i386 Packages [2,392 B]
Get:104 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [14.4 kB]
Get:105 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [3,608 B]
Get:106 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [212 B]
Get:107 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse Icons (48x48) [29 B]
Get:108 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse Icons (64x64) [29 B]
Get:109 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse Icons (64x64@2) [29 B]
Get:110 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [532 B]
Get:111 http://us.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [208 B]
Get:112 http://us.archive.ubuntu.com/ubuntu noble-backports/main Icons (48x48) [29 B]
Get:113 http://us.archive.ubuntu.com/ubuntu noble-backports/main Icons (64x64) [29 B]
Get:114 http://us.archive.ubuntu.com/ubuntu noble-backports/main Icons (64x64@2) [29 B]
Get:115 http://us.archive.ubuntu.com/ubuntu noble-backports/main amd64 c-n-f Metadata [112 B]
Get:116 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:117 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted Icons (48x48) [29 B]
Get:118 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted Icons (64x64) [29 B]
Get:119 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted Icons (64x64@2) [29 B]
Get:120 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 c-n-f Metadata [116 B]
Get:121 http://us.archive.ubuntu.com/ubuntu noble-backports/universe i386 Packages [5,296 B]
Get:122 http://us.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [10.3 kB]
Get:123 http://us.archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [10.5 kB]
Get:124 http://us.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [17.6 kB]
Get:125 http://us.archive.ubuntu.com/ubuntu noble-backports/universe Icons (48x48) [29 B]
Get:126 http://us.archive.ubuntu.com/ubuntu noble-backports/universe Icons (64x64) [2,900 B]
Get:127 http://us.archive.ubuntu.com/ubuntu noble-backports/universe Icons (64x64@2) [29 B]
Get:128 http://us.archive.ubuntu.com/ubuntu noble-backports/universe amd64 c-n-f Metadata [1,012 B]
Get:129 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Get:130 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse Icons (48x48) [29 B]
Get:131 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse Icons (64x64) [29 B]
Get:132 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse Icons (64x64@2) [29 B]
Get:133 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 c-n-f Metadata [116 B]
Reading package lists... Done                                                  
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu groovy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu groovy 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.
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu Ubuntu Release' does not have a Release file.
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.
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu wayland Release' does not have a Release file.
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.
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu Wayland Release' does not have a Release file.
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://dl.winehq.org/wine-builds/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu focal 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.
1 Like

Welcome, @OnlyDimes to the community!

All your 'wine' windows emulators are out of date.
Remove them from your repository settings:
open control center -> software & updates and delete or untick the lines containing the word 'wine-builds'

Instead of using the above method you can do it from the commadline like this:

sudo find /etc/apt -type f -exec sed -i '/wine-builds/d' {} \;

After you completed this task by using one of the methods above you can run:

sudo apt-get update && sudo apt-get upgrade

and all should be well.

2 Likes