Can't install gedit due Certificate verification failed

Dear Team
I can’t install gedit , as per below result:

┌─[PerRoQuEt@pErR0QuEt]─[~]
└──╼ $sudo apt-get install gedit
sudo: unable to resolve host pErR0QuEt: Name or service not known
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following packages were automatically installed and are no longer required:
librhino-java libtagsoup-java
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
gedit-common gir1.2-gtksource-4 libamtk-5-0 libamtk-5-common libgspell-1-2 libgspell-1-common libgtksourceview-4-0 libgtksourceview-4-common
libtepl-5-0
Suggested packages:
gedit-plugins
The following NEW packages will be installed:
gedit gedit-common gir1.2-gtksource-4 libamtk-5-0 libamtk-5-common libgspell-1-2 libgspell-1-common libgtksourceview-4-0 libgtksourceview-4-common
libtepl-5-0
0 upgraded, 10 newly installed, 0 to remove and 172 not upgraded.
Need to get 3,009 kB of archives.
After this operation, 21.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 Index of /parrot/ lts/main amd64 gedit-common all 3.38.1-1
Ign:2 Index of /parrot/ lts/main amd64 libgtksourceview-4-common all 4.8.0-1
Ign:3 Index of /parrot/ lts/main amd64 libgtksourceview-4-0 amd64 4.8.0-1
Ign:4 Index of /parrot/ lts/main amd64 gir1.2-gtksource-4 amd64 4.8.0-1
Ign:5 Index of /parrot/ lts/main amd64 libamtk-5-common all 5.2.0-1
Ign:6 Index of /parrot/ lts/main amd64 libamtk-5-0 amd64 5.2.0-1
Ign:7 Index of /parrot/ lts/main amd64 libgspell-1-common all 1.8.4-1
Ign:8 Index of /parrot/ lts/main amd64 libgspell-1-2 amd64 1.8.4-1
Ign:9 Index of /parrot/ lts/main amd64 libtepl-5-0 amd64 5.0.1-2
Ign:10 Index of /parrot/ lts/main amd64 gedit amd64 3.38.1-1
Ign:1 Index of /parrot/ lts/main amd64 gedit-common all 3.38.1-1
Ign:2 Index of /parrot/ lts/main amd64 libgtksourceview-4-common all 4.8.0-1
Ign:3 Index of /parrot/ lts/main amd64 libgtksourceview-4-0 amd64 4.8.0-1
Ign:4 Index of /parrot/ lts/main amd64 gir1.2-gtksource-4 amd64 4.8.0-1
Ign:5 Index of /parrot/ lts/main amd64 libamtk-5-common all 5.2.0-1
Ign:6 Index of /parrot/ lts/main amd64 libamtk-5-0 amd64 5.2.0-1
Ign:7 Index of /parrot/ lts/main amd64 libgspell-1-common all 1.8.4-1
Ign:8 Index of /parrot/ lts/main amd64 libgspell-1-2 amd64 1.8.4-1
Ign:9 Index of /parrot/ lts/main amd64 libtepl-5-0 amd64 5.0.1-2
Ign:10 Index of /parrot/ lts/main amd64 gedit amd64 3.38.1-1
Ign:1 Index of /parrot/ lts/main amd64 gedit-common all 3.38.1-1
Ign:2 Index of /parrot/ lts/main amd64 libgtksourceview-4-common all 4.8.0-1
Ign:3 Index of /parrot/ lts/main amd64 libgtksourceview-4-0 amd64 4.8.0-1
Ign:4 Index of /parrot/ lts/main amd64 gir1.2-gtksource-4 amd64 4.8.0-1
Ign:5 Index of /parrot/ lts/main amd64 libamtk-5-common all 5.2.0-1
Ign:6 Index of /parrot/ lts/main amd64 libamtk-5-0 amd64 5.2.0-1
Ign:7 Index of /parrot/ lts/main amd64 libgspell-1-common all 1.8.4-1
Ign:8 Index of /parrot/ lts/main amd64 libgspell-1-2 amd64 1.8.4-1
Ign:9 Index of /parrot/ lts/main amd64 libtepl-5-0 amd64 5.0.1-2
Ign:10 Index of /parrot/ lts/main amd64 gedit amd64 3.38.1-1
Ign:1 Index of /parrot/ lts/main amd64 gedit-common all 3.38.1-1
Ign:2 Index of /parrot/ lts/main amd64 libgtksourceview-4-common all 4.8.0-1
Ign:3 Index of /parrot/ lts/main amd64 libgtksourceview-4-0 amd64 4.8.0-1
Ign:4 Index of /parrot/ lts/main amd64 gir1.2-gtksource-4 amd64 4.8.0-1
Ign:5 Index of /parrot/ lts/main amd64 libamtk-5-common all 5.2.0-1
Ign:6 Index of /parrot/ lts/main amd64 libamtk-5-0 amd64 5.2.0-1
Ign:7 Index of /parrot/ lts/main amd64 libgspell-1-common all 1.8.4-1
Ign:8 Index of /parrot/ lts/main amd64 libgspell-1-2 amd64 1.8.4-1
Ign:9 Index of /parrot/ lts/main amd64 libtepl-5-0 amd64 5.0.1-2
Ign:10 Index of /parrot/ lts/main amd64 gedit amd64 3.38.1-1
Err:1 Index of /parrot/ lts/main amd64 gedit-common all 3.38.1-1
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
Err:2 Index of /parrot/ lts/main amd64 libgtksourceview-4-common all 4.8.0-1
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
Err:3 Index of /parrot/ lts/main amd64 libgtksourceview-4-0 amd64 4.8.0-1
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
Err:4 Index of /parrot/ lts/main amd64 gir1.2-gtksource-4 amd64 4.8.0-1
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
Err:5 Index of /parrot/ lts/main amd64 libamtk-5-common all 5.2.0-1
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
Err:6 Index of /parrot/ lts/main amd64 libamtk-5-0 amd64 5.2.0-1
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
Err:7 Index of /parrot/ lts/main amd64 libgspell-1-common all 1.8.4-1
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
Err:8 Index of /parrot/ lts/main amd64 libgspell-1-2 amd64 1.8.4-1
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
Err:9 Index of /parrot/ lts/main amd64 libtepl-5-0 amd64 5.0.1-2
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
Err:10 Index of /parrot/ lts/main amd64 gedit amd64 3.38.1-1
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/g/gedit/gedit-common_3.38.1-1_all.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/g/gtksourceview4/libgtksourceview-4-common_4.8.0-1_all.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/g/gtksourceview4/libgtksourceview-4-0_4.8.0-1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/g/gtksourceview4/gir1.2-gtksource-4_4.8.0-1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/a/amtk/libamtk-5-common_5.2.0-1_all.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/a/amtk/libamtk-5-0_5.2.0-1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/g/gspell/libgspell-1-common_1.8.4-1_all.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/g/gspell/libgspell-1-2_1.8.4-1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/t/tepl/libtepl-5-0_5.0.1-2_amd64.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Failed to fetch https://deb.parrot.sh/parrot/pool/main/g/gedit/gedit_3.38.1-1_amd64.deb Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 51.89.14.47 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
┌─[✗]─[PerRoQuEt@pErR0QuEt]─[~]
└──╼ $


  • ParrotOS iso in use:

  • Application used for flashing the iso:

  • Logs/Terminal output (use pastebin or similar services):

  • Screenshots:

Hi @Wael-Fakhri

It looks like the UK LTS repository mirror you are connecting to (51.89.14.47) has a self-signed certificate and fails authentication.

You may want to change your Parrot mirror by editing

sudo pulma /etc/apt/sources.list.d/parrot.list

And using one of these,not https://deb.parrot.sh/parrot:

Not sure about the LTS which was added in Parrot 5.0.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.