Have started seeing this error after I installed a new version of Emacs. My package code in init file is
(require 'package) (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("melpa" . "http://melpa.org/packages/"))) (package-initialize)
This also fails if I use https. What do I need to do to fix this?