ParrotSec / alternate-install

82 stars 49 forks source link

parrot-install.sh #7

Open BramBorg opened 5 years ago

BramBorg commented 5 years ago

Hi,

could someone please update the script parrot-install.sh? It seems to be outdated quite a bit and it is really off-putting trying to get it to work for a n00b. Paths seem to be outdated, changed those in the /etc/apt/sources.list.d/parrot.list but still no joy.

Came here via the tutorial on https://exploits.run/parrot-wsl/

Would have posted on the forum but since the script really is broken (paths old, --force-yes instead of allow, etc. ) and available on here I thought I'd post here.

Thanks!!

Verbose returns from the script:


Installing Full Edition OK Err:1 http://mirrordirector.archive.parrotsec.org/parrot parrot InRelease Something wicked happened resolving 'mirrordirector.archive.parrotsec.org:http' (-5 - No address associated with hostname) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. W: Failed to fetch http://mirrordirector.archive.parrotsec.org/parrot/dists/parrot/InRelease Something wicked happened resolving 'mirrordirector.archive.parrotsec.org:http' (-5 - No address associated with hostname) W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree Reading state information... Done apt-parrot is already the newest version (3.0+parrot2). parrot-archive-keyring is already the newest version (2019.6+parrot2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. W: --force-yes is deprecated, use one of the options starting with --allow instead. Get:1 https://deb.parrot.sh/parrot lts InRelease [14.4 kB] Get:2 https://deb.parrot.sh/parrot lts-security InRelease [14.1 kB] Fetched 28.5 kB in 3s (8,698 B/s) Reading package lists... Done Building dependency tree Reading state information... Done 5 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree Reading state information... Done parrot-core is already the newest version (4.7.190723). 0 upgraded, 0 newly installed, 0 to remove and 210 not upgraded. W: --force-yes is deprecated, use one of the options starting with --allow instead. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Error! Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: dbus : Depends: libdbus-1-3 (= 1.12.16-1) but 1.12.16-1+devuan2 is to be installed eudev : Breaks: systemd (> 220) but 241-7 is to be installed libpam-systemd : Depends: systemd-sysv but it is not going to be installed libsoup2.4-1 : Depends: glib-networking (>= 2.32.0) but it is not going to be installed systemd : Depends: libsystemd0 (= 241-7) W: --force-yes is deprecated, use one of the options starting with --allow instead. E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 210 not upgraded. W: --force-yes is deprecated, use one of the options starting with --allow instead. Reading package lists... Done Building dependency tree Reading state information... Done Package parrot-interface is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package parrot-interface-full is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

W: --force-yes is deprecated, use one of the options starting with --allow instead. E: Package 'parrot-interface' has no installation candidate E: Package 'parrot-interface-full' has no installation candidate E: Unable to locate package parrot-tools-full Operation Done!

vinhjaxt commented 5 years ago

Same issue, try to replace mirrordirector.archive.parrotsec.org by deb.parrotsec.org

BramBorg commented 5 years ago

Hi! Thanks for replying! I figured it out! Little dopamine kick as reward ;-)

wuno commented 4 years ago

@BramBorg glad to hear you figured it out, would you mind sharing with the rest of us how you got it working?

the4rchangel commented 4 years ago

@wuno @BramBorg @vinhjaxt Hello all! I have ported the script to a gist on my own account so I can continue maintaining it. The install is still going through but I've passed the part that was having issues before and I feel pretty confident it's been successful. I have updated the wget script link on the original blog post that Bram posted above. Thanks for bringing this to my attention and I hope this new script helps!

0m3nsec commented 4 years ago

I forked this script and updated it into a working condition as well. Repo is here if @the4rchangel stops maintaining it: https://github.com/0m3nsec/alternate-install Also cleaned up a few of the commands that have since been deprecated.

the4rchangel commented 4 years ago

@0m3nsec no use in doubling the work, if yours works I'll just pull mine and reference yours in the blog if you're gonna semi-maintain it. Personally I don't think I have the willpower to keep it maintained but I'll gladly work with you on your existing repo haha.

0m3nsec commented 4 years ago

@the4rchangel sounds good to me. Let me know if you run into any issues with it. I run parrotOS on a few servers and this script is the only way I set them up so it shouldn't be too hard to keep up with this as I have to fix it for myself when it breaks anyways.

the4rchangel commented 4 years ago

@the4rchangel sounds good to me. Let me know if you run into any issues with it. I run parrotOS on a few servers and this script is the only way I set them up so it shouldn't be too hard to keep up with this as I have to fix it for myself when it breaks anyways.

@0m3nsec if you could email me at michael@exploits.run or tweet me at @the4rchangel that'd be great! Wanna work some stuff out with you, this does not work as is on WSL. Wanna work with you to troubleshoot.

PalinuroSec commented 4 years ago

hello guys, if you intend to work on this script, i strongly invite you to contribute to this official repo and make your work part of our project in a more official way.

we have discontinued the development of this script in the past, but since interest in such script is increasing, i would like to maintain it again.

please send an email to team AT parrotsec DOT org so that we can give you access to nest.parrot.sh and give you the proper permissions on our repos

@dmknght