command-not-found version: 0.3 Python version: 3.6.3 final 0 Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic Exception information: [Errno 2] No such file or directory: '/usr/share/command-not-found/programs.d' 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(options.data_dir) File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 131, in __init__ for filename in os.listdir(os.path.sep.join([data_dir, self.programs_dir])): FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/command-not-found/programs.d'

Bug #1812782 reported by Shnakaranarayana Hebbar H S
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
command-not-found
New
Undecided
Unassigned

Bug Description

command-not-found version: 0.3
Python version: 3.6.3 final 0
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Exception information:

[Errno 2] No such file or directory: '/usr/share/command-not-found/programs.d'
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(options.data_dir)
  File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 131, in __init__
    for filename in os.listdir(os.path.sep.join([data_dir, self.programs_dir])):
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/command-not-found/programs.d'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.