I ran into the same problem. I guess the install-info program (which was already updated at that point) needs a new parameter (dir file), which is not in the old gcc-doc.prerm script:
% LC_ALL=C sudo bash -x /var/lib/dpkg/info/gcc-doc.prerm + install-info --quiet --remove gcc install-info: No dir file specified; try --help for more information. + install-info --quiet --remove gccint install-info: No dir file specified; try --help for more information. + exit 0 I removed that script manually: sudo mv /var/lib/dpkg/info/gcc-doc.prerm /tmp and then "sudo apt install gcc-doc" worked again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577192 Title: package gcc-doc 4:4.8.2-1ubuntu6 failed to install/upgrade: there is no script in the new version of the package - giving up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1577192/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
