[Bug 1753858] [NEW] command-not-found missing versioned dependency on python3-commandnotfound

Steve Langasek steve.langasek at canonical.com
Wed Mar 7 00:40:16 UTC 2018


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:
https://bugs.launchpad.net/command-not-found/+filebug
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/util.py", line 24, in crash_guard
    callback()
  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
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1753858

Title:
  command-not-found missing versioned dependency on
  python3-commandnotfound

Status in command-not-found package in Ubuntu:
  New

Bug description:
  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:
  https://bugs.launchpad.net/command-not-found/+filebug
  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/util.py", line 24, in crash_guard
      callback()
    File "/usr/lib/command-not-found", line 89, in main
      cnf = CommandNotFound.CommandNotFound(options.data_dir)
  AttributeError: type object 'CommandNotFound' has no attribute 'CommandNotFound'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1753858/+subscriptions



More information about the foundations-bugs mailing list