]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/package_manager: make sure to not remove packages in apt install
authorJan Luebbe <jlu@pengutronix.de>
Wed, 1 Apr 2020 14:58:01 +0000 (16:58 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Apr 2020 22:18:09 +0000 (23:18 +0100)
commit9605a488b55042add012e9aeef13ab3f4e70e6e5
tree6457bf27a12d6ba11750545c86822ca7811329a5
parent38e3d5bd3d05ed00a2fc55e3729cb8a6d4e4132f
lib/oe/package_manager: make sure to not remove packages in apt install

apt install can decide to remove already installed packages if there are
conflicts. Avoid this by explicitly specifying --no-remove. This will
then cause a "E: Packages need to be removed but remove is disabled."
message.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py