apt-get --force-yes should try harder

Bug #598580 reported by RichardNeill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: apt

If I run
    apt-get --force-yes install pkg1 pkg2 pkg3 pkg4 .... pkg150
and there is something wrong with pkg73
  (eg "there is no installation candidate")

then I expect apt to try hard, and succeed in installing 149 of my packages, leaving just the one error.
Instead, it bails completely, installing none of them!

IMHO "--force-yes" means "Do exactly what I say, and if there's a problem, ignore it, and *keep going*".

The workaround is gruesome and really slow:
  for pkg in pkg1 pgk2 ....pgk150; do apt-get --force-yes install $pkg; done

This is important, because an automated install could have something critical (eg openssh-server) fail to be installed because of something trivial.

Revision history for this message
Julian Andres Klode (juliank) wrote :

OK. Should probably work.

Changed in apt (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.