It happened for my in an upgrade from 14.10 to 15.04. Adding the ending comment "### END INIT INFO " fixed the issue.
So that this: ### BEGIN INIT INFO # Provides: virtuoso # Required-Start: $syslog # Required-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start Virtuoso database server on startup # Description: Start and stop the primary instance of Virtuoso running # in /var/lib/virtuoso/db/. The first time this runs, it loads the # Conductor administrative package. ### Becomes this: ### BEGIN INIT INFO # Provides: virtuoso # Required-Start: $syslog # Required-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start Virtuoso database server on startup # Description: Start and stop the primary instance of Virtuoso running # in /var/lib/virtuoso/db/. The first time this runs, it loads the # Conductor administrative package. ### END INIT INFO -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1389320 Title: Ubuntu 12.04 to 14.04 upgrade fails - missing LSB comment in virtuoso- nepomuk To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1389320/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs