I cannot reproduce this. What version of "dpkg" do you have installed?
# apt-get install -y flex Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: m4 Suggested packages: bison The following NEW packages will be installed: flex m4 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/522kB of archives. After this operation, 1671kB of additional disk space will be used. Selecting previously deselected package m4. (Reading database ... 12312 files and directories currently installed.) Unpacking m4 (from .../m/m4/m4_1.4.11-1_amd64.deb) ... Selecting previously deselected package flex. Unpacking flex (from .../flex_2.5.35-2ubuntu1_amd64.deb) ... Setting up m4 (1.4.11-1) ... Setting up flex (2.5.35-2ubuntu1) ... # ** Changed in: flex (Ubuntu) Status: New => Incomplete -- post-installation script error https://bugs.launchpad.net/bugs/305505 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs