Sudo apt update error(s) after installing nvidia drivers

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
dj1ch0712
Level 1
Level 1
Posts: 8
Joined: Wed Oct 05, 2022 1:43 pm

Sudo apt update error(s) after installing nvidia drivers

Post by dj1ch0712 »

Total linux noob here, but when i was running an update after installing some nvidia drivers, the output was weird. There were multiple issues, like ppa keys, and other stuff. I used online solutions, but was met with the same error. Please help. Not sure if this is needed, but I am on linux mint 21. Yes, I have tried to add keys, and yes, I have tried to purge the nvidia drivers. I asked this question on askubuntu, and was told to go here.

Here is the output after "sudo apt update"

Code: Select all

Ign:1 http://packages.linuxmint.com vanessa InRelease                       
    Get:2 http://packages.linuxmint.com vanessa Release [24.1 kB]                  
    Get:3 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]                
    Get:4 http://packages.linuxmint.com vanessa Release.gpg [833 B]                
    Hit:5 https://linux-clients.seafile.com/seafile-deb/focal stable InRelease     
    Ign:4 http://packages.linuxmint.com vanessa Release.gpg                        
    Hit:6 http://dl.winehq.org/wine-builds/ubuntu jammy InRelease                  
    Hit:7 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease
    Get:8 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]      
    Get:9 https://dl.cloudsmith.io/public/balena/etcher/deb/linuxmint vanessa InRelease [5,065 B]
    Hit:10 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu jammy InRelease    
    Hit:11 https://download.sublimetext.com apt/stable/ InRelease                  
    Get:12 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease [24.3 kB]
    Get:13 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
    Err:8 http://security.ubuntu.com/ubuntu jammy-security InRelease 
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    Get:14 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
    Err:3 http://archive.ubuntu.com/ubuntu jammy InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    Err:12 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE110B1118213C
    Err:13 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    Err:14 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    Reading package lists... Done
    W: GPG error: http://packages.linuxmint.com vanessa Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A6616109451BBBF2
    E: The repository 'http://packages.linuxmint.com vanessa 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.
    W: http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
    W: https://download.sublimetext.com/apt/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
    W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    E: The repository 'http://security.ubuntu.com/ubuntu jammy-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://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    E: The repository 'http://archive.ubuntu.com/ubuntu jammy 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://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE110B1118213C
    E: The repository 'https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy 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://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    E: The repository 'http://archive.ubuntu.com/ubuntu jammy-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://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    E: The repository 'http://archive.ubuntu.com/ubuntu jammy-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 
Ign:1 http://packages.linuxmint.com vanessa InRelease                       
    Get:2 http://packages.linuxmint.com vanessa Release [24.1 kB]                  
    Get:3 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]                
    Get:4 http://packages.linuxmint.com vanessa Release.gpg [833 B]                
    Hit:5 https://linux-clients.seafile.com/seafile-deb/focal stable InRelease     
    Ign:4 http://packages.linuxmint.com vanessa Release.gpg                        
    Hit:6 http://dl.winehq.org/wine-builds/ubuntu jammy InRelease                  
    Hit:7 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease
    Get:8 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]      
    Get:9 https://dl.cloudsmith.io/public/balena/etcher/deb/linuxmint vanessa InRelease [5,065 B]
    Hit:10 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu jammy InRelease    
    Hit:11 https://download.sublimetext.com apt/stable/ InRelease                  
    Get:12 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease [24.3 kB]
    Get:13 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
    Err:8 http://security.ubuntu.com/ubuntu jammy-security InRelease 
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    Get:14 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
    Err:3 http://archive.ubuntu.com/ubuntu jammy InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    Err:12 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE110B1118213C
    Err:13 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    Err:14 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    Reading package lists... Done
    W: GPG error: http://packages.linuxmint.com vanessa Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A6616109451BBBF2
    E: The repository 'http://packages.linuxmint.com vanessa 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.
    W: http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
    W: https://download.sublimetext.com/apt/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
    W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    E: The repository 'http://security.ubuntu.com/ubuntu jammy-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://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    E: The repository 'http://archive.ubuntu.com/ubuntu jammy 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://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE110B1118213C
    E: The repository 'https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy 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://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    E: The repository 'http://archive.ubuntu.com/ubuntu jammy-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://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
    E: The repository 'http://archive.ubuntu.com/ubuntu jammy-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
Last edited by SMG on Wed Oct 05, 2022 2:34 pm, edited 1 time in total.
Reason: Moved close tag to end of code so all the code was between the two tags.
User avatar
MiZoG
Level 5
Level 5
Posts: 570
Joined: Fri Jan 26, 2018 8:30 pm

Re: Sudo apt update error(s) after installing nvidia drivers

Post by MiZoG »

Somehow apt cannot find the base GPG keys in your system.

It was easy until recently to restore your default keyring but with the deprecation of apt-key I'm not quite sure how you can solve this problem on Jammy/Vanessa.

This how-to looks up-to-date Disclaimer: haven't tried it myself. Looks OK.

P.S.: Is it mandatory to have the latest cuda build in your system? If not, please get rid of both nvidia-related ppas, in fact purge nvidia drivers and install only your distro package. You added the wrong repo for seafile (focal). You need the one for "Jammy".

How to get help
dj1ch0712
Level 1
Level 1
Posts: 8
Joined: Wed Oct 05, 2022 1:43 pm

Re: Sudo apt update error(s) after installing nvidia drivers

Post by dj1ch0712 »

Would it be a good idea to backup my data, delete linux mint, then reinstall it? I tried out the guide you sent me but it didn't work. It just gave me more errors

here is the new-ish output

Code: Select all

dj1ch0712@Chultrabook:~$ sudo apt update
Ign:1 http://packages.linuxmint.com vanessa InRelease                          
Get:2 http://packages.linuxmint.com vanessa Release [24.1 kB]                  
Hit:3 https://linux-clients.seafile.com/seafile-deb/focal stable InRelease     
Hit:4 http://dl.winehq.org/wine-builds/ubuntu jammy InRelease                  
Get:5 https://artifacts.elastic.co/packages/7.x/apt stable InRelease [13.7 kB] 
Get:6 http://packages.linuxmint.com vanessa Release.gpg [833 B]                
Hit:7 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease
Get:8 http://mirror.math.ucdavis.edu/ubuntu jammy InRelease [270 kB]           
Hit:9 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu jammy InRelease     
Get:10 https://dl.cloudsmith.io/public/balena/etcher/deb/linuxmint vanessa InRelease [5,065 B]
Err:5 https://artifacts.elastic.co/packages/7.x/apt stable InRelease           
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D27D666CD88E42B4
Get:11 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]     
Get:12 http://mirror.math.ucdavis.edu/ubuntu jammy-updates InRelease [114 kB]  
Get:13 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease [3,626 B]
Hit:14 https://download.sublimetext.com apt/stable/ InRelease                  
Get:15 http://mirror.math.ucdavis.edu/ubuntu jammy-backports InRelease [99.8 kB]
Ign:6 http://packages.linuxmint.com vanessa Release.gpg                        
Hit:16 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu jammy InRelease           
Err:8 http://mirror.math.ucdavis.edu/ubuntu jammy InRelease                    
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:12 http://mirror.math.ucdavis.edu/ubuntu jammy-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:13 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
Get:17 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease [24.3 kB]
Err:15 http://mirror.math.ucdavis.edu/ubuntu jammy-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:11 http://security.ubuntu.com/ubuntu jammy-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:17 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE110B1118213C
Reading package lists... Done
W: GPG error: https://artifacts.elastic.co/packages/7.x/apt stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D27D666CD88E42B4
E: The repository 'https://artifacts.elastic.co/packages/7.x/apt 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: http://packages.linuxmint.com vanessa Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A6616109451BBBF2
E: The repository 'http://packages.linuxmint.com vanessa 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.
W: http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG error: http://mirror.math.ucdavis.edu/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://mirror.math.ucdavis.edu/ubuntu jammy 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://mirror.math.ucdavis.edu/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://mirror.math.ucdavis.edu/ubuntu jammy-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: https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ 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: https://download.sublimetext.com/apt/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG error: http://mirror.math.ucdavis.edu/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://mirror.math.ucdavis.edu/ubuntu jammy-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: http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu jammy-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: https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE110B1118213C
E: The repository 'https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy 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: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Targdj1ch0712@Chultrabook:~$ sudo apt update
Ign:1 http://packages.linuxmint.com vanessa InRelease                          
Get:2 http://packages.linuxmint.com vanessa Release [24.1 kB]                  
Hit:3 https://linux-clients.seafile.com/seafile-deb/focal stable InRelease     
Hit:4 http://dl.winehq.org/wine-builds/ubuntu jammy InRelease                  
Get:5 https://artifacts.elastic.co/packages/7.x/apt stable InRelease [13.7 kB] 
Get:6 http://packages.linuxmint.com vanessa Release.gpg [833 B]                
Hit:7 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease
Get:8 http://mirror.math.ucdavis.edu/ubuntu jammy InRelease [270 kB]           
Hit:9 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu jammy InRelease     
Get:10 https://dl.cloudsmith.io/public/balena/etcher/deb/linuxmint vanessa InRelease [5,065 B]
Err:5 https://artifacts.elastic.co/packages/7.x/apt stable InRelease           
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D27D666CD88E42B4
Get:11 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]     
Get:12 http://mirror.math.ucdavis.edu/ubuntu jammy-updates InRelease [114 kB]  
Get:13 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease [3,626 B]
Hit:14 https://download.sublimetext.com apt/stable/ InRelease                  
Get:15 http://mirror.math.ucdavis.edu/ubuntu jammy-backports InRelease [99.8 kB]
Ign:6 http://packages.linuxmint.com vanessa Release.gpg                        
Hit:16 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu jammy InRelease           
Err:8 http://mirror.math.ucdavis.edu/ubuntu jammy InRelease                    
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:12 http://mirror.math.ucdavis.edu/ubuntu jammy-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:13 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
Get:17 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease [24.3 kB]
Err:15 http://mirror.math.ucdavis.edu/ubuntu jammy-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:11 http://security.ubuntu.com/ubuntu jammy-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:17 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE110B1118213C
Reading package lists... Done
W: GPG error: https://artifacts.elastic.co/packages/7.x/apt stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D27D666CD88E42B4
E: The repository 'https://artifacts.elastic.co/packages/7.x/apt 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: http://packages.linuxmint.com vanessa Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A6616109451BBBF2
E: The repository 'http://packages.linuxmint.com vanessa 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.
W: http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG error: http://mirror.math.ucdavis.edu/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://mirror.math.ucdavis.edu/ubuntu jammy 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://mirror.math.ucdavis.edu/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://mirror.math.ucdavis.edu/ubuntu jammy-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: https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ 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: https://download.sublimetext.com/apt/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG error: http://mirror.math.ucdavis.edu/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://mirror.math.ucdavis.edu/ubuntu jammy-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: http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu jammy-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: https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCAE110B1118213C
E: The repository 'https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy 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: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
et CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/elastic-7.x.list:1 and /etc/apt/sources.list.d/elastic-7.x.sources:1
motoryzen
Level 7
Level 7
Posts: 1897
Joined: Sun Dec 08, 2019 12:25 am

Re: Sudo apt update error(s) after installing nvidia drivers

Post by motoryzen »

I don't see why not considering you've tried those steps already.

If you end up reinstalling LM from scratch starting over + are installing many programs that can be installed via terminal and wish to save some time overall, Ezeelinux.com ( Joe Collins) has a bash installation script that contains many useful things.

You can view the script via opening with your text editor of choice and seeing what you want to delete from it as well as possibly add

* I always remove celluloid, xed, blueberry, bluez and a few other things and install gedit, vlc, git, and many more

Here's an example of a single command within my edit of his installation bashscript

sudo apt remove celluloid -yy xed blueberry bluez && sudo apt install vlc -yy git imwheel libvulkan1 libvulkan-dev vulkan-utils hardinfo gimp gparted ffmpeg gedit dconf-editor

**note there is a single space between each application that is being removed or installed**

== So once you've done your fresh install of all your other stuff, BEFORE..doing ANYTHING with nvidia drivers, anything involving nvidia. I recommend you do the following:

1. Do a Timeshift snapshot backup and target a separate physical drive
2. Grab a thumb drive, visit foxclone.org and download either of the very top two options and follow the instructions for putting foxclone iso into that thumb drive to make it bootable ( AndyMH - the dev - is a active forum member here and very helpful if you have any questions_) and use it to make a system image backup of your Linux Mint installed drive.

This way..you can experiment to your heart's content and if something goes south...you can return to a fresh clean start KNOWING any and all nvidia drivers ( as far as anything more official than versus nouveau. Those I think are auto loaded by default OOTB when installing Linux Mint on nvidia gpu hardware.) won't yet be there and you know where to start from if one setup/installation path of the nvidia drivers isn't the right one.

... cheers. :D
Primary rig:
asrock x570 taichi
ryzen 5900x
128GB of kingston fury at 3600mhz 1.44 volts 20-20-20 ( I forgot the rest) 1T timings
corsair mp600 pro xt NVME ssd 4TB
8GB rx580 sapphire nitro+ video card
Viewsonic Elite UHD 32" 144hz monitor
dj1ch0712
Level 1
Level 1
Posts: 8
Joined: Wed Oct 05, 2022 1:43 pm

Re: Sudo apt update error(s) after installing nvidia drivers

Post by dj1ch0712 »

Cheers. :D Thanks for the help!!
Post Reply

Return to “Beginner Questions”