[Bug 1505792] [NEW] command-not-found breaks on inaccessible sources.list.d file

Rolf Leggewie 1505792 at bugs.launchpad.net
Tue Oct 13 19:21:46 UTC 2015


Public bug reported:

I have a file /etc/apt/sources.list.d/private.list which is only
accessible to root since it contains a user/PW for a private repo.
command-not-found no longer works after adding this file.  My suggestion
is for command-not-found to simply ignore sources.list files it cannot
read.

$ synapse
WARNING:root:could not open file '/etc/apt/sources.list.d/private.list'

synapse: command not found

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


** Tags: trusty

-- 
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/1505792

Title:
  command-not-found breaks on inaccessible sources.list.d file

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

Bug description:
  I have a file /etc/apt/sources.list.d/private.list which is only
  accessible to root since it contains a user/PW for a private repo.
  command-not-found no longer works after adding this file.  My
  suggestion is for command-not-found to simply ignore sources.list
  files it cannot read.

  $ synapse
  WARNING:root:could not open file '/etc/apt/sources.list.d/private.list'

  synapse: command not found

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



More information about the foundations-bugs mailing list