[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#132632: dpkg: update-alternatives still not right, I think

Previously itz@speakeasy.org wrote:
> Shouldn't "update-alternatives --remove" do its work when the package
> providing the currently selected alternative is being removed, even if
> the alternative is in manual mode?  It could select the highest-priority
> remaining alternative and switch back to auto mode.

It should already do that, with this bit of code:

} elsif ($state eq 'nonexistent') {
    if ($manual eq 'manual') {
        &pr("$altdir/$name has been deleted, returning to automatic selection.")
          if $verbosemode > 0;
        $manual= 'auto';

does that not work for you?


 /wichert@wiggy.net         This space intentionally left occupied \
| wichert@deephackmode.org            http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

Reply to: