Si votre distribution est Ubuntu Lucid.
Teste ça :
Ouvrez un terminal,
Appuyez sur Ctrl + Alt + T
Exécutez-le :
sudo -i
nano /etc/apt/sources.list
Dans le fichier ouvert, supprimez le contenu et collez ceci :
## Uncomment the following two lines to fetch updated software from the network
deb http://old-releases.ubuntu.com/ubuntu lucid main restricted
deb-src http://old-releases.ubuntu.com/ubuntu lucid main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://old-releases.ubuntu.com/ubuntu lucid-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu lucid-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://old-releases.ubuntu.com/ubuntu lucid universe
deb-src http://old-releases.ubuntu.com/ubuntu lucid universe
deb http://old-releases.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://old-releases.ubuntu.com/ubuntu lucid-security main restricted
deb http://old-releases.ubuntu.com/ubuntu lucid-security universe
deb-src http://old-releases.ubuntu.com/ubuntu lucid-security universe
deb http://old-releases.ubuntu.com/ubuntu lucid multiverse
deb-src http://old-releases.ubuntu.com/ubuntu lucid multiverse
deb http://old-releases.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
Ctrl + O , enregistrer le fichier. Ctrl + X , fermer nano.
Continuer l'exécution dans un terminal :
sudo -i
apt-get update
apt-get dist-upgrade
apt-get install flex bison
apt-get clean
Si votre distribution n'est pas Ubuntu Lucid, changez Lucid pour le nom approprié.
Si rien de tout cela ne fonctionne
Télécharger les paquets (Lucid) :
http://mirrors.kernel.org/ubuntu/pool/main/b/bison/bison_2.4.1.dfsg-3_i386.deb (32 bits) http://mirrors.kernel.org/ubuntu/pool/main/b/bison/bison_2.4.1.dfsg-3_amd64.deb (64 bit) http://mirrors.kernel.org/ubuntu/pool/main/f/flex/flex_2.5.35-9_i386.deb (32 bits) http://mirrors.kernel.org/ubuntu/pool/main/f/flex/flex_2.5.35-9_amd64.deb (64 bit)
Et les installer avec :
sudo -i
cd /home/user/Downloads
dpkg -i *.deb