#786527 apt: edit-sources does not honour /etc/apt/sources.list.d/

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Martin Zobel-Helas
Date:
2015-07-07 23:51:10 UTC
Severity:
normal
#786527#5
Date:
2015-05-22 15:17:13 UTC
From:
To:
Hi,

root@kvasir:/etc/apt# ls -al sources.list
ls: cannot access sources.list: No such file or directory
root@kvasir:/etc/apt# ls -al sources.list.d/
total 28
drwxr-xr-x 2 root root 4096 May 19 08:22 .
drwxr-xr-x 6 root root 4096 May 22 15:09 ..
-rw-r--r-- 1 root root  142 May  1 12:37 experimental.list
-rw-r--r-- 1 root root   57 May 19 08:22 multimedia.list
-rw-r--r-- 1 root root  101 May  1 12:37 snapshot.list
-rw-r--r-- 1 root root  134 May 18 13:42 unstable.list

If I run apt edit-sources now it creates a new emtpy
/etc/apt/sources.list. I am not able to choose any of the above listed
correctly working sources-lists to edit them.

Cheers,
Martin
-- Package-specific info:

#786527#10
Date:
2015-07-07 23:23:11 UTC
From:
To:
Hi, Martin.

Try
apt edit-sources experimental.list
it works.

It can be a good idea to create an bash auto-complete config for this,
but I am
not so good in scripting :(

Best regards,
Dmitri

#786527#15
Date:
2015-07-07 23:20:39 UTC
From:
To:
Hi, Martin.

Try
apt edit-sources experimental.list
it works.

It can be a good idea to create an bash autocomplete config for this, but I am
not so good in scripting :(

Best regards,
Dmitri