I tried installing brew core utilities and I got this error "Installing... Warning: No available formula with the name "coreutils"" - terminal

==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
I tried installing core utilities for SHELLS by 4ndr34z

Related

Homebrew: Error running 'requirements_osx_brew_libs_install gcc#6' on Mac10.13.6

I can't install ruby 3.0.0 through my powershell, when I try rvm install 3.0.0 I receive a beautiful error:
Error running 'requirements_osx_brew_libs_install gcc#6',
please read /Users/ben/.rvm/log/1673079096_ruby-3.0.0/package_install_gcc#6.log
Requirements installation failed with status: 1.
I feel like I've tried everything to resolve this problem but without success.
-This is my gcc version:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 10.0.0 (clang-1000.10.44.4) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
-homebrew version:
Homebrew 3.6.17-66-g974984d Homebrew/homebrew-core (git revision 0149ce7e63e; last commit 2023-01-07)
-rvm version:
rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
-ruby version:
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]
-which ruby:
/usr/bin/ruby
And when I run rvm install 3.0.0 this is what I receive:
Error: Invalid usage: This command requires at least 1 text or regex argument.
Usage: brew search, -S [options] text|/regex/ [...]
Perform a substring search of cask tokens and formula names for text. If
text is flanked by slashes, it is interpreted as a regular expression. The
search for text is extended online to homebrew/core and homebrew/cask.
--formula, --formulae Search online and locally for formulae.
--cask, --casks Search online and locally for casks.
--desc Search for formulae with a description
matching text and casks with a name or
description matching text.
--eval-all Evaluate all available formulae and casks,
whether installed or not, to search their
descriptions. Implied if HOMEBREW_EVAL_ALL is
set.
--pull-request Search for GitHub pull requests containing
text.
--open Search for only open GitHub pull requests.
--closed Search for only closed GitHub pull requests.
--repology Search for text in the given database.
--macports Search for text in the given database.
--fink Search for text in the given database.
--opensuse Search for text in the given database.
--fedora Search for text in the given database.
--archlinux Search for text in the given database.
--debian Search for text in the given database.
--ubuntu Search for text in the given database.
-d, --debug Display any debugging information.
-q, --quiet Make some output more quiet.
-v, --verbose Make some output more verbose.
-h, --help Show this message.
Error: Invalid usage: This command requires at least 1 text or regex argument.
Installing requirements for osx_brew.
Updating system..........
Installing required packages: gcc#6........There were package installation errors, make sure to read the log.
Try `brew tap --repair` and make sure `brew doctor` looks reasonable.
Check Homebrew requirements https://docs.brew.sh/Installation
.
Error running 'requirements_osx_brew_libs_install gcc#6',
please read /Users/benoitlardinois/.rvm/log/1673081014_ruby-3.0.0/package_install_gcc#6.log
Requirements installation failed with status: 1.
So, if I run brew install gcc#6, I receive:
Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from MacHomebrew on Twitter.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
Warning: gcc#6 has been deprecated because it is deprecated upstream!
==> Fetching dependencies for gcc#6: isl, mpfr and libmpc
==> Fetching isl
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed
Already downloaded: /Users/benoitlardinois/Library/Caches/Homebrew/downloads/195208ba31cadc265ea97bb8aad4e78caab1200daf4d855e6c839b5f987f92db--configure-big_sur.diff
==> Downloading https://libisl.sourceforge.io/isl-0.25.tar.xz
Already downloaded: /Users/benoitlardinois/Library/Caches/Homebrew/downloads/dce6d1ed4d25c923a4ad350c4b9cdf03406f649cd55be8c385814703502b5c81--isl-0.25.tar.xz
==> Fetching mpfr
==> Downloading https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.0.tar.xz
Already downloaded: /Users/benoitlardinois/Library/Caches/Homebrew/downloads/2b7a1efec00f58b200d550146d18563516f005674020aa39ca2cd6666cb1d215--mpfr-4.2.0.tar.xz
==> Fetching libmpc
==> Downloading https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
Already downloaded: /Users/benoitlardinois/Library/Caches/Homebrew/downloads/22a255b07a458ea7bd9717c0d1509282a69135dd842aa6b64144820c50bfd208--mpc-1.3.1.tar.gz
==> Fetching gcc#6
==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-6.5.0/gcc-6.5.0.tar.xz
Already downloaded: /Users/benoitlardinois/Library/Caches/Homebrew/downloads/0a7c1b4768113746153c6e06f4ea6b2abf2d8ba48a68bf28f7c686b70117540e--gcc-6.5.0.tar.xz
==> Installing dependencies for gcc#6: isl, mpfr and libmpc
==> Installing gcc#6 dependency: isl
==> Patching
==> Applying configure-big_sur.diff
patching file configure
Hunk #1 succeeded at 13866 (offset 5133 lines).
==> ./configure --prefix=/usr/local/Cellar/isl/0.25 --with-gmp=system --with-gmp-prefix=/usr/local/op
==> make
Last 15 lines from /Users/benoitlardinois/Library/Logs/Homebrew/isl/02.make:
constexpr value_type& value() &
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/optional:933:33: note: candidate function has been explicitly made unavailable
constexpr value_type const& value() const&
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/optional:951:28: note: candidate function not viable: no known conversion from 'optional<...>' to 'optional<...>' for object argument
constexpr value_type&& value() &&
^
/Library/Developer/CommandLineTools/usr/include/c++/v1/optional:960:34: note: candidate function not viable: no known conversion from 'optional<...>' to 'const optional<...>' for object argument
constexpr value_type const&& value() const&&
^
2 errors generated.
make[2]: *** [isl_test_cpp17.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
Error: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from MacHomebrew on Twitter.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
I'm in despair, I don't know what I'm supposed to do.
The warning is clearly stating that macOS 10.13 is too old, so the best thing is to upgrade the OS - there were several failed attempts to build Ruby 3.0 - see https://github.com/rvm/rvm/issues/5055
Also, GCC below version 10 are deprecated - see homebrew issue https://github.com/Homebrew/homebrew-core/pull/110163
Though, you can first try switching from rvm to rbenv - seems like someone get it done with rbenv on High Sierra - https://github.com/rvm/rvm/issues/5012#issuecomment-811858777

how to upgrade dart to higher version 2.14+

I have already installed dart in mac(Intel Chip):
$ brew info dart ‹ruby-2.7.2›
dart-lang/dart/dart: stable 2.14.4, HEAD
SDK
https://dart.dev
Conflicts with:
dart-beta (because dart-beta ships the same binaries)
/usr/local/Cellar/dart/HEAD (868 files, 506.2MB) *
Built from source on 2022-09-04 at 22:53:21
/usr/local/Cellar/dart/2.14.4 (822 files, 543.3MB)
Built from source on 2022-08-20 at 18:17:47
/usr/local/Cellar/dart/2.18 (918 files, 677.8MB)
Built from source
From: https://github.com/dart-lang/homebrew-dart/blob/HEAD/Formula/dart.rb
==> Options
--HEAD
Install HEAD version
==> Caveats
Please note the path to the Dart SDK:
/usr/local/opt/dart/libexec
(base)
now I want to upgrade the dart version to 2.18, but I did not found the new version of formula:
$ brew install dart#2.18 ‹ruby-2.7.2›
Warning: No available formula with the name "dart#2.18". Did you mean dart#2.1, dart#2.8, dart#2.13, dart#2.12, dart#2.10, dart#2.2, dart#2.7, dart#2.6, dart#2.5, dart#2.4, dart#2.3, dart#2.9 or dart#2.0?
==> Searching for similarly named formulae...
These similarly named formulae were found:
dart-lang/dart/dart#2.1 dart-lang/dart/dart#2.12 dart-lang/dart/dart#2.7 dart-lang/dart/dart#2.4 dart-lang/dart/dart#2.0
dart-lang/dart/dart#2.8 dart-lang/dart/dart#2.10 dart-lang/dart/dart#2.6 dart-lang/dart/dart#2.3
dart-lang/dart/dart#2.13 dart-lang/dart/dart#2.2 dart-lang/dart/dart#2.5 dart-lang/dart/dart#2.9
To install one of them, run (for example):
brew install dart-lang/dart/dart#2.1
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
(base)
is it possible to install higher version of dart in macos, I have tried to searching from google but still found no one talk about this issue. what should I do to upgrade the dart? I have already tried the brew upgrade command.
You can try dart-sdk 2.18.5, which is pretty well maintained.
We dont have dart in homebrew-core due to the reason detailed in here.

Metasploitable 3 Build on windows 11 - errors

Trying to build a Metasploitable 3 on virtual box on windows 11.
Running powershell command below:
PS C:\Users\Paul\Desktop\Metasploitable3> ./build.ps1 windows2008
Returned after sending command:
'''
Compatible version of VirtualBox found.
Compatible version of Packer found.
Compatible version of Vagrant found.
Compatible version of vagrant-reload plugin found.
All requirements found. Proceeding...
Building metasploitable3-win2k8 Vagrant box...
virtualbox-iso output will be in this color.
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: http://download.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso
virtualbox-iso: Error downloading: checksums didn't match expected: 4263be2cf3c59177c45085c0a7bc6ca5
==> virtualbox-iso: ISO download failed.
Build 'virtualbox-iso' errored: ISO download failed.
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: ISO download failed.
==> Builds finished but no artifacts were created.
Error building the Vagrant box using Packer. Please check the output above for any error messages.
At C:\Users\Paul\Desktop\Metasploitable3\build.ps1:157 char:10
+ throw "Error building the Vagrant box using Packer. Please c ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Error building ...error messages.:String) [], RuntimeException
+ FullyQualifiedErrorId : Error building the Vagrant box using Packer. Please check the output above for any error
messages.
'''
I can see that the .iso you're trying to download gives a 404:
https://download.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso
Try to change that link in your script, so it points to an existing .iso-file.
I too have been looking to build a fresh Metasploitable 3 VM recently. Unfortunately, the build process starts by first downloading an ISO of 7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso which is the Windows Server 2008 evaluation DVD image file, and Microsoft appears to have removed that from their downloadable files offerings. To proceed, you (and I) will have to find another source for this ISO, and so far I've had no luck with sourcing the file. Best of luck - hopefully things will go better for you than they have for me on seeking this file.

How to install Ansible20 via Homebrew on macOS

I've done this many times up until a couple of months ago.
The steps seem to have changed since versions is now deprecated?
1) brew tap homebrew/versions
2) brew search ansible
3) Returns ansible#2.0 as an option
4) brew install ansible20
5) Finally brew install homebrew/versions/ansible20
However I am now getting the following response
Warning: Use ansible20 instead of deprecated homebrew/versions/ansible20
Error: No available formula with the name "homebrew/core/ansible20"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
Does /core/ not have the same formulae? What happened to versions?
You can use ansible#2.0 in core, in place of ansible20.
Just run brew install ansible#2.0.
Excerpt from https://github.com/Homebrew/homebrew-versions:
This tap was deprecated because homebrew/core has started to support multiple versions. All widely used, buildable formulae will be migrated to homebrew/core.
Learn more about this migration in the Versions documentation.
Excerpt from http://docs.brew.sh/Versions.html ("the Versions documentation" mentioned above)
In Homebrew/versions the formula for GCC 6 was named gcc6.rb and began class Gcc6 < Formula. In Homebrew/core this same formula is named gcc#6.rb and begins class GccAT6 < Formula.

IPython notebook does not launch after installing IPython dev version

I tried today to install the dev version of IPython, but when i run "ipython notebook --pylab=inline"
I get an empty notebook opens (no dash board, just a whit blank page) and the command line says:
WARNING:tornado.access:404 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css (127.0.0.1) 0
2013-08-05 16:49:57.365 [tornado.access] WARNING | 404 GET /static/components/jquery/jquery.min.js (127.0.0.1
WARNING:tornado.access:404 GET /static/components/jquery/jquery.min.js (127.0.0.1) 0.00ms
2013-08-05 16:49:57.367 [tornado.access] WARNING | 404 GET /static/components/requirejs/require.js (127.0.0.1
WARNING:tornado.access:404 GET /static/components/requirejs/require.js (127.0.0.1) 0.00ms
2013-08-05 16:49:57.371 [tornado.access] WARNING | 404 GET /static/components/bootstrap/bootstrap/js/bootstra
WARNING:tornado.access:404 GET /static/components/bootstrap/bootstrap/js/bootstrap.min.js (127.0.0.1) 1.00ms
2013-08-05 16:49:57.372 [tornado.access] WARNING | 404 GET /static/components/jquery-ui/ui/minified/jquery-ui
WARNING:tornado.access:404 GET /static/components/jquery-ui/ui/minified/jquery-ui.min.js (127.0.0.1) 1.00ms
It might be due to the installation I did, which was by the guidance in ipython site, but still didnt go smooth. this is what i did:
installed python.
installed disutils
installed pip
installed git (from an installer)
cloned the ipython code using git
installed ipython.
I thought that was enough. but when I tried to launch the notebook it failed, telling me that pyzmq is not found. so I installed pyzmq. next launch failed as well, this time because of jinja2. so i installed it too. next i installed tornado.. and so on until i got the notebook up. but when it did, happen the mentioned in the top.
Cant figure out what went wrong. any help?
The dependencies can be installed like so
pip install pyzmq jinja2 tornado
However, an easier way to install is to
pip install .[notebook] # These brackets are literally there, not optional
As for the weirdness with static files, I've run into this problem when coding against the master branch, as there are git submodules. The current version of pip should be able to resolve these submodules. If yours doesn't, within the ipython directory (after you clone it) run
git submodule init
git submodule update
Now install IPython + IPython notebook
pip install .[notebook]
However, you could just install IPython 1.0's release candidate directly:
pip install http://archive.ipython.org/testing/1.0.0/ipython-1.0.0-rc1.tar.gz#egg=ipython-1.0.0-rc1
Im writing an answer just to update and be able to write code (is there a better way to do that?)
I did the "init,update" steps you suggested, and received the following:
C:\Program Files\Git\bin\ipython>pip install .
Unpacking c:\program files\git\bin\ipython
Running setup.py egg_info for package from file:///c%7C%5Cprogram%20files%5Cgit%5Cbin%5Cipython
no previously-included directories found matching 'IPython\deathrow'
no previously-included directories found matching 'IPython\html\static\mathjax'
warning: no files found matching 'IPython\.git_commit_info.ini'
warning: no previously-included files found matching 'docs\#*'
warning: no previously-included files found matching 'docs\man\*.1.gz'
no previously-included directories found matching 'docs\build'
no previously-included directories found matching 'docs\gh-pages'
no previously-included directories found matching 'docs\dist'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.flc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '.dircopy.log' found anywhere in distribution
Cleaning up...
So no success.. going to try to install the rc version now.

Resources