Ubuntu’da güncelleme yaparken hata "Certificate verification failed"

Linux tecrübem çok az ve uzun süredir kullanmıyorum. Windows ISO kurmak için WoeUSB indirmem gerekiyor ama sürekli hata veriyor. En basit komutları bile girdiğimde hata alıyorum.

selim@selim-System-Name:~$ sudo apt-get update
[sudo] password for selim: 
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease                         
Ign:3 https://ppa.launchpadcontent.net/nilarimogard/webupd8/ubuntu noble InRelease
Err:4 https://ppa.launchpadcontent.net/nilarimogard/webupd8/ubuntu noble Release
  404  Not Found [IP: 185.125.190.80 443]
Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease                 
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease            
Ign:7 https://apache.bintray.com/couchdb-deb bionic InRelease               
Ign:8 https://apache.bintray.com/couchdb-deb noble InRelease
Ign:7 https://apache.bintray.com/couchdb-deb bionic InRelease
Ign:8 https://apache.bintray.com/couchdb-deb noble InRelease
Ign:7 https://apache.bintray.com/couchdb-deb bionic InRelease
Ign:8 https://apache.bintray.com/couchdb-deb noble InRelease
Err:7 https://apache.bintray.com/couchdb-deb bionic InRelease
  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: 18.214.194.113 443]
Err:8 https://apache.bintray.com/couchdb-deb noble InRelease
  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: 18.214.194.113 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/nilarimogard/webupd8/ubuntu noble 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.

Son düzenleyen: @wise 2025-01-11T19:18:47Z

1 Like

Şimdi PPA ve depolar kullanılmadığı için kaldıralım ve sources.list dosyanızı düzeltelim. Şu an çalışmaz halde görünüyor. Aşağıdaki adımları uygulayarak yeniden oluşturalım:

mkdir ~/solution
cd ~/solution/

cat << EOF > ~/solution/sources.list
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner
EOF

sudo sed -i "s/focal/$(lsb_release -c -s)/" ~/solution/sources.list
sudo rm /etc/apt/sources.list
sudo cp ~/solution/sources.list /etc/apt/sources.list

Sisteminizdeki tüm PPA’ları kaldırın:
sudo mv /etc/apt/sources.list.d/* ~/solution

Sistemi yeniden güncelleyin:
sudo apt update && sudo apt upgrade -y

Bu işlemlerden sonra sorun çözülmüş olmalıdır.

CouchDB gerekliyse, onu da yapılandırmanız gerekecektir.

Kaynaklar:

2 Likes

Ventoy yazılımı ile deneyin. Dışarıdan yüklenebilir. Youtubeda ventoy videoları var.

3 Likes

Hocam attıklarınızı direkt kopyala yapıştır yaptım ama çalışmadı. Ne yapmam gerek tam anlamadım.

nasıl yani bir hata çıktısı mi verdi

1 Like
mkdir: cannot create directory ‘/home/selim/solution’: File exists

Böyle bir hata verdi.

sudo apt update && sudo apt upgrade -y

Bu kodu girince de böyle bir hata verdi.

E: The repository 'http://archive.canonical.com/ubuntu noble 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.

Dosya zaten mevcut diyor.

/home/selim/solution dizinine;
cd /home/selim/solution veya ls /home/selim/solution komutlarıyla bakınız. Ardından,
rm -rf /home/selim/solution
mkdir /home/selim/solution komutlarını çalıştırınız.

2 Likes

sudo nano /etc/apt/sources.list replace komutunu kullanarak “noble” yazan yerleri “focal” ile değiştiriyoruz. ibrahimsql yardımları sayesinde düzeldi. Teşekkür ederim

2 Likes