apt upgrade issues

Recently, I've started getting errors when trying to run updates:

Fetched 85.7 MB in 36s (2,384 kB/s) E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/b/base-files/motd-news-config_12ubuntu4.7_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/b/base-files/base-files_12ubuntu4.7_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/a/apt/libapt-pkg6.0_2.4.13_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/a/apt/apt_2.4.13_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/a/apt/apt-utils_2.4.13_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/e/e2fsprogs/logsave_1.46.5-2ubuntu1.2_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/e/e2fsprogs/libext2fs2_1.46.5-2ubuntu1.2_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/e/e2fsprogs/e2fsprogs_1.46.5-2ubuntu1.2_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/p/python3-defaults/libpython3-dev_3.10.6-1%7e22.04.1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/p/python3-defaults/python3-dev_3.10.6-1%7e22.04.1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/p/python3-defaults/python3-minimal_3.10.6-1%7e22.04.1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/p/python3-defaults/python3_3.10.6-1%7e22.04.1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/p/python3-defaults/libpython3-stdlib_3.10.6-1%7e22.04.1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/o/openldap/libldap-2.5-0_2.5.18%2bdfsg-0ubuntu0.22.04.2_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/t/tzdata/tzdata_2024a-0ubuntu0.22.04.1_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/e/e2fsprogs/libcom-err2_1.46.5-2ubuntu1.2_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/e/e2fsprogs/libss2_1.46.5-2ubuntu1.2_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/d/distro-info-data/distro-info-data_0.52ubuntu0.8_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/p/python-apt/python-apt-common_2.4.0ubuntu4_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/p/python-apt/python3-apt_2.4.0ubuntu4_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/ubuntu-advantage-tools/ubuntu-advantage-tools_34%7e22.04_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/ubuntu-advantage-tools/ubuntu-pro-client_34%7e22.04_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/ubuntu-meta/ubuntu-minimal_1.481.4_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/ubuntu-advantage-tools/ubuntu-pro-client-l10n_34%7e22.04_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/ubuntu-release-upgrader/ubuntu-release-upgrader-core_22.04.20_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/ubuntu-release-upgrader/python3-distupgrade_22.04.20_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/update-manager/python3-update-manager_22.04.21_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/update-manager/update-manager-core_22.04.21_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/ubuntu-meta/ubuntu-standard_1.481.4_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/universe/l/lua5.4/liblua5.4-0_5.4.4-1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/a/apport/python3-problem-report_2.20.11-0ubuntu82.6_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/a/apport/python3-apport_2.20.11-0ubuntu82.6_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/a/apport/apport_2.20.11-0ubuntu82.6_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/universe/a/apt/apt-transport-https_2.4.13_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/l/landscape-client/landscape-common_23.02-0ubuntu1%7e22.04.3_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/o/openldap/libldap-common_2.5.18%2bdfsg-0ubuntu0.22.04.2_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/m/modemmanager/libmm-glib0_1.20.0-1%7eubuntu22.04.4_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/m/modemmanager/modemmanager_1.20.0-1%7eubuntu22.04.4_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/p/python-packaging/python3-packaging_21.3-1_all.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/s/snapd/snapd_2.65.3%2b22.04_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/s/sosreport/sosreport_4.7.2-0ubuntu1%7e22.04.1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/u/ubuntu-meta/ubuntu-server_1.481.4_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Failed to fetch https://mirrors.linode.com/ubuntu/pool/main/v/vsftpd/vsftpd_3.0.5-0ubuntu1.1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2.20.71.75 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

(I ran apt update before, FYI)

Has something changed? It used to work fine? This is on Ubuntu 22.04

Cheers

Andy

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct