If dpkg offers to put the deb line in for the user, it should make the
instruction in the README about where to put the line redundant. But
because apt does not behave as expected, even with the file in
/etc/apt/sources.list.d and a proper /etc/apt/preferences file, I am
inclined to believe that this may be a different bug. Bug 248787 can be
attributed to user error for not following the README. The combination
of the deb line at the top of the sources.list and the
/etc/apt/preferences file provided in the other bug report (which is
slightly different from the README version) works as expected. I will
test later if the /etc/apt/preferences file and an apt-
build.sources.list file in /etc/apt/sources.list, with the deb line in
sources.list commented out, works as expected. If it does not, then
putting an apt-build file in /etc/apt/sources.list.d is a pointless
behavior as the deb line is still required in sources.list per the
README, and would merit a new bug.

-- 
dpkg incorrectly setting up entry in /etc/apt/sources.list.d
https://bugs.launchpad.net/bugs/249076
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to