[Bug 890708] Re: add-apt-repository: confirmation question is a CLI UI regression, breaking scripts
Launchpad Bug Tracker
890708 at bugs.launchpad.net
Mon Dec 5 07:15:26 UTC 2011
** Branch linked: lp:ubuntu/oneiric-proposed/software-properties
--
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 Committed
Bug description:
TEST CASE:
1. run add-apt-repository ppa:mvo
2. verify that it prompts
3. install software-properties from lucid-proposed
4. run 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