[add-apt-repository] The option -r, --remove does not work in LM17 x64

Bug #1341617 reported by Tomás F. L.
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Linux Mint
Fix Released
Undecided
Unassigned

Bug Description

Linux Mint 17 Quiana x64 (ISO v2)

Like root:
add-apt-repository ppa:peterlevi/ppa
Está a punto de añadir el siguiente PPA a su sistema:
 Contains packages for the Variety wallpaper changer
http://launchpad.net/variety
 Más información: https://launchpad.net/~peterlevi/+archive/ubuntu/ppa
Pulse [Intro] para continuar o ctrl-c para cancelar

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.gWrVlHfR2A --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A546BE4F
gpg: solicitando clave A546BE4F de hkp servidor keyserver.ubuntu.com
gpg: clave A546BE4F: «Launchpad PPA for Peter Levi» sin cambios
gpg: Cantidad total procesada: 1
gpg: sin cambios: 1

add-apt-repository --remove ppa:peterlevi/ppa
Usage: add-apt-repository [options] repository
add-apt-repository: error: no such option: --remove

add-apt-repository -r ppa:peterlevi/ppa
Usage: add-apt-repository [options] repository
add-apt-repository: error: no such option: -r

From the man:
-r, --remove Remove the specified repository

Tags: mintsources
Revision history for this message
Justin Luth (jluth) wrote :
Revision history for this message
Justin Luth (jluth) wrote :

Most of the code was lifted from the earlier functions. I was hoping I could use the functions themselves, but they seem to be tied to the GUI interface.

Revision history for this message
Justin Luth (jluth) wrote :

The "-r" option should be added to both of my modules (not just --remove) and the 14.04 matching description should be "Remove the specified repository"

The Mint team wrote their own wrapper that only implements the -y/--yes option. I've only added the --remove option, which is the one I need.

Justin Luth (jluth)
Changed in linuxmint:
status: New → Confirmed
Revision history for this message
Helvecta (helvecta-mint) wrote :

I, too, am affected by this issue.

Revision history for this message
Ivo (ivica-babarovic) wrote :

Same here. Manual page should also be moved to appropriate package. Now we have manual in one package:
 dpkg -S /usr/share/man/man1/add-apt-repository.1.gz
software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz

While program resides in another:
 # dpkg -S `which add-apt-repository`
mintsources: /usr/local/bin/add-apt-repository

Vlad Orlov (monsta)
tags: added: mintsources
Revision history for this message
Timo Palomaa (timppis) wrote :
Revision history for this message
Oliver R. (oliverr) wrote :

I'm also affected. Is this being worked on?

Revision history for this message
Timo Palomaa (timppis) wrote :
Changed in linuxmint:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.