I tried to install flex
and yacc
on my Ubuntu machine.
sudo apt-get install byacc flex
I get this error:
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: flex : Depends: m4 Depends: libfl-dev (= 2.5.35-10ubuntu3) but it is not going to be installed virtualbox-4.2:i386 : Depends: libpython2.7:i386 (>= 2.7) but it is not going to be installed Depends: libxml2:i386 (>= 2.7.4) but it is not going to be installed Depends: psmisc:i386 but it is not going to be installed Recommends: libsdl-ttf2.0-0:i386 but it is not going to be installed Recommends: dkms:i386 but it is not installable Recommends: linux-headers:i386 Recommends: gcc:i386 but it is not going to be installed Recommends: make:i386 but it is not going to be installed Recommends: binutils:i386 but it is not going to be installed Recommends: pdf-viewer:i386 Recommends: python-central:i386 but it is not installable E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Why am I not able to install any software packages using apt-get
command.