I added MELPA stable and MELPA repositories with
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/"))
How can I remove one of them from the list so M-x package-list-packages
does not show duplicate packages? Also, how could I print the list to see if the entry is really gone?