apt-get --force-yes should try harder
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.
OK. Should probably work.