Thanks for that hint! That seems to be the cause of Jerome's segfault, too, namely the file /etc/apt/preferences.d/99my-custom-repository:
Ah, I completely missed Jerome's attached logfile, but yes now I see. Happy to be of service, I really had no idea it was the same, hehe :) Thank you as well! Gert