unable to install snapd in 2023 - repository no longet in use, PLEASE HELP

– Please Write here your help request –

Hello everyone, I am unable to install snapd on y system in 2023, April .
cat /etc/os-release
PRETTY_NAME=“Parrot OS 4.11”
NAME=“Parrot OS”
ID=parrot
ID_LIKE=debian
VERSION=“4.11”
VERSION_ID=“4.11”
HOME_URL=“https://www.parrotsec.org/
SUPPORT_URL=“https://community.parrotsec.org/
BUG_REPORT_URL=“https://community.parrotsec.org/
This is my version. when i type in:
apt update
output:
Ign:1 Index of /parrot/ rolling InRelease
Hit:2 Index of /opera-stable stable InRelease
Ign:3 Index of /parrot/ rolling-security InRelease
Err:4 Index of /parrot/ rolling Release
Could not handshake: Error in the pull function. [IP: 167.114.220.82 443]
Err:5 Index of /parrot/ rolling-security Release
Could not handshake: Error in the pull function. [IP: 167.114.220.82 443]
Reading package lists… Done
E: The repository ‘Index of /parrot/ rolling Release’ no longer has 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 ‘Index of /parrot/ rolling-security Release’ no longer has 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.

please help

  • Screenshots:

you need to run those as sudo anyway;

sudo apt update && sudo apt full-upgrade -y

BUT, I suspect it will still fail…

Parrot is a Rolling distro, that mens if you don’t update it fairly frequently, that there will be too big a jump between version numbers of a file, and that is why it fails.

Grab an up to date Parrot 5.2 ISO and reinstall!

Hello, Thank you for responding, but I did try in many ways. almost always, there is error:
W: Failed to fetch h ttps://de b.parr ot.sh/parrot/dists/lts/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.83 443]
W: Failed to fetch h ttps://d eb.par rot.sh/parrot/dists/parrot/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.83 443]
W: Failed to fetch http s://de b.parrot.sh/ direct/parrot/dists/parrot-security/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.83 443]
W: Failed to fetch htt ps://de b.parrot.sh/par rot/dists/parrot-backports/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.83 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.

i did try many commands in sudo mode. please help. I installled version 5.2 security edition, and feels like i am wasting my time cant install anything at all. please help.
I believe i should modify the parrotOS mirror servers or something, but I just dont understand. please help

Are yu connecting over WiFi?

That sort of issue can very often caused by WiFi issues, it doesn’t stay connected properly, drops packets and errors out like that. (This can happen on many Debian based distro’s not just Parrot)

The best fix for that of course is to try Ethernet if you can. Anyway…

try this first;
sudo apt install --fix-broken

and then one by one;
sudo apt update
sudo apt full-upgrade -y
OR
sudo apt dist-upgrade -y

Hello, thank you for the response, just so you know, I uninstalled ParrotOS and am using ubuntu instead, but i have parrotOS in another laptop in VirtualBox. and am trying the commands here, but the outputs and error messages are no different than the real one. I tried your commands, heres what i got
::

─[user@parrot]─[~]
└──╼ $sudo apt install --fix-broken
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
┌─[user@parrot]─[~]
└──╼ $sudo apt update
Ign:1 h ttps://deb.parrot.sh/parrot lts InRelease
Ign:2 ht tps://deb.parrot.sh/parrot parrot InRelease
Ign:3 htt ps://deb.parrot.sh/direct/parrot parrot-security InRelease
Ign:4 ht tps://deb.parrot.sh/parrot parrot-backports InRelease
Ign:1 ht tps://deb.parrot.sh/parrot lts InRelease
Ign:2 ht tps://deb.parrot.sh/parrot parrot InRelease
Ign:3 ht tps://deb.parrot.sh/direct/parrot parrot-security InRelease
Ign:4 ht tps://deb.parrot.sh/parrot parrot-backports InRelease
Ign:1 ht tps://deb.parrot.sh/parrot lts InRelease
Ign:2 ht tps://deb.parrot.sh/parrot parrot InRelease
Ign:3 ht tps://deb.parrot.sh/direct/parrot parrot-security InRelease
Ign:4 ht tps://deb.parrot.sh/parrot parrot-backports InRelease
Err:1 ht tps://deb.parrot.sh/parrot lts InRelease
Could not handshake: Error in the pull function. [IP: 167.114.220.83 443]
Err:2 h ttps://deb.parrot.sh/parrot parrot InRelease
Coul d not handshake: Error in the pull function. [IP: 167.114.220.83 443]
Err:3 Index of /direct/parrot/ parrot-security InRelease
Cou ld not handshake: Error in the pull function. [IP: 167.114.220.83 443]
Err:4 Index of /parrot/ parrot-backports InRelease
Co uld not handshake: Error in the pull function. [IP: 167.114.220.83 443]
Re ading package lists… Done
Building dependency tree… Done
Reading state information… Done
All packages are up to date.
W: Failed to fetch h ttps://deb.parrot.sh/parrot/dists/lts/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.83 443]
W: Failed to fetch h ttps://deb.parrot.sh/parrot/dists/parrot/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.83 443]
W: Failed to fetch ht tps://deb.parrot.sh/direct/parrot/dists/parrot-security/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.83 443]
W: Failed to fetch htt ps://deb.parrot.sh/parrot/dists/parrot-backports/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.83 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
┌─[user@parrot]─[~]
└──╼ $sudo apt full-upgrade -y
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
┌─[user@parrot]─[~]
└──╼ $sudo apt dist-upgrade -y
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
┌─[user@parrot]─[~]
└──╼ $

That IP is to a server in Canada that appears to have an expired certificate. Try using a different mirror in your /etc/apt/sources.list.d/parrot.list file.

hello there, thank you very much for responding, I have the Security edition, and I live in California, so I used the berkely mirror, and I still kept getting errors, it seems like this is solely server problem with the list file like you mentioned.

This is what I am getting right now,::::
sudo apt-get update
Get:1 h ttps://mirrors.ocf.berkeley.edu/parrot parrot InRelease [14.6 kB]
Ign:2 htt ps://deb.parrot.sh/parrot lts InRelease
Get:3 htt ps://mirrors.ocf.berkeley.edu/parrot parrot-security InRelease [14.4 kB]
Ign:2 htt ps://deb.parrot.sh/parrot lts InRelease
Get:4 ht tps://mirrors.ocf.berkeley.edu/parrot parrot/main amd64 Packages [17.7 MB]
Ign:2 htt ps://deb.parrot.sh/parrot lts InRelease
Err:2 htt ps://deb.parrot.sh/parrot lts InRelease
Could not handshake: Error in the pull function. [IP: 192.95.37.236 443]
Get:5 htt ps://mirrors.ocf.berkeley.edu/parrot parrot/contrib amd64 Packages [115 kB]
Get:6 htt ps://mirrors.ocf.berkeley.edu/parrot parrot/non-free amd64 Packages [215 kB]
Get:7 htt ps://mirrors.ocf.berkeley.edu/parrot parrot-security/main amd64 Packages [476 kB]
Get:8 htt ps://mirrors.ocf.berkeley.edu/parrot parrot-security/non-free amd64 Packages [621 B]
Fetched 18.6 MB in 6s (2,861 kB/s)
Reading package lists… Done
W: Failed to fetch h ttps://deb.parrot.sh/parrot/dists/lts/InRelease Could not handshake: Error in the pull function. [IP: 192.95.37.236 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.

And., this is currently my /etc/apt/sources.list.d/parrot.list::::::
I commented out the back-ports link because too many server errors, and Am i allowed to try different combinations of servers for different links>? can you please provide any good youtube video about it? I just keep getting errors even when i used the berkely server everywhere. So like do i just keep trying different servers that are even outside of United States?

This file provides the default APT repositories for Parrot Security

These repositories are used to fetch new software and system updates

###############################

Default Parrot Repository

###############################

The ‘parrot’ repository provides all the Parrot software considered

stable and tested.

the main suite provides the base system plus all the software released

under a free and open source license compatible with the Debian guidelines.

the contrib suite provides additional free software that depends on third

party software not provided by the main suite. it usually means that such

packages depend on non-free software.

the non-free suite provides additional packages that don’t comply with

the Debian Free Software Guidelines. They are mostly proprietary software.

deb htt ps://mirrors.ocf.berkeley.edu/parrot/ parrot main contrib non-free

######################

Security Updates

######################

The ‘parrot-security’ repository provides time sensitive security updates

that have to be delivered to end users as fast as possible

this repo should always be enabled in your system

we strongly recommend to NOT use mirrors for this repo, but only

access security updates from our official domains or CDNs.

a mirror server could take too much time to fetch an important update,

leaving you without security updates for a timespan outside of our control

deb htt ps://mirrors.ocf.berkeley.edu/parrot/ parrot-security main contrib non-free

###############

Backports

###############

The stable repository contains software that is considered stable the day of

the release. such packages receive only security and stability updates that

don’t introduce new features and don’t drop old ones.

the ‘backports’ repository provides feature updates to many packages, and

even external software that was originally excluded from the stable release.

disable it if you prefer stability and reliability over bleeding edge features

#deb htt ps://ftp.osuosl.org/pub/parrotos parrot-backports main contrib non-free

#######################

Updates / Testing

#######################

The ‘parrot-updates’ repository provides updates before they are made available

to ‘parrot’. this repo is mostly meant to be used by developers and beta testers

to extensively test updates before they are migrated to the main repository

we suggest not to enable it, as it may introduce untested bugs and make the

system unstable. updates are delivered as fast as possible (within a week)

so you are not missing anything important with this disabled (unless you are a dev)

#deb h ttp s://deb.parrot.sh/parrot parrot-updates main contrib non-free

##############################

Source Code Repositories

##############################

These repositories provide the debian source artifacts of the packages

in the corresponding repos in the form of dsc files and the corresponding

tarballs

you only need these repositories if you intend to download the source code

of a package and re-compile it yourself with debian-compliant build tools

#deb-src ht tps://deb.parrot.sh/parrot parrot main contrib non-free
#deb-src ht tps://deb.parrot.sh/parrot parrot-security main contrib non-free
#deb-src h ttps://deb.parrot.sh/parrot parrot-backports main contrib non-free
#deb-src http s://deb.parrot.sh/parrot parrot-updates main contrib non-free

##########################################################

How to configure mirror servers for faster downloads

##########################################################

The Parrot system is configured by default to use the central

parrot archive directors. The Parrot directors are special servers that

collect all the requests of the users and redirect them to the nearest

download server available for the user who made the request.

The Parrot Mirror Network is secured by centralized digital signatures

and the mirrors can’t inject fake updates. If an evil mirror tries to inject

a fake package, Parrot OS will automatically refuse to download and install it.

To configure a mirror, you have to replace the original URL with the URL

Provided by the mirror

Example:

If you live in Italy and you want to take advantage of the GARR mirror,

Replace

deb ht tps://deb.parrot.sh/parrot parrot main contrib non-free

With

deb htt ps://parrot.mirror.garr.it/mirrors/parrot parrot main contrib non-free

IMPORTANT NOTES:

do NOT use mirrors for the parrot-security repository. use them

exclusively for ‘parrot’, ‘parrot-backports’ and ‘parrot-updates’

LIST:

A full and updated list of official mirrors is available here:

h ttps://www.parrotsec.org/docs/mirrors-list.html

##########################

Some popular mirrors

##########################

This is a non-comprehensive, and not-updated list of mirrors

that we leave here a a quick reference. some of them are

worldwide, meaning that they have several nodes around the world

and the fastest one is picked automatically (CDN).

others are tight to a specific region of the world.

Worldwide - Parrot - automatically redirects to the fastest of all the mirrors

#deb htt ps://deb.parrot.sh/parrot/ parrot main contrib non-free

Worldwide - Parrot - core servers with no redirection

#deb ht tps://deb.parrot.sh/direct/parrot/ parrot main contrib non-free

Wordlwide - Azure - Uses the Azure CDN platform

#deb htt ps://edge1.parrot.run/parrot/ parrot main contrib non-free

Wordlwide - Aliyun - Uses the AlibabaCloud mirrors behind their worldwide CDN

#deb deb ht tps://mirrors.aliyun.com/parrot parrot main contrib non-free

US Massachussetts - SIPB MIT University

#deb ht tp://mirrors.mit.edu/parrot/ parrot main contrib non-free

US California - OCF Berkekey University

#deb htt ps://mirrors.ocf.berkeley.edu/parrot/ parrot main contrib non-free

US Virginia - Leaseweb

#deb http s://mirror.wdc1.us.leaseweb.net/parrot parrot main contrib non-free

Germany - Halifax RWTH-Aachen University

#deb ht tps://ftp.halifax.rwth-aachen.de/parrotsec/ parrot main contrib non-free

Italy - GARR Consortium

#deb htt ps://parrot.mirror.garr.it/mirrors/parrot/ parrot main contrib non-free

Netherlands - Nluug

#deb ht tps://ftp.nluug.nl/os/Linux/distr/parrot/ parrot main contrib non-free

Russia - Yandex

#deb ht tps://mirror.yandex.ru/mirrors/parrot/ parrot main contrib non-free

Brazil - Sao Paulo University

#deb ht tp://sft.if.usp.br/parrot/ parrot main contrib non-free

Singapore - 0x

#deb ht tps://mirror.0x.sg/parrot/ parrot main contrib non-free

China - USTC University

#deb h ttp://mirrors.ustc.edu.cn/parrot parrot main contrib non-free

We strongly invite you to visit htt ps://www.parrotsec.org/docs/mirrors-list.html

to find the mirror that better fits your needs

Hello I worked on your advise please help me with the next steps. thank you.

This is what I use in my parrot.list

#deb https://deb.parrot.sh/parrot/ parrot non-free contrib main
deb https://deb.parrot.sh/direct/parrot/ parrot-security main contrib non-free
deb https://deb.parrot.sh/parrot/ parrot-backports main contrib non-free
deb https://deb.parrot.sh/parrot/ parrot-updates non-free contrib main
deb https://parrot.mirror.garr.it/mirrors/parrot parrot main contrib non-free

Hello sir, thank you for responding, I used the same ones you had in your computer, and I am getting errors about the same as before, the same IP address causing errors.

┌─[root@parrot]─[/etc/apt/sources.list.d]
└──╼ #sudo apt update
Ign:1 ht tps://deb.parrot.sh/parrot lts InRelease
Ign:2 htt ps://deb.parrot.sh/direct/parrot parrot-security InRelease
Ign:3 htt ps://deb.parrot.sh/parrot parrot-backports InRelease
Ign:4 ht tps://deb.parrot.sh/parrot parrot-updates InRelease
Ign:1 htt ps://deb.parrot.sh/parrot lts InRelease
Ign:2 ht tps://deb.parrot.sh/direct/parrot parrot-security InRelease
Ign:3 Index of /parrot/ parrot-backports InRelease
Ign:4 ht tps://deb.parrot.sh/parrot parrot-updates InRelease
Ign:1 ht tps://deb.parrot.sh/parrot lts InRelease
Ign:2 ht tps://deb.parrot.sh/direct/parrot parrot-security InRelease
Ign:3 ht tps://deb.parrot.sh/parrot parrot-backports InRelease
Ign:4 ht tps://deb.parrot.sh/parrot parrot-updates InRelease
Err:1 ht tps://deb.parrot.sh/parrot lts InRelease
Could not handshake: Error in the pull function. [IP: 167.114.220.80 443]
Err:2 htt ps://deb.parrot.sh/direct/parrot parrot-security InRelease
Could n ot handshake: Error in the pull function. [IP: 167.114.220.80 443]
Err:3 htt ps://deb.parrot.sh/parrot parrot-backports InRelease
Could not handshake: Error in the pull function. [IP: 167.114.220.80 443]

Err:4 htt ps://deb.parrot.sh/parrot parrot-updates InRelease
Could not handshake: Error in the pull function. [IP: 167.114.220.80 443]
Get:5 ht tps://parrot.mirror.garr.it/mirrors/parrot parrot InRelease [14.6 kB]
Get:6 htt ps://parrot.mirror.garr.it/mirrors/parrot parrot/main amd64 Packages [17.7 MB]
Get:7 htt ps://parrot.mirror.garr.it/mirrors/parrot parrot/contrib amd64 Packages [115 kB]
Get:8 htt ps://parrot.mirror.garr.it/mirrors/parrot parrot/non-free amd64 Packages [215 kB]
Fetched 18.1 MB in 8s (2,132 kB/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
123 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
W: Failed to fetch ht tps://deb.parrot.sh/parrot/dists/lts/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.80 443]
W: Failed to fetch htt ps://deb.parrot.sh/direct/parrot/dists/parrot-security/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.80 443]
W: Failed to fetch htt ps://deb.parrot.sh/parrot/dists/parrot-backports/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.80 443]
W: Failed to fetch htt ps://deb.parrot.sh/parrot/dists/parrot-updates/InRelease Could not handshake: Error in the pull function. [IP: 167.114.220.80 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.

I’m not on my Parrot system, but try

deb https://parrot.mirror.garr.it/mirrors/parrot parrot main contrib non-free
deb https://parrot.mirror.garr.it/mirrors/parrot parrot-security main contrib non-free
deb https://parrot.mirror.garr.it/mirrors/parrot parrot-backports main contrib non-free
deb https://parrot.mirror.garr.it/mirrors/parrot parrot-updates non-free contrib main

Anything using the “default” repo ( https://deb.parrot.sh) will redirect to your local Canadian mirror (IP 167.114.220.80) which has an expired or mal-configured security certificate for https (port 443).

Hello sir, yes, you are correct, the default one is taking me to expired non working links, but we still have a problem.

┌─[root@parrot]─[/etc/apt/sources.list.d]
└──╼ #sudo apt update
Hit:1 htt ps://deb.opera.com/opera-stable stable InRelease
Ign:2 http s://deb.parrot.sh/parrot lts InRelease
Hit:3 http s://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 htt ps://deb.parrot.sh/parrot lts InRelease
Ign:2 htt ps://deb.parrot.sh/parrot lts InRelease
Err:2 htt ps://deb.parrot.sh/parrot lts InRelease
Could not handshake: Error in the pull function. [IP: 15.235.82.144 443]
Hit:4 htt ps://parrot.mirror.garr.it/mirrors/parrot parrot InRelease
Hit:5 htt ps://parrot.mirror.garr.it/mirrors/parrot parrot-security InRelease
Hit:6 htt ps://parrot.mirror.garr.it/mirrors/parrot parrot-backports InRelease
Hit:7 ht tps://parrot.mirror.garr.it/mirrors/parrot parrot-updates InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
161 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
W: Failed to fetch ht tps://deb.parrot.sh/parrot/dists/lts/InRelease Could not handshake: Error in the pull function. [IP: 15.235.82.144 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Right now, my parrot.list file has only the mirror files you provided above. and still, I am gettin an error from parrot.sh link which I dont know where it is as I cant see any in parrot.list file. you are starting to give me hope. thank you

Check your /etc/apt/sources.list to make sure
deb https://deb.parrot.sh/parrot lts
is not listed.

yes. its true. My sources.list file has:

deb htt ps://deb.parrot.sh/parrot lts main contrib non-free
deb-src htt ps://deb.parrot.sh/parrot lts main contrib non-free

in it. do i replace them with something else? if yes, one of those garr.it links?

OMG. FInally, no errors whrn i run sudu apt update
┌─[root@parrot]─[/etc/apt]
└──╼ #sudo apt update
Hit:1 h ttps://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 ht tps://deb.opera.com/opera-stable stable InRelease
Hit:3 htt ps://parrot.mirror.garr.it/mirrors/parrot parrot InRelease
Hit:4 htt ps://parrot.mirror.garr.it/mirrors/parrot parrot-security InRelease
Hit:5 ht tps://parrot.mirror.garr.it/mirrors/parrot parrot-backports InRelease
Hit:6 ht tps://parrot.mirror.garr.it/mirrors/parrot parrot-updates InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
9 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
thank you . very much. now, i feel worthy of ParrotOS

1 Like

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