public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [OE-core][PATCH 0/5] fix populate_sdk for package_deb
@ 2020-04-01 14:58 Jan Luebbe
  2020-04-01 14:58 ` [OE-core][PATCH 1/5] lib/oe/package_manager: make sure to not remove packages in apt install Jan Luebbe
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jan Luebbe @ 2020-04-01 14:58 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jan Luebbe

This series fixes bugs in lib/oe/package_manager which are triggered
when using populate_sdk in a distro using PACKAGE_CLASSES = "package_ipk".

The main issue is that apt install will try to remove already installed
packages which conflict against those requested in the current install
step. Is is triggered here by the coreutils conflict in
target-sdk-provides-dummy, which provides perl (amongst others).
As apt and dpkg depend on perl, this causes apt to try to remove itself,
failing at the essential package check. As this happens during the
complementary package installation, which is allowed to fail with a
warning, this leads to an SDK which is missing the -dev/-dbg packages.

This issue also affects zeus, so I'd be grateful if they could be
applied there as well, to avoid having to maintain a modified OE-core
locally. I've tested them on master and zeus.

Jan Luebbe (5):
  lib/oe/package_manager: make sure to not remove packages in apt
    install
  lib/oe/package_manager: fix handling of last package
  lib/oe/package_manager: collect provided package names when using debs
  lib/oe/package_manager: avoid installing provided packages via apt
  lib/oe/package_manager: don't try to rm /var/lib/opkg

 meta/lib/oe/package_manager.py | 37 +++++++++++++++++++++-------------
 1 file changed, 23 insertions(+), 14 deletions(-)

-- 
2.26.0.rc2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-04-03 16:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-01 14:58 [OE-core][PATCH 0/5] fix populate_sdk for package_deb Jan Luebbe
2020-04-01 14:58 ` [OE-core][PATCH 1/5] lib/oe/package_manager: make sure to not remove packages in apt install Jan Luebbe
2020-04-01 14:58 ` [OE-core][PATCH 2/5] lib/oe/package_manager: fix handling of last package Jan Luebbe
2020-04-01 14:58 ` [OE-core][PATCH 3/5] lib/oe/package_manager: collect provided package names when using debs Jan Luebbe
2020-04-01 14:58 ` [OE-core][PATCH 4/5] lib/oe/package_manager: avoid installing provided packages via apt Jan Luebbe
2020-04-01 14:58 ` [OE-core][PATCH 5/5] lib/oe/package_manager: don't try to rm /var/lib/opkg Jan Luebbe
2020-04-03 16:05   ` Peter Kjellerstedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox