• Arturo Borrero Gonzalez's avatar
    iptables.prerm: change cleanup order · 8f93912e
    Arturo Borrero Gonzalez authored
    
    
    Deal first with update-alternatives, then do the symlink cleanup.
    
    This avoids errors like this:
    
    Removing iptables (1.8.2-2) ...
    update-alternatives: warning: forcing reinstallation of alternative
     /usr/sbin/iptables-nft because link group iptables is broken
    update-alternatives: warning: forcing reinstallation of alternative
     /usr/sbin/ip6tables-nft because link group ip6tables is broken
    Signed-off-by: default avatarArturo Borrero Gonzalez <arturo@debian.org>
    8f93912e
iptables.prerm 798 Bytes