GNU bug report logs -
#16762
Installed packages are not considered part of the archive contents
Previous Next
Reported by: Johan Andersson <johan.rejeep <at> gmail.com>
Date: Sat, 15 Feb 2014 16:07:02 UTC
Severity: normal
Fixed in version 24.4
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> Yes, but as long as we don't know why this was done, it's too risky to
>> change it. If/when we figure out what that was about and come up with
>> a way to fix the problem, we can judge whether that's appropriate for
>> 24.4.
> From what I can see, except `package-install', all places where
> `package-archive-contents' is used, either append its contents to
> `package-alist' elements, or use a predicate calling `package-installed-p'.
> The following patch seems to offer the same functionality:
Does it affect the output of M-x package-list RET?
What about the package-menu-mark-upgrades?
> (cond
> - ;; Skip entirely if pinned to another archive or already installed.
> + ;; Skip entirely if pinned to another archive or built-in.
> ((or (and pinned-to-archive
> (not (equal (cdr pinned-to-archive) archive)))
> (let ((bi (assq name package--builtin-versions)))
> - (and bi (version-list-= version (cdr bi))))
> - (let ((ins (cdr (assq name package-alist))))
> - (and ins (version-list-= version
> - (package-desc-version (car ins))))))
> + (and bi (version-list-= version (cdr bi)))))
> nil)
If we can keep the already installed packages, couldn't we also keep the
already built-in packages?
Stefan
This bug report was last modified 11 years and 64 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.