[Bug 1505792] Re: command-not-found breaks on inaccessible sources.list.d file
Rolf Leggewie
1505792 at bugs.launchpad.net
Mon Oct 19 11:56:31 UTC 2015
I found now that the correct way to do this is to specify only the URL
in the sources.list file and the credentials in /etc/apt/auth.conf. The
latter can be set to readable only by root without any problem.
configuration mistake -> invalid
** Changed in: command-not-found (Ubuntu)
Status: New => Invalid
--
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:
Invalid
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