You have to recreate the file /etc/lsb-release This file should pre-exist by default for some packages and commands.
For ubuntu precise 12.04:
gksu gedit /etc/lsb-release
and enter this text:
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
Save and exit.
You have to recreate the file /etc/lsb-release
This file should pre-exist by default for some packages and commands.
For ubuntu precise 12.04:
gksu gedit /etc/lsb-release
and enter this text:
DISTRIB_ID=Ubuntu RELEASE= 12.04 CODENAME= precise DESCRIPTION= "Ubuntu 12.04 LTS"
DISTRIB_
DISTRIB_
DISTRIB_
Save and exit.