Installation stuck on errors #4711
Replies: 7 comments 4 replies
-
It seems that you have restored the Homebrew install from your old Mac (via Time Machine or similar) so now you have two Homebrew installations. Below are steps to migrate the old installation to the one you've just installed. Firstly, dump the list of previously-installed packages:
Then, ask the new Homebrew to install them:
(Or, if you don't care about the previously-installed packages, skip the After that, remove the old Homebrew installation with:
You may want to have a look at More discussions on migration can be found at https://github.com/orgs/Homebrew/discussions/417. |
Beta Was this translation helpful? Give feedback.
-
Thank you, that was very helpful. Makes sense due to using Migration Assistant, I had just assumed something no longer worked (or was lost) with the new system due to no longer being able to port to the server I wanted to in Telnet. The other thread was also helpful, although I feel quite like one poster talking about how we can figure out typing in the commands we're told, and what happens, but we don't know what to do with it afterwards... sorry, I'm not used to coding much! I understand them with talking about the difference in systems and making sure which one I'm in/directory/path, but not sure what to do after that, or checking that mine's correct now! I followed each of your command instructions... got a couple errors about shallow clone and straggler files (which it then gave me the commands to also fix). After all of those lines, I did your uninstall command, whereas I got this: Removing Homebrew installation... I'm not sure if it meant literally, and was nervous about messing with program files, but I just went and did a search in Finder, found them, and moved to the Trash, so there's nothing in usr/local, but there's various other folders including everything in /bin. After which 'doctor' gave me errors about unlinked stuff, and the commands to fix, which I did, so now it once again says 'Your system is ready to brew.". Great. Config remains the same, and I wasn't sure if I was missing anything else to clean up (should I run a cleanup/upgrade?), so I told it to install telnet again. Also by the way, when I open a Terminal window to do all this, it includes 'The default interactive shell is now zsh. To update your account to use zsh, please run So... I think it's cleaned up and migrated? Except the main reason I'm doing all this, to use Telnet to port into another server I play on, still won't work. Previously, I had a bookmark to telnet://theservername:port # which still spits back this: Sorry for my very verbose reply and confusion and being able to pin down the answer through various search results... I thought Homebrew would allow me to run that again, and I'm not sure what I need to do next since it all seems properly installed. Thanks so much for the help! |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks again for your suggestions! ==> Downloading https://formulae.brew.sh/api/formula.jws.json And I see a telnet file in /opt/homebrew/bin in the Finder, and /opt/homebrew/Cellar/ (that's where the new version should be, right? Not in /usr which was the old stuff I think? Sorry, just trying to keep terminology straight. Then you reminded me to check my settings in my browser of what it was using, and... again yes, opening ssh or telnet tells it to use Terminal. But I'm still getting this when I try to port to the server through my browser link... [Command not found: telnet] [Could not create a new process and open a pseudo-tty.] Sigh... ok, so telnet just won't work? Maybe I should try following directions for any of the other clients out there that let you port into Muds/Mucks... just seemed some of them needed Homebrew anyway, and would work through telnet. Thanks for all the advice. |
Beta Was this translation helpful? Give feedback.
-
Yes, understood. |
Beta Was this translation helpful? Give feedback.
-
Right, of course. The lines I gave you were just how I originally learned how to connect through telnet many years ago. Makes sense that going from a very old system all the way up to Ventura now, it handles/shows/limits some things differently. So if I try typing it your way... ... oh hey, it works! Ha... crazy how just one different symbol changes commands. It /still/ won't let me likewise tweak it that way through a browser address with telnet:// as I mentioned doing, can't figure why, but that was mainly for my instant-link convenience. And no, you're fine... I do realize I've stuck with an outdated method, even though I'm careful, so will have to look into proper clients (many of which also require tweaking through Homebrew, so there's that). At least it's fixed, and thanks. |
Beta Was this translation helpful? Give feedback.
-
Yes, that worked, thanks! Even though all of this diverted from Homebrew a bit and still need to get with the times and a more modern client. Of course... the rest makes sense... ha, yes, I finally upgraded from quite an old computer! Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
Hello everyone! Recently got a new Macbook Pro with Ventura 13.5 on it. Always used macs, but in recent years it was annoying/tricky getting it to still let me use my darn Telnet for certain things- although I'm not a programmer, I could follow enough lines in the recommended Homebrew to discover how to let me install/port in. This time, though...
Installed Homebrew successfully, it mentioned various things it was going to install/have to create new directories for. Then it continued to doing all the command line tools for Xcode. After which showed a huge list of objects it made, then my first warning about how '/opt/homebrew/bin is not in your PATH.'
==> Next steps:
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/emilycollins/.profile
eval "$(/opt/homebrew/bin/brew shellenv)"
https://docs.brew.sh
Ok, I'll look into that... but first it auto-updated, then said:
You have 15 outdated formulae installed.
/usr/local/Homebrew/Library/Homebrew/brew.rb:19:in
'fetch': key not found: "HOMEBREW_REQUIRED_RUBY_VERSION" (KeyError) Did you mean? "HOMEBREW_USER_AGENT_CURL" from /usr/local/Homebrew/Library/Homebrew/brew.rb:19:in
I figure those errors are related to the paths/directory and do first, so I tried copying each of the two individual lines up there it told me to run first, and it says nothing in response.
So, um.... what next? Do I need to update something? Am I missing some ridiculously simple command, such as needing to type 'run' or 'command' before those two 'next steps' lines up there? Those are all the things I can think of to fix, along with the false Rosetta thing... Sorry for the verbosity, was just trying to be thorough. Thank you for any help!
Beta Was this translation helpful? Give feedback.
All reactions