-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed as duplicate of#9966
casbin-rs/sqlx-adapter
#87Labels
Area: Common ToolsArea: PythonOS: macOSbugSomething isn't workingSomething isn't workingbug reportduplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Description
If one has on a job:
brew update
brew upgrade
the job fails with error:
==> Upgrading python@3.10
3.10.8 -> 3.10.9
==> Pouring python@3.10--3.10.9.big_sur.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
rm '/usr/local/bin/2to3'
To force the link and overwrite all conflicting files:
brew link --overwrite python@3.10
To list all files that would be deleted:
brew link --overwrite --dry-run python@3.10
Possible conflicting files are:
/usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/2to3
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/idle3
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/pydoc3
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3-config
This is similar to old issues:
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 18.04
- Ubuntu 20.04
- Ubuntu 22.04
- macOS 11
- macOS 12
- Windows Server 2019
- Windows Server 2022
Image version and build link
Image Version: 20221215.1
Link: https://github.com/traversaro/github-actions-brew-update-upgrade-check/actions/runs/3742142787
Is it regression?
20221211.1
Expected behavior
The brew upgrade
should exit fine.
Actual behavior
The brew upgrade
fails with the error message in the top of the issue.
Repro steps
FrancescoBorzi, igagis, memegauste, complexlogic, ChrisThrasher and 7 more
Metadata
Metadata
Assignees
Labels
Area: Common ToolsArea: PythonOS: macOSbugSomething isn't workingSomething isn't workingbug reportduplicateThis issue or pull request already existsThis issue or pull request already exists