Created
July 24, 2017 06:21
-
-
Save douglasmiranda/e5bd76d0b85a95f74b38b94528c52910 to your computer and use it in GitHub Desktop.
Fix: dpkg: error: cannot remove architecture X currently in use by the database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You try: | |
sudo dpkg --remove-architecture armhf | |
# and get: | |
# dpkg: error: cannot remove architecture 'armhf' currently in use by the database | |
# So you have to remove the armhf packages installed to be able to `dpkg --remove-architecture armhf` | |
apt-get remove --purge `dpkg --get-selections | grep armhf | awk '{print $1}'` | |
# Then: | |
sudo dpkg --remove-architecture armhf | |
# SUCCESS!!! | |
# https://unix.stackexchange.com/questions/295241/dpkg-error-cannot-remove-architecture-i386-currently-in-use-by-the-database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks 🙏