[Bug 907685] [NEW] add-apt-repository --remove ppa:username/ppaname does not remove deb-src entry

Hiroshi Chonan chonan at pid0.org
Thu Dec 22 09:11:43 UTC 2011


Public bug reported:

Fixing bug 399711, we able to create both of 'deb' and 'deb-src' entry
into /etc/apt/sources.list.d/username-ppaname-oneiric.list .

However when trying to remove ppa repository using 'sudo add-apt-repository --remove ppa:username/ppaname',
add-apt-repository removes just 'deb' entry only and no touch with 'deb-src' line.

* output of 'lsb_release -rd'
Description:    Ubuntu 11.10
Release:        11.10

* output of 'apt-cache policy python-software-properties'
python-software-properties:
  Installed: 0.81.13.1
  Candidate: 0.81.13.1
  Version table:
 *** 0.81.13.1 0
        500 http://jp.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.81.10 0
        500 http://jp.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages

* expected to happen
When try to remove PPA repository which former appended using
$ sudo add-apt-repository --remove ppa:username/ppaname 
both of 'deb' and 'deb-src' line must be removed from /etc/apt/sources.list.d/username-ppaname-oneiric.list 
and it must became zero-length file or removed.

* what happened instead
'deb-src' line still remain in /etc/apt/sources.list.d/username-ppaname-oneiric.list .

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  add-apt-repository --remove ppa:username/ppaname does not remove deb-
  src entry

Status in “software-properties” package in Ubuntu:
  New

Bug description:
  Fixing bug 399711, we able to create both of 'deb' and 'deb-src' entry
  into /etc/apt/sources.list.d/username-ppaname-oneiric.list .

  However when trying to remove ppa repository using 'sudo add-apt-repository --remove ppa:username/ppaname',
  add-apt-repository removes just 'deb' entry only and no touch with 'deb-src' line.

  * output of 'lsb_release -rd'
  Description:    Ubuntu 11.10
  Release:        11.10

  * output of 'apt-cache policy python-software-properties'
  python-software-properties:
    Installed: 0.81.13.1
    Candidate: 0.81.13.1
    Version table:
   *** 0.81.13.1 0
          500 http://jp.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       0.81.10 0
          500 http://jp.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages

  * expected to happen
  When try to remove PPA repository which former appended using
  $ sudo add-apt-repository --remove ppa:username/ppaname 
  both of 'deb' and 'deb-src' line must be removed from /etc/apt/sources.list.d/username-ppaname-oneiric.list 
  and it must became zero-length file or removed.

  * what happened instead
  'deb-src' line still remain in /etc/apt/sources.list.d/username-ppaname-oneiric.list .

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/907685/+subscriptions




More information about the foundations-bugs mailing list