https://github.com/chmod77/hacks
https://github.com/chmod77/hacks
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chmod77/hacks
- Owner: chmod77
- Created: 2022-04-04T09:13:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-26T18:17:25.000Z (about 4 years ago)
- Last Synced: 2025-06-01T23:10:24.163Z (about 1 year ago)
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hacks
## 1. Multiple github accounts on Mac with osxkeychain
git config --global credential.github.com.helper osxkeychain
git config --global credential.github.com.useHttpPath true
## 2. Error Upgrading Ubuntu 20.04 + Python 3.10
Error:
The following packages have unmet dependencies:
libpython3.10 : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
libpython3.10-dev : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
python3.10 : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
python3.10-minimal : Depends: libpython3.10-minimal (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)
Solution:
sudo dpkg --force-all --remove libpython3.10-stdlib libpython3.10-minimal
That forces the two colliding packages to uninstall, even though others depend on them.
sudo apt-get install libpython3.10-stdlib libpython3.10-minimal