Trouble connecting for updates

– Please Write here your help request –
With a new install on a dell laptop (being used as a tower with external screen and keyboard), I did the initial apt update, which originally returned an error code (1), but after a restart and then ‘sudo apt autoremove’, apt fixed the issues and everything seemed fine. I installed a few normal apps, like chromium, audacity, and pulse audio effects. Everything still fine. Later on, I check to do a regular apt update, and now it doesn’t connect to the servers properly. Here’s the text from the terminal output:

(edit: this output is from ‘sudo apt update’ command. I also noticed the ‘cafe:dead:beef’ and ‘cafe:code:1337’ parts of those addresses, are those standard? )


Hit:1 Files... scar InRelease
Ign:2 Index of /parrot/ lts InRelease
Ign:3 Index of /parrot/ parrot InRelease
Ign:4 Index of /direct/parrot/ parrot-security InRelease
Ign:5 Index of /parrot/ parrot-backports InRelease
Ign:2 Index of /parrot/ lts InRelease
Ign:3 Index of /parrot/ parrot InRelease
Ign:4 Index of /direct/parrot/ parrot-security InRelease
Ign:5 Index of /parrot/ parrot-backports InRelease
Ign:2 Index of /parrot/ lts InRelease
Ign:3 Index of /parrot/ parrot InRelease
Ign:4 Index of /direct/parrot/ parrot-security InRelease
Ign:5 Index of /parrot/ parrot-backports InRelease
Err:2 Index of /parrot/ lts InRelease
Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:feed:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:c0de:1337). - connect (101: Network is unreachable) Could not connect to deb.parrot.sh:443 (15.235.82.144), connection timed out Could not connect to deb.parrot.sh:443 (192.95.37.236), connection timed out
Err:3 Index of /parrot/ parrot InRelease
Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:feed:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:c0de:1337). - connect (101: Network is unreachable)
Err:4 Index of /direct/parrot/ parrot-security InRelease
Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:feed:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:c0de:1337). - connect (101: Network is unreachable)
Err:5 Index of /parrot/ parrot-backports InRelease
Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:feed:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:c0de:1337). - connect (101: Network is unreachable)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
All packages are up to date.
W: Failed to fetch https://deb.parrot.sh/parrot/dists/lts/InRelease Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:feed:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:c0de:1337). - connect (101: Network is unreachable) Could not connect to deb.parrot.sh:443 (15.235.82.144), connection timed out Could not connect to deb.parrot.sh:443 (192.95.37.236), connection timed out
W: Failed to fetch https://deb.parrot.sh/parrot/dists/parrot/InRelease Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:feed:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:c0de:1337). - connect (101: Network is unreachable)
W: Failed to fetch https://deb.parrot.sh/direct/parrot/dists/parrot-security/InRelease Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:feed:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:c0de:1337). - connect (101: Network is unreachable)
W: Failed to fetch https://deb.parrot.sh/parrot/dists/parrot-backports/InRelease Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:feed:dead:beef). - connect (101: Network is unreachable) Cannot initiate the connection to deb.parrot.sh:443 (2607:5300:203:a890:bbbb:cafe:c0de:1337). - connect (101: Network is unreachable)
W: Some index files failed to download. They have been ignored, or old ones used instead.



  • Parrot version in use *(if you are not aware of it, open terminal and type cat /etc/os-release | grep VERSION) Parrot 5.0 Electro Ara 64 bit

  • Anonsurf running? (yes/no)
    no

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

  • Screenshots:

UPDATE: still getting an error from running sudo apt update, but a different one now, and it’s also more functional (I was able to ‘sudo apt install pipenv’ whereas before it would hang up) so that was my main concern.
The new output from sudo apt update is:

Hit:1 http://deb.volian.org/volian scar InRelease
Get:2 https://deb.parrot.sh/parrot lts InRelease [14.6 kB]
Hit:3 https://deb.parrot.sh/parrot parrot InRelease
Hit:4 https://deb.parrot.sh/direct/parrot parrot-security InRelease
Hit:5 https://deb.parrot.sh/parrot parrot-backports InRelease
Get:6 https://deb.parrot.sh/parrot lts/main amd64 Packages [17.7 MB]
Err:6 https://deb.parrot.sh/parrot lts/main amd64 Packages
  File has unexpected size (17718275 != 17718292). Mirror sync in progress? [IP: 192.95.37.236 443]
  Hashes of expected file:
   - Filesize:17718292 [weak]
   - SHA256:f1d3c59b074cb9cf3b7d2dd30b62d9a6ef46105c1c33fed07de9a3a5a2d6ff6c
   - SHA1:e755b8438c090c90dc08edeeae4a7afe422c5ae8 [weak]
   - MD5Sum:096146dc0b81277405dfffa531b9f074 [weak]
  Release file created at: Fri, 22 Jul 2022 12:37:03 +0000
Reading package lists... Done 
E: Failed to fetch https://deb.parrot.sh/parrot/dists/lts/main/binary-amd64/Packages.gz  File has unexpected size (17718275 != 17718292). Mirror sync in progress? [IP: 192.95.37.236 443]
   Hashes of expected file:
    - Filesize:17718292 [weak]
    - SHA256:f1d3c59b074cb9cf3b7d2dd30b62d9a6ef46105c1c33fed07de9a3a5a2d6ff6c
    - SHA1:e755b8438c090c90dc08edeeae4a7afe422c5ae8 [weak]
    - MD5Sum:096146dc0b81277405dfffa531b9f074 [weak]
   Release file created at: Fri, 22 Jul 2022 12:37:03 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

And now it is functioning normally again. Occasionally it will not connect to a server properly, but re-executing the update/upgrade works fine. Thank you if that was part of anyone’s effort

Hello @Linuxnoob, I would suggest you check the DNS your Dell is using or your router, a device restart would not be out of place. You can also try using a VPN to test if the issue still occurs.

Have a blessed weekend

1 Like

edit: also apt is connecting fine now so the issue is fixed

yes I do use a VPN normally for browsing, it does help with connection problems when you can switch servers and protocols etc. Thanks you too have a good one

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