Comment 24 for bug 893842

Doug McMahon (mc3man) wrote :

As far as the new command-not-found - in a current 12.04 install still not working with the upgrade. Tried a purge & install, same thing, still getting the 'ask administrator ...'
(maybe all would be well of a new image that has the upgraded package?

So went ahead & edited the script simply changing the order, ie. -- lines 118-119

 try:
            self.user_can_sudo = grp.getgrnam("sudo")[2] in posix.getgroups() or grp.getgrnam("admin")[2] in posix.getgroups()

Then works as expected, attached terminal progression to show