Failed to fetch deb.parrotsec.org

I cant update. If write command apt-get update, it shows that Failed to fetch http://deb.parrotsec.org/parrot/pool/main/s/scrot/scrot_0.8-19_amd64.deb Cannot initiate the connection to deb.parrotsec.org:80 (2401:c080:1000:4867:5400:1ff:fedb:6539). - connect (101: Network is unreachable). I cant understand anything even its my first time install linux.
I have downloaded parrot security from parrotsec.org
My parrot version is mate(latest version).


What version of Parrot are you running? (Parrot Mate1.20.4 kernel linux 4.19.0)

What method did you use to install Parrot? (Debian Standard)

Configured to multiboot with other systems? ( no)

**If there are any similar issues or solutions, link to them below:**no

**If there are any error messages or relevant logs, post them below:**no

Same here?

Just Wait
I think @palinuro repairing CDN

Try using a mirror near your to you, that should have the latest release, assuming whatever problem exists in the CDN isn’t fixed by now…

Okay i will try
Thank you

Thanks. It worked.

hi can someone help me with this error please.

Failed to fetch http://deb.parrotsec.org/parrot/dists/parrot/InRelease Something wicked happened resolving ‘deb.parrotsec.org:http’ (-5 - No address associated with hostname)…and in syn package manager i get this message to…he repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

go to sources.list and change the mirror

ok ty but how to find available mirror and lists,i used parrot-mirror-selector but its old tool,where to find that mirror list and how to change it?ty

You can get lots of mirror in this link
https://www.parrotsec.org/docs/mirror-list/

1 Like

This issue happens because previous apt version fixed RCE vuln (my opinion). Upgrade apt to latest version will fix it (it is harder when you can’t connect to parrot repository using apt command LoL). You can read it here https://community.parrotsec.org/t/update-parrot-being-blocked/5775

I tried everything in a couple of posts on this, and all the apt’s at the mirror I tried said they not be installed as they would break the system. I then tried re-installing 4.5 and it could not configure the apt-manager. I ended up re-installing but not updating 4.3. I am not much of an expert on Linux, but I like Parrot for privacy and security. Yet I find apt having a bug completely unacceptable. Does anyone know when this bug will be fixed? If these kind of mistakes keep happening I will have to reconsider using Parrot, as I don’t really have the skills to fix this kind of thing and probably never will.

I reformatted and attempted to update 10 time. Finally gave up. I’m using 4.4 4.18.0-parrot10-amd64 until something comes up I can do.

I agree. Not everyone is a Linux geek. Linux is suppose to be for everyone now. Yet we have a bug in apt? I have used Linux for 4 or 5 years now, and fixed plenty of problems, but some should just not happen. Where was the notice of this? Why did we have to come to the forum to find this out? I can fix a lot of things, but not a broken package manager. When will the problem be fixed? I am willing to give it ONE MORE TRY if I can find out something, but not if the developers don’t care.

@Jason_Bourn @Overmyhead @muroga @tron1986

I’d like to clear up some misconceptions.

  • First: The error has nothing to do with apt at all. The MiTM exploit @dmknght is talking about uses http redirects to inject code, your download would still go through. Please see here and here for further info.

  • Second: The error is DNS (domain name system) related. Whenever you see something saying it can’t resolve a name of any kind regarding web it is almost certainly a DNS error. How can you tell? Well if you can ping an IP but not parrotsec.org then it’s DNS. If you can’t get a ping anywhere then it is likely something else. If you can’t do nslookup on a website which gives you an ip then it’s likely a DNS issue. Unfortunately we don’t have DNS docs atm but, there is plenty to read if you google “what is DNS?”. In a nutshell DNS resolves a name parrotsec.org to an IP which allows you to connect to servers around the internet instead of punching in IP’s every time. To get you started please see DNS Wikipedia

  • Third: To fix your DNS issue You can try these steps if you still have issues I would look online but, these steps should handle most DNS problems.

  • check if your interfaces are up (is your wifi or ethernet module working)

ip addr show

If you don’t see eth0, wlan0 or some variant of both then your issue isn’t DNS

  • Check these directories/files
    /etc/resolv.conf
    /etc/resolvconf/ (all files)
    /etc/resolv.conf.head

  • verify you have a working DNS server or Parrot’s: (these should be in etc/resolv.conf)

# ParrotDNS/OpenNIC
nameserver 139.99.96.146
nameserver 37.59.40.15
nameserver 185.121.177.177 
  • check if DNS is working through nslookup, host and ping.
nslookup parrotsec.org  <- this will give you the DNS server used.
host parrotsec.org
ping YOUR-DNS-IP
  • Check your router, firewall settings and if your DNS port (standard is 53) are blocked. Do you have anonsurf or tor enabled but tor is blocked in your country this could all potentially be part of the problem.

  • Fourth APT is not a Parrot native program and we have no control over whether someone finds a vulnerabilty or not. This vunerabily affected everyone who uses Debian as an operating system or had it as part of something Debian flavored (ubuntu/Pop!_OS/Mint etc). Parrot uses Debian Testing as its base layer if you will and then it was customized quite a bit. Therefore we use a lot of Debian tools like apt for application packaging.

  • Lastly, @jymm Debian, apt and Parrot Linux are all free, built by people for free. No one gets paid for this, not the moderators, developers or @palinuro we do all this for free. Please do not act as if we owe you anything. We don’t, morally or otherwise. Everyone is free to use or not use whatever software they wish. We aren’t Microsoft, Apple or even Debian, we have one guy packaging and developing Parrot for AMDx64, everyone is welcome to help. Is Parrot good? I think so, could it be better, definitely, but with one guy doing all the packaging and maintaining its kind of impossible.

Who Linux is for, is rather simple, Linux is for problem solvers. 80% of my post about both apt and DNS was research I did in 20 minutes. I initially had no idea what apt bug you guys were talking about. You don’t have to be a Linux expert you just have to want to learn and solve problems.

3 Likes

I understand and appreciate Linux is free. I also stated it is my limited ability. I am older and have trouble with some simple things like installing a tar ball. I use a GUI for most everything. I really like Parrot, and would like to continue to use it. Yes some of the advice here might not have been totally accurate, but it is all I have to rely on. I will hang in there until the next point release.

2 Likes

I see a lot of the same errors I have on my system showing up in other peoples systems after the 4.5 upade. dmknight says that installing the upgraded apt manually will probably fix the problem in amd64. I had 12 tabs open in the debian manual yesterday to try to figure this process out. The only thing I did find, are several commands that we are told on this forum not to use. Commands to fix recommended commands, in case of a problem. Over and over and over again, took me to hours 2 to figure out that I wasn’t going to be able to do it. In the last 2 weeks I have probably spent 50 hours researching and reformatting this computer, in an attempt to make 4.5.1 even remotely useable. If the apt is broken, for me, its going to stay broken until its fixed in the iso. My problem. I don’t expect any one here owes me anything, certainly not the ones doing all the work to make it possible. I would do more if i could, but I can’t. What I see a lot of, from you, is, when someone posts a problem, your first response is generally something like “what did you do”. You make accusations as if someone sabotaged their own system, just to make things harder for you. And I am looking at the same logs on my computer, immediately after installing the iso. Most of us are never going to operate at the same level as you. Some of us could have 30 years ago, but those days are gone. I guess what I am saying, is if you want to help, help. If you don’t, then don’t reply. Displaying your superior skill, and looking down on people who don’t possess them, is counter-productive. If anyone thinks this is out of line, feel free to delete it. If anyone doesn’t want a 60 year old, who’s intellectual prime has passed, you may feel free to delete my account.

@Overmyhead I sympathize with you, I know it might not seem like that but I do. I have yet to meet a Linux “expert” that started out as an expert. Here’s the thing, Parrot Linux is not designed for beginners. Linux may be for everyone but there are various distributions out there with varying levels of difficulty. We try to make Parrot as user friendly as possible but our demographics in terms of end users are professional penetration testers and those who know how to modify their system extensively. Debian has fantastic resources and yes, because Parrot is a rolling release and Debian is not there are some differences in commands. It’s unfortunate we don’t have good documentation at the moment, it’s being worked on. I know what an enormous pain in the butt it can be to spend days trying to solve a problem and not finding a satisfactory answer.

apt is not nor was it ever broken. The vulnerability enabled people to inject code which could execute on your system but that would not prevent you from updating unless you were actively targeted (the chances of which, mind you my math is not great, are pretty slim).

Perhaps my first response seems aggressive to you and others. Generally speaking it is the user who screws the pooch. That’s not an accusation but a statement backed by collective experience and the volume of support tickets. Unintended user sabotage is pretty accurate. Hell today I tried to test switching from tty7 to tty6 to verify the commands to reply to a post and I gave X a fatal IO error and lost some of my work. Perhaps it seems like mods and others are out to get you with our lines of questions which makes you feel like you’re at a Sepah/Savak prison. If only our reach was so far, so wide and so evil. No, our barrage of questions and statements stem often from a trio of issues which visually probably looks like a venn diagram from hell.

  • First, Troubleshooting methodology, (2), (3). We ask because we need to start from somewhere and triage (or process of elimination). We have to narrow down what the issue is. Often (and this forum is certainly no exception) users mention a bandaid solution for the problem because either being new or having had it work for them in the past they think it will work. This can have a domino effect of rapidly causing further problems. For example often people blame an application not working as the actual problem when it might have more to do with apparmor, firejail or permissions of the user. There is a large variety of experience when it comes to Parrot staff. We all know something but we definitely don’t know it all and sometimes we give conflicting advice because we know something and want to help. Add on that most of the staff have latitude in terms of how they choose to respond which gives the feeling that some mods are more or less helpful. Finally, several users who do know their stuff or think they do and you can see how messy answers get. If one question is asked it’s likely the user didn’t provide much in terms of logs or information and Parrot staff is grabbing air trying to troubleshoot.

  • Second, Documentation. Our docs page sucks, I’ll be the first to admit that. The situation overall is pretty dire. I personally don’t hold anyone at fault, that just happens to be the nature of opensource. Sometime the documentation is awesome and other times it doesn’t exist. Better docs are in the works but not having a good docs section for people who do read is a big problem. Not having good documentation causes new users to not know how or what to post to properly troubleshoot while users/staff who do know often pass over the issue in favor of users with well documented problems. It creates a cycle where people need help yet few receive it as they don’t know to post the right information and people who can help don’t. This is futher aggravated by some people who have ignorant questions, some people misunderstand how Parrot/linux or a tool works and some people just want things to work and feel entitled to help. Parrot staff gives answers. People feel that the answer isn’t good enough or choose to break their system and then beg for help.

  • Third, people are lazy. That’s just human nature and though I won’t hold it against people I have zero patience for user laziness. Most forums hacker and otherwise will, by and large, ignore or ban users who beg, bump topics or fail to read the docs. We chose not to take that route instead we try to hit a middle ground of helping people when we can. We have four choices when a user posts without filling out the support form and/or providing logs.

    • We can delete their post which helps no one and though it is don’t we try to refrain from doing that, often we send it to community if there isn’t enough information.
    • We can allow their post and lock it forcing them to either fill out a new topic and provide information or piss off. The problem here is part missing documentation and part human laziness. A percentage of users feel entitled to not fill out the form but be given the help RIGHT NOW!! HELP ME! and its pretty childish (happens daily on Telegram). Often users don’t repost, which is not necessarily a negative.
    • We can move their post to community and let anyone try to help them but this isn’t really beneficial to both the user or Parrot’s overall community.
    • Lastly we can allow their post and try to troubleshoot, but it can be a very long list of questions sometimes.

I’m sorry you feel that way. I’m not some elite hacker, Linux guru or even a guy who can maintain packages. I’m just a guy who likes to learn and solve problems. I’m not here to display anything for anyone, the level I operate at is the human level, I am just as lazy and coffee starved as the next guy.

I look down on a type of person, the person who is too lazy to solve their own problems, they demand help but never offer it, they demand answers to a problem a single search on google could have solved for them. Yes, I have deep distain for those kinds of window licking shortbus riders. I don’t think you’re that type. I certainly don’t look down on you or anyone in this thread. And judging by the depth and thought put into your post I’d hardly say you’re past your intellectual prime.

Parrot is being worked on, from the docs to the raspberry pi experiment it’s being worked on but, it takes time. Partly because our best and brightest are swamped keeping the OS afloat while people like myself are having to teach themselve how to program and package while moderating and/or learning other skills needed for the project. And partly because people have lives and jobs and there is only so much time in the day.

Just clear the air. Parrot is Debian based, so there are bugs from Debian and affected Debian distro as well. About that fetch Domain name error: First time I read that news, and I upgraded apt after 2 days, I thought that bug was because of the fix. But this issue still happens (rarely) for me so I am thinking about DNS error.
No offensive here, but Parrot is not made for regular users. And because it is based Debian testing so there would be many bugs / errors that any user can have. If anyone wants a stable Parrot, yes there would be LTS version. I think LTS version will be easier to use for new users and have less bug.
p/s: I am really sorry about your apt broken. That was my fault because I didn’t make a clear solution.

For me, I tried it on different internet connection of different ISPs but still the error persists. I am using Parrot Security and I cannot afford to reinstall it again as I have a lot of data in it. Please help!!