GNU bug report logs - #36637
Package buffer should show where (which archive) a package is installed from

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Stefan Kangas <stefan@HIDDEN>; merged with #27601, #36982, #58380; dated Sat, 13 Jul 2019 12:15:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 27601 36637 36982 58380. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 36637 <at> debbugs.gnu.org:


Received: (at 36637) by debbugs.gnu.org; 24 Aug 2021 14:33:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 24 10:33:49 2021
Received: from localhost ([127.0.0.1]:44965 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mIXUn-0002uP-Db
	for submit <at> debbugs.gnu.org; Tue, 24 Aug 2021 10:33:49 -0400
Received: from mail-pg1-f174.google.com ([209.85.215.174]:37630)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>)
 id 1mIXUi-0002u7-9L; Tue, 24 Aug 2021 10:33:44 -0400
Received: by mail-pg1-f174.google.com with SMTP id 17so19949676pgp.4;
 Tue, 24 Aug 2021 07:33:40 -0700 (PDT)
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=w1xY6u3g5kmInkYdbajdj1/UJqpl4EyL1SLnf66YHTM=;
 b=UhOXoR1VuYcUM5tj1A+h7nD8Bqcr6N9Q4rD2N+g0U918G6FtJFHG9MRBRrB3Hxx4bI
 Wtb2epQ1Ns43lQXNm8y9EMi5XCtFT0oUKR+1paCES7iTaNdfiIhnLqRoxoonMTpzg8EK
 4kYFlpT3vb9lH7tyAoq+hdczWLPcmeKeNh8AJ6hwQfkFDjgnBDjZQOp0v96rgy03yXtj
 cw5l2MRzZLtmL5kB+yXnZF8nkJ+kc/5FUygrPjp3vXeMGppA9WTFnUEuxd9rdDkWts9Z
 9KcU/uhI2vrGksZ0aHHHmS6+GnBNBsZxphQcPvKc/Vva5B1gBV4RYO06z5k03YG2/Cok
 HdTw==
X-Gm-Message-State: AOAM533NQgv7QSanA8DtjghvoXaiVjuVC8u22hpN+F84I3lTQU03yfkG
 Cq3cHKTdqYegm9YKiMJrRayMAYlnJGiuCgYrqy4s2gho/Dw=
X-Google-Smtp-Source: ABdhPJyqFMG24gsEQ4qaYYwJ18RpmPnRFxrALG8nxdc0fAhxFYMTJq74V4YvLqQe2ah921lMos2XjHlBceP1Qj+Q6Sk=
X-Received: by 2002:a05:6a00:aca:b029:392:9c79:3a39 with SMTP id
 c10-20020a056a000acab02903929c793a39mr39355574pfl.57.1629815614571; Tue, 24
 Aug 2021 07:33:34 -0700 (PDT)
MIME-Version: 1.0
References: <CADwFkmma1W6DBy2DgYE++jg5WeZQ_BgCRMz2wH2Uqzy+deEQtw@HIDDEN>
 <8735rgqbfa.fsf@HIDDEN>
In-Reply-To: <8735rgqbfa.fsf@HIDDEN>
From: Stefan Kangas <stefan@HIDDEN>
Date: Tue, 24 Aug 2021 16:33:23 +0200
Message-ID: <CADwFkmmO0EsBpzCS8OjsFN_onSPyu_o23p3Q-_pEiyQ+BLD2sQ@HIDDEN>
Subject: Re: bug#27601: 25.2; Repository is not shown in the *Packages* buffer
 for installed packages
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 36637
Cc: 27601 <at> debbugs.gnu.org, 36637 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> I guess the problem here is that we apparently don't save the archive in
> `package-alist' when packages are installed?  Is there any particular
> reason for that?

Yes, this is basically the problem.  AFAICT, there is no particular
reason for this, so it should mostly just be a matter of implementing
it.

I didn't consider recording it in package-alist, but I suppose it
could make sense.  I'd hope we can find a clean and preferably
backwards-compatible way of doing it.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#36637; Package emacs. Full text available.

Message received at 36637 <at> debbugs.gnu.org:


Received: (at 36637) by debbugs.gnu.org; 11 Aug 2021 14:54:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 11 10:54:48 2021
Received: from localhost ([127.0.0.1]:36299 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mDpd2-0001Nt-Ed
	for submit <at> debbugs.gnu.org; Wed, 11 Aug 2021 10:54:48 -0400
Received: from quimby.gnus.org ([95.216.78.240]:59076)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>)
 id 1mDpcz-0001NY-P9; Wed, 11 Aug 2021 10:54:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=uubzDef6hVQdwLGYWKsLm7tzsvg2Me/ZOgmkx7J8iLk=; b=IGbOBnoQIVZJOG0l/lcaUiaG+w
 F6uIB2aLUIQ2GNKj2wM6z4VOYpgqupJvRxNy8DHq6ZJiYED1RktaJb7olR8HP34Vx+iIJNn4Q5Jy2
 5Nc7nj5y6qJ67s9p+5YOa+VnhffbRVLLKhbI8uV2FVtbvGgVvLArIdmKxMdQz5eh+K7s=;
Received: from [84.212.220.105] (helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mDpco-0000kY-VW; Wed, 11 Aug 2021 16:54:39 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#27601: 25.2; Repository is not shown in the *Packages*
 buffer for installed packages
References: <CADwFkmma1W6DBy2DgYE++jg5WeZQ_BgCRMz2wH2Uqzy+deEQtw@HIDDEN>
Date: Wed, 11 Aug 2021 16:54:33 +0200
In-Reply-To: <CADwFkmma1W6DBy2DgYE++jg5WeZQ_BgCRMz2wH2Uqzy+deEQtw@HIDDEN>
 (Stefan Kangas's message of "Sat, 13 Jul 2019 14:14:21 +0200")
Message-ID: <8735rgqbfa.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Stefan Kangas <stefan@HIDDEN> writes: > The package "ivy"
 is available from all three archives. After installing the > package from
 gnu, when I run M-x package-list-packages, I see in the "*Package*" > buffer
 the following two entries (al [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36637
Cc: 27601 <at> debbugs.gnu.org, 36637 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Kangas <stefan@HIDDEN> writes:

> The package "ivy" is available from all three archives.  After installing the
> package from gnu, when I run M-x package-list-packages, I see in the "*Package*"
> buffer the following two entries (although not next to each other):
>
>   ivy                20190709.740  available  melpa      Incremental
> Vertical completYon
>   ivy                0.11.0        installed             Incremental
> Vertical completYon

I guess the problem here is that we apparently don't save the archive in
`package-alist' when packages are installed?  Is there any particular
reason for that?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#36637; Package emacs. Full text available.
Forcibly Merged 27601 36637 36982. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 27601 36637. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Jul 2019 12:14:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 13 08:14:46 2019
Received: from localhost ([127.0.0.1]:41542 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hmGvN-0006wA-Mr
	for submit <at> debbugs.gnu.org; Sat, 13 Jul 2019 08:14:45 -0400
Received: from lists.gnu.org ([209.51.188.17]:40786)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1hmGvL-0006w2-NI
 for submit <at> debbugs.gnu.org; Sat, 13 Jul 2019 08:14:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34540)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <stefankangas@HIDDEN>) id 1hmGvK-0002EJ-KZ
 for bug-gnu-emacs@HIDDEN; Sat, 13 Jul 2019 08:14:43 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <stefankangas@HIDDEN>) id 1hmGvJ-0004Yo-EN
 for bug-gnu-emacs@HIDDEN; Sat, 13 Jul 2019 08:14:42 -0400
Received: from mail-wr1-f48.google.com ([209.85.221.48]:46559)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <stefankangas@HIDDEN>)
 id 1hmGvH-0004S5-Ds
 for bug-gnu-emacs@HIDDEN; Sat, 13 Jul 2019 08:14:39 -0400
Received: by mail-wr1-f48.google.com with SMTP id z1so12447291wru.13
 for <bug-gnu-emacs@HIDDEN>; Sat, 13 Jul 2019 05:14:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=LRE40cqXDZ4kaifwrTj5JsWfTkq13DaU0xFIynacU7g=;
 b=hsfoaYaPrMbhIGbfo7pt6V3paLXr8xZqnn13t1pYBZkTH2yUWau99vMGNMANcbABwz
 3sbGvwFAO5GDempqeSt1lYgM8GI4lyCIKoJWdYXZYR437tRxGA8SxbjE9/sbLYoBoCW7
 WF5XBa8Ebv0C+u70gVPKTZdUNDWQq1VfuAdEdCYAiG2xeDMjs4aEWZQHdzSN1FosVmoL
 KtxxMjQez+7cc6JDiHHX+B3G18ftwoCWeNrEPxd6lrz9ISV7MOwPT/T1NH85vIIi4eC/
 C9jj9BW0HND0b+soY8rgvYZyYpGl+eHMLCpZh0E5yQEEm/4juWIpEO0ebcfolyJwE/n7
 P5ng==
X-Gm-Message-State: APjAAAXPKVCdvzkxbkv1Qy1U0PY5Ksg/Nws2EocEGT3Fr5PI1KUVrLY2
 Fglmc3W2wW0tCMtFxJ3EXHbsxFxqkf9695Ykz/JSennn
X-Google-Smtp-Source: APXvYqwdv21CdCIjuMIHIjiXLVDW6gSAl3jauSJpxlKQ8rduSlaBgoWT0swLRCr9oKrTveJ5bZYWwS+bHYh1Aqy0ZF4=
X-Received: by 2002:adf:eb49:: with SMTP id u9mr12097976wrn.215.1563020073338; 
 Sat, 13 Jul 2019 05:14:33 -0700 (PDT)
MIME-Version: 1.0
From: Stefan Kangas <stefan@HIDDEN>
Date: Sat, 13 Jul 2019 14:14:21 +0200
Message-ID: <CADwFkmma1W6DBy2DgYE++jg5WeZQ_BgCRMz2wH2Uqzy+deEQtw@HIDDEN>
Subject: Package buffer should show where (which archive) a package is
 installed from
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 209.85.221.48
X-Spam-Score: -1.0 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

It would be good if there was an indication in the "*Packages*" buffer of where
(what archive) you have installed a package from.

I have added both MELPA and MELPA Stable to `package-archives':

    (add-to-list 'package-archives
                 '("melpa" . "https://melpa.org/packages/") t)
    (add-to-list 'package-archives
                 '("melpa-stable" . "https://stable.melpa.org/packages/") t)

I sometimes install packages from gnu (ELPA), sometimes from melpa and sometimes
from melpa-stable.

The package "ivy" is available from all three archives.  After installing the
package from gnu, when I run M-x package-list-packages, I see in the "*Package*"
buffer the following two entries (although not next to each other):

  ivy                20190709.740  available  melpa      Incremental
Vertical completYon
  ivy                0.11.0        installed             Incremental
Vertical completYon

From this, I can figure out that I have not installed it from melpa (its status
is "available").  But I cannot easily know if I installed it from gnu or from
melpa-stable, or if it's available from only one or from both of them.

In this case, the versions on melpa-stable and gnu matches.  (Or, at least, the
version number does.)  But this just happens to be the case here.  Often, the
package does not even exist on gnu, and I wouldn't know that from the above.

It would be good if the second of the above two lines would be this instead:

  ivy                0.11.0        installed  gnu        Incremental
Vertical completYon

It would be even better if the describe-package buffer would also would show the
same information.

Thanks,
Stefan Kangas




Acknowledgement sent to Stefan Kangas <stefan@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#36637; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 8 Oct 2022 16:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.