From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pablo Wolter Newsgroups: gmane.emacs.help Subject: Re: Package installation broken in all repos with package unavailable Date: Thu, 10 Jun 2021 13:43:00 -0700 Message-ID: References: <874ke6qgrp.fsf@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10929"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 10 22:44:10 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrRX7-0002d3-Av for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Jun 2021 22:44:09 +0200 Original-Received: from localhost ([::1]:51730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrRX5-0005BW-TY for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Jun 2021 16:44:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrRWf-0005BN-9W for help-gnu-emacs@gnu.org; Thu, 10 Jun 2021 16:43:41 -0400 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:46783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrRWd-00011z-69 for help-gnu-emacs@gnu.org; Thu, 10 Jun 2021 16:43:41 -0400 Original-Received: by mail-lj1-x232.google.com with SMTP id e11so6661862ljn.13 for ; Thu, 10 Jun 2021 13:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=POxF1nmaLmlk8Scrp6gFaiKzkJVW53AXsF0HAgrfxK4=; b=WyP5z4Cwo14dlbdqaSgN2io7sq11qRvofJtMV5e51tBv584LV0pSIJ2oHjWhuCDnYL NAcNWfndIs9xMmYmmpuI+GO5dKaY3rD9q4AXM1fksNTYfgsNUlYS3kAkJ0+Lekk4RTt3 MIfEA4FE5ueMNJQp5LesB0dUL9I0ijmWemrbPkwYt7PQcr0Skej3m9xEg8ledUD0XDu4 /UzsDW5Y3zFd+WOuXnVdx2cw+p1aVhrJEho//Fi/3PDY8lQdxNaTq5Wfl50HQ2S50U5G 08EcLc8/LbclIvzKuFs2vgOZZ4aoJLWJcRpP1fY991DpfxRZIYD3lBWUEiLOdlDnHZ4T yiRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=POxF1nmaLmlk8Scrp6gFaiKzkJVW53AXsF0HAgrfxK4=; b=LS11g3kgYdUUW6vqxEAo0LvNbaA+um5sGuJd48PitqHTC1cLrjS2DMDudbPJcj5jil +/DotzahLJ9USA4RGxvTEjUxf4CabN42msnDZATqzwsJHMc5mschlsoOlNAkybxZF3vJ Sk6G+x1BvbH3olYurMBvw8WogpG1MHyqfLGX3Y+ainYRqkTBdHvvm68fwJnxRBmcSGOW nPT0Rue8xiTsGf/sgsuJ9UOgvA2Vqq9MKyY1TsYjbEdBrMxocBj3/g858HYA46/sTB3p eW6AIcOetw4wIKe12bA0o6ZIjgaEE175drrSEboAS9QEWNPqv+kxlkYSs4QmDaDoe/xp EZww== X-Gm-Message-State: AOAM533FPqrxvr5TR4eNG+eUk74eZT0WF5trQ+pqtVExdpFSmc9RwCvS HU2BonYQsjcDdEvAMphcA8ceLkzGv8m+j6vufp8= X-Google-Smtp-Source: ABdhPJz+1+IQQlHBmr4UI1WkjxwPoO43OKJXPnez3hMoa5+usnJM0XUHFgXFS7HBenUjPVBvspqDhbu5+HRjPugvtsE= X-Received: by 2002:a2e:9d47:: with SMTP id y7mr302544ljj.293.1623357817212; Thu, 10 Jun 2021 13:43:37 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=pwolter@gmail.com; helo=mail-lj1-x232.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130725 Archived-At: I have refactored my confit file using (use package blah blah ... ) and it is working now, except some packages that it couldn't find (themes that I installed manually (?) maybe). Thanks! Pablo. On Thu, Jun 10, 2021 at 09:50 Pablo Wolter wrote: > I am having the same results with (add-to-list 'package-archives > '("melpa" . "https://melpa.org/packages/")) > > So I don't know what is wrong ... if I remove it completely how I should > do it? > > Thsi is the reevant part of my .emacs.d/init.el: > > ;; .emacs.d/init.el > ;; Enables basic packaging support > > (require 'package) > > ;; Adds the Melpa archive to the list of available repositories > (add-to-list 'package-archives '( > ("melpa" . "http://melpa.milkbox.net/packages/") > ("org" . "http://orgmode.org/elpa/") > ("elpa" . "http://elpa.gnu.org/packages/"))) > > ;; Initializes the package infrastructure > (package-initialize) > > ;; If there are no archived package contents, refresh them > (when (not package-archive-contents) > (package-refresh-contents)) > > (package-refresh-contents) > > ;; Installs packages > ;; myPackages contains a list of package names > (defvar myPackages > '( > tron-legacy-theme ;; Tron legacy theme > elpy ;; Emacs List Python Environment > flycheck ;; On the fly sintax check > blacken ;; Black formatting on save > ein ;; Emacs IPython Notebook > magit ;; Git integration > markdown-mode ;; Markdown mode suport > better-defaults ;; Set up some better Emacs defaults > counsel ;; Ivy, swiper and counsel > doom-modeline ;; Doom modeline-mode > which-key ;; Options for keys > ;; The following packages are now failing to install, the ones above > this line installed ok some days ago > rainbow-delimiters ;; Rainbow delimiters > ivy-rich ;; Ivy rich > helpful ;; Helpful (?) > projectile ;; project managment > ) > ) > > ;; Scans the list in myPackages > ;; If the package listed is not already installed, install it > (mapc #'(lambda (package) > (unless (package-installed-p package) > (package-install package))) > myPackages) > > > *Saludos,* > > > > *Pablo Wolterpwolter@gmail.com * > > > On Thu, Jun 10, 2021 at 6:58 AM Stefan Monnier via Users list for the GNU > Emacs text editor wrote: > >> >> (setq package-archives '(("ELPA" . "http://tromey.com/elpa/") >> >> ("gnu" . "http://elpa.gnu.org/packages/") >> >> ("melpa" . " >> http://melpa.milkbox.net/packages/")) >> >> t) >> > >> > MELPA's address is "https://melpa.org/packages/" now and, if i'm not >> > mistaken, >> >> And Tom Tromey's archive is not in use any more. >> >> > GNU ELPA requires https to be used (at least that's the >> > default with an empty init file). >> >> No, the `http` address is fine (and shouldn't suffer from the TLS >> version problems alluded to by someone else). >> >> OTOH, the above setting overrides the default, so it hides the new >> NonGNU archive that is enabled by default in Emacs-28. >> >> IOW either don't change `package-archives` at all, or use something like: >> >> (add-to-list 'package-archives '("melpa" . " >> https://melpa.org/packages/")) >> >> which will still give you the "gnu" archive, since it's enabled there by >> default. >> >> >> -- Stefan >> >> >>