[Bug 890708] Re: add-apt-repository: confirmation question is a CLI UI regression, breaking scripts
Doug McMahon
890708 at bugs.launchpad.net
Wed Dec 7 18:09:44 UTC 2011
Well it works as intended now as long as you use the 'Force...'option, though that doesn't seem to be the intent of the orig. reporter, I *think* he was requesting the removal of the prompt altogether.
Either way the Test Case doesn't make much sense, 1 & 4 should be reversed or 4 should be the same as 1 if bug was on removing prompt by default
--
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