With the package from proposed the option "FORCE_ADD_APT_REPOSITORY=1" is works
perfeclty for me.
There is no prompt, that's why it could be used in old scripts.
Verification successfully.
** Description changed:
TEST CASE:
- 1. run add-apt-repository ppa:mvo
+ 1. run: sudo 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
+ 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.
** Changed in: software-properties (Ubuntu Oneiric)
Importance: Undecided => Medium
** Changed in: software-properties (Ubuntu)
Importance: Undecided => Medium
** Changed in: software-properties (Ubuntu Oneiric)
Assignee: (unassigned) => Bartosz Kosiorek (gang65)
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/890708
Title:
add-apt-repository: confirmation question is a CLI UI regression,
breaking scripts
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/890708/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs