Closed beej closed 3 years ago
gnupg is the same formula as gnupg2. How did you manage to get the gnupg2 formula installed?
How did you manage to get the gnupg2 formula installed?
I don't know. As you can see, I've been using Homebrew for some time. I only use the brew
command seldomly, though, so don't remember what triggered the installation. I highly doubt I installed it manually.
Is there some log file I can check to answer your question?
I installed gnupg today, and it auto-upgraded Python 3.7 to 3.9. This broke all of the links for my virtual environments. Is this related?
No, that'll just be because the latest version of gnupg
depends on Python 3.9 rather than 3.7 - so an upgrade was required.
The virtual environment link issue is known, but not easily fixable (I recommend pyenv
for virtual environments). But for major updates like 3.7 -> 3.9, you should be reinstalling all pip
packages anyway since old installs will be incompatible, no matter how you install Python - there's a python@3.7
formula if you really need it though.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
How did you manage to get the gnupg2 formula installed?
Is there some log file I can check to answer your question?
I'd still love an answer
You could've had HOMEBREW_NO_INSTALL_CLEANUP
set at some point, which caused your old gnupg2
installs to not get cleaned up with brew {install,upgrade,cleanup}
. Then, because they were never cleaned up, the existing gnupg2
directories confused brew
after gnupg2
was renamed to gnupg
in https://github.com/Homebrew/homebrew-core/commit/71bc445f09a1278b891fcf00b50996eaa1d31294.
Just a guess though; who knows what happened there.
Apparently my commenting doesn't reopen this.
I don't see the option to reopen this manually in the iPhone app.
Are special bits needed to do it or am I just being more blind than usual?
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputbrew doctor
above contains no "Warning" lines.What were you trying to do (and why)?
I was trying to install byobu so that I could use it.
What happened (include all command output)?
What did you expect to happen?
The installation to have completed without Error.
FYI: There are warning lines from brew doctor and I'll address them after a required reboot, but it would have been troublesome to fill out this template again because I didn't get to that part until the end. Sorry.
Step-by-step reproduction instructions (by running
brew
commands)Install gnupg and gnupg2 versions in the order I did