From d33aa99c9d9656e7f24e4cdce4881f893b29a4c7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 17 Jun 2016 10:52:28 -0400 Subject: Apt.install: When asked to install a package that apt does not know about, it used to incorrectly succeed. Now it will fail. --- ...comment_1_9ce26e0a77c118c3b75bb00827a880b9._comment | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/forum/Apt.install_return_ok_even_if_asked_something_impossible/comment_1_9ce26e0a77c118c3b75bb00827a880b9._comment (limited to 'doc/forum/Apt.install_return_ok_even_if_asked_something_impossible') diff --git a/doc/forum/Apt.install_return_ok_even_if_asked_something_impossible/comment_1_9ce26e0a77c118c3b75bb00827a880b9._comment b/doc/forum/Apt.install_return_ok_even_if_asked_something_impossible/comment_1_9ce26e0a77c118c3b75bb00827a880b9._comment new file mode 100644 index 00000000..de841793 --- /dev/null +++ b/doc/forum/Apt.install_return_ok_even_if_asked_something_impossible/comment_1_9ce26e0a77c118c3b75bb00827a880b9._comment @@ -0,0 +1,18 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-06-17T14:31:35Z" + content=""" +Implementation has: + + check (isInstallable ps) go + +So, if the packages are not isInstallable, nothing is done, and the property +succeeds. + +I think this check was intended to avoid running apt-get install unncessarily +when the packages are already installed. However, isInstalled doesn't +differentiate between a package being already installed and not available. + +So, fixing. +"""]] -- cgit v1.2.3