See this issue https://github.com/melpa/melpa/issues/8632 and the comment https://github.com/melpa/melpa/issues/8632#issuecomment-1627545163. This will prevent Emacs from installing any packages!