A error occurred when I use some command apt in windows subsystem for linux like this :"Assertion `IN6_IS_ADDR_V4MAPPED (sin6->sin6_addr.s6_addr32)' failed".
I hope you that you haven't reinstall WSL or windows 10. Althougt I don't know why this happen, I suggest that you to disable IPv6 for linux or windows for most effectivitely. You can try one of the method of these:
1.To disable IPv6 for windows 10 in control panel(you can google how to do it). this operation will remove all ipv6 configurations, be careful!
2.To disable IPv6 for linux :(didn't work for WSL cause it do not have a linux kernel)
- Edit grub
sudo vi /etc/default/grub