Public bug reported:

command-not-found and python3-commandnotfound should generally be
updated at the same time, but cnf doesn't have a versioned dependency on
the python3 package.  If an older python3-commandnotfound is installed,
you get:

Sorry, command-not-found has crashed! Please file a bug report at:
Please include the following information with the report:

command-not-found version: 0.3
Python version: 3.6.4 final 0
Distributor ID: Ubuntu
Description:    Ubuntu Bionic Beaver (development branch)
Release:        18.04
Codename:       bionic
Exception information:

type object 'CommandNotFound' has no attribute 'CommandNotFound'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/", line 24, in 
  File "/usr/lib/command-not-found", line 89, in main
    cnf = CommandNotFound.CommandNotFound(options.data_dir)
AttributeError: type object 'CommandNotFound' has no attribute 'CommandNotFound'

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  command-not-found missing versioned dependency on

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to