Debian would just not run due to apt repositories being borked if ipv6 was turned on.
i was struck by an issue in this area a few years ago and i think it was fixed by tuning gai.conf to prefer v4 because there were some repo servers that had broken v6
edit: but this was quite a few years ago, from grepping my IRC logs, somewhere around 2016!