[Bug 890708] Re: add-apt-repository: confirmation question is a CLI UI regression, breaking scripts
Launchpad Bug Tracker
890708 at bugs.launchpad.net
Thu Jan 26 08:33:28 UTC 2012
This bug was fixed in the package software-properties - 0.81.13.2
---------------
software-properties (0.81.13.2) oneiric-proposed; urgency=low
* add-apt-repository:
- honor FORCE_ADD_APT_REPOSITORY (LP: #890708)
-- Michael Vogt <michael.vogt at ubuntu.com> Wed, 30 Nov 2011 09:46:12 +0100
** Changed in: software-properties (Ubuntu Oneiric)
Status: Fix Committed => Fix Released
--
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/890708
Title:
add-apt-repository: confirmation question is a CLI UI regression,
breaking scripts
Status in “software-properties” package in Ubuntu:
Fix Released
Status in “software-properties” source package in Oneiric:
Fix Released
Bug description:
TEST CASE:
1. run: sudo add-apt-repository ppa:mvo
2. verify that it prompts
3. install software-properties from oneiric-proposed
4. run: sudo FORCE_ADD_APT_REPOSITORY=1 add-apt-repository ppa:mvo
5. verify that it does *not* prompt
The addition in oneiric of a confirmation question as the default
behavior for add-apt-repository is a change in behavior which breaks
all scripts that were using add-apt-repository and most every code
snippet on the web which explains how to install software from a PPA.
(the instructions still work in sequence, but if someone wants to just
highlight three lines which add the repo, run update, and then install
the package, the second two get eaten by the prompt) Additionally,
although there is a new -y option which enables the old behavior, this
option did not exist in pre-oneiric, it becomes quite klunky to write
system automation scripts which work across releases.
It seems that this causes many more problems than it solves, imho.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/890708/+subscriptions
More information about the foundations-bugs
mailing list