Then perhaps a new option --ignore-invalid should be provided?

There are use cases for this, particularly when the list of package is
dynamically constructed. For example, when localizing packages, a most
general script could be:

locale="pt-br"
package="iceweasel-l10n-"
lang="pt"
apt-get install --ignore-invalid $package$locale $package$lang

for any reasonable choice of variables. The only working alternative,
currently, is:

for p in $package$locale $package$lang; do apt-get install $p; done

which is far less efficient.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/512190

Title:
  "apt-get --ignore-missing install" fails when it can't find a package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/512190/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to