While installing CUDA on Ubuntu, I ran the following command in the terminal:
sudo sh -c 'echo "foreign-architecture armhf" >> /etc/dpkg/dpkg.cfg.d/multiarch'
The command failed and when I do sudo apt-get update, it gives me a whole bunch of failed to fetcherrors. My CUDA installation however, succeeded. How can I revert it back, so that I don't get errors when I update?
In my case,
sudo dpkg --remove-architecture armhf
If you have annoying dpkg: error: cannot remove architecture 'armhf' currently in use by the database, consider remove armhf packages which you'll get from dpkg -l | grep armhf command
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With