[Bug 889406] [NEW] apt-add-repository --remove does not remove deb-src line

Thomas Mashos 889406 at bugs.launchpad.net
Sat Nov 12 08:01:44 UTC 2011


Public bug reported:

When using apt-add-repository --remove, it does not remove the deb-src
line, only the deb line. I would expect it to remove both deb and deb-
src as when running apt-add-repository it adds both of the lines, so
--remove should remove both lines.

Steps to reproduce.
1) apt-add-repository ppa:mythbuntu/0.25
2) apt-add-repository --remove ppa:mythbuntu/0.25

Expected result: repository .list file contains nothing (or file is
completely removed)

Actual result: repository .list file contains
deb-src http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/889406

Title:
  apt-add-repository --remove does not remove deb-src line

Status in “apt” package in Ubuntu:
  New

Bug description:
  When using apt-add-repository --remove, it does not remove the deb-src
  line, only the deb line. I would expect it to remove both deb and deb-
  src as when running apt-add-repository it adds both of the lines, so
  --remove should remove both lines.

  Steps to reproduce.
  1) apt-add-repository ppa:mythbuntu/0.25
  2) apt-add-repository --remove ppa:mythbuntu/0.25

  Expected result: repository .list file contains nothing (or file is
  completely removed)

  Actual result: repository .list file contains
  deb-src http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/889406/+subscriptions




More information about the foundations-bugs mailing list