[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59087: 29.0.50; package-vc-update error
From: |
Feng Shu |
Subject: |
bug#59087: 29.0.50; package-vc-update error |
Date: |
Sat, 19 Nov 2022 13:06:26 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Philip Kaludercic <philipk@posteo.net> writes:
> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@163.com> writes:
>>>
>>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>>
>>>>> Feng Shu <tumashu@163.com> writes:
>>>>>
>>>>>> I have found another issue:
>>>>>>
>>>>>> If I run package-update when emacs first start, it will show error:
>>>>>>
>>>>>> package-update: Symbol’s function definition is void: package-vc-update
>>>>>
>>>>
>>>> When I install another package, for example: cnfonts, package-update do
>>>> not show cnfonts, I need to reboot emacs.
>>>
>>> That is interesting, it the package listed in the Package List before
>>> restarting?
>>
>> I have installed cnfonts tar from melpa before, when I delete it,
>> package-update show cnfonts.
>
> Ok, so it looks like the issue is in the following:
>
> (seq-filter
> (lambda (elt)
> (or (let ((available
> (assq (car elt) package-archive-contents)))
> (and available
> (version-list-<
> (package-desc-version (cadr elt))
> (package-desc-version (cadr available)))))
> (package-vc-p (cadr (assq (car elt) package-alist)))))
> package-alist)
>
>
> specifically the
>
> (package-vc-p (cadr (assq (car elt) package-alist)))
>
> We store all package descriptions in `package-alist', but here we only
> check the first one (which is also the one I believe that is activated).
>
> But after restarting Emacs, package.el makes sure that VC packages are
> prioritised, so that is why the check does work later on.
>
> The question is, what package is enabled? I'd say that if after
> installation, you run M-x find-library and end up in the MELPA
> directory, then we would have to make up our mind of this is the right
> thing or not.
>
> But if the VC package is active, then we just have to make sure that it
> is inserted at the beginning of the list, and not at the end.
>
After I install popon and corfu-terminal, and reboot emacs.
package-update show nothing, but package-vc-update-all works, after
package-vc-update-all finish, package-update will show popon and corfu-terminal.
--
- bug#59087: 29.0.50; package-vc-update error, (continued)
- bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/18
- bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/17
- bug#59087: 29.0.50; package-vc-update error, Philip Kaludercic, 2022/11/18
- bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/18
- bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/18
- bug#59087: 29.0.50; package-vc-update error, Philip Kaludercic, 2022/11/18
- bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/19
- bug#59087: 29.0.50; package-vc-update error, Philip Kaludercic, 2022/11/19
- bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/19
- bug#59087: 29.0.50; package-vc-update error, Philip Kaludercic, 2022/11/19
- bug#59087: 29.0.50; package-vc-update error,
Feng Shu <=
- bug#59087: 29.0.50; package-vc-update error, Rudolf Adamkovič, 2022/11/16
- bug#59087: 29.0.50; package-vc-update error, Philip Kaludercic, 2022/11/16
- bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/16
bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/14
bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/15
bug#59087: 29.0.50; package-vc-update error, Feng Shu, 2022/11/19