|
From: | Dmitry Gutov |
Subject: | bug#16762: Installed packages are not considered part of the archive contents |
Date: | Mon, 24 Mar 2014 16:32:29 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 24.03.2014 15:07, Stefan wrote:
Doesn't the above package-installed-p mean that we can't complete the name of an already installed package we want to upgrade?
Before the patch, `package-install' would be a no-op for a currently installed package, even if a new version is available (because when the PKG argument is not a pkg-desc, it's passed to `package-compute-transaction' in the list of requirements without version, and it's immediately satisfied, requiring no package installation).
Considering that `package-install' wouldn't remove the currently installed version, I don't think we'd want it to work for upgrades, anyway.
[Prev in Thread] | Current Thread | [Next in Thread] |