[Solved] ROSbot2 Pro - apt upgrade - old husarnet package post-removal script subprocess returned error

Hi,

I have an interesting apt upgrade issue with husarnet package.

On performing $ sudo apt upgrade, all packages unpack except for:

Preparing to unpack .../158-husarnet_2021.10.11.2_amd64.deb ...
Unpacking husarnet (2021.10.11.2) over (2021.09.23.1) ...
ip6tables: Bad rule (does a matching rule exist in that chain?).
dpkg: warning: old husarnet package post-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
ip6tables: Bad rule (does a matching rule exist in that chain?).
dpkg: error processing archive /tmp/apt-dpkg-install-QW6CpG/158-husarnet_2021.10.11.2_amd64.deb (--unpack):
 new husarnet package post-removal script subprocess returned error exit status 1
ip6tables: Bad rule (does a matching rule exist in that chain?).
dpkg: error while cleaning up:
 new husarnet package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 /tmp/apt-dpkg-install-QW6CpG/158-husarnet_2021.10.11.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Is there a simple way to fix this? Much appreciated, thank you.

Best regards,
Jon.

Hi Jon,
This should help Let’s Encrypt root cert update issue - Husarnet.

Best regards,
Karol Konkol
Husarion Team

Hi Karol,
Thank you for prompt reply, I will try the fix according to the link you provided.
Best regards,
Jon.

Hi,

I can confirm that the fix was to manually remove the files and reinstall as per the guide.

Thank you,
Jon.