Reputation: 104
I've tried to install nasm using: sudo apt-get install nasm, but I got the following output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gcc-4.8-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed
libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.19-0ubuntu6) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I don't know what goes wrong here as I new with Ubuntu/Linux OS
Upvotes: 0
Views: 5495
Reputation: 77029
Your package manager has noticed that some of your packages, even though they're installed, have prerequisites that aren't. This seems to be the reason nasm
is not working.
This happens sometimes. Luckily, you can instruct apt-get
to automatically fetch and install the missing dependencies:
sudo apt-get -f install
The sudo
prefix will run the command as the root
user, giving it the elevated permissions it needs to install software. You can think of sudo
as "Super User DO", or "Switch User and DO".
Upvotes: 1