neon-based image breaks on updates
Closed, ResolvedPublic

Description

currently when running

sudo apt upgrade

on Plasma Mobile it will break whenever Neon has a newer version of Kwin than Plasma Mobile. Correct?

one idea was to use apt-pinning in order to prefer packages from PM over neon

another is to rename the plugin package like this:

https://packaging.neon.kde.org/kde/kwin.git/tree/debian/control?h=Neon/mobile

Package: kwin-wayland-backend-hwcomposer
Section: libs
Architecture: armel armhf
Depends: ${misc:Depends}, ${shlibs:Depends}
Breaks: kwin-hwcomposer-backend (<< 4:5.3.90+git20150807)
Replaces: kwin-hwcomposer-backend (<< 4:5.3.90+git20150807)
Provides: kwin-wayland-backend
Description: KDE window manager hwcompositor plugin

becomes

Package: kwin-wayland-backend-hwcomposer-halium
Section: libs
Architecture: armel armhf
Depends: ${misc:Depends}, ${shlibs:Depends}
Breaks: kwin-hwcomposer-backend (<< 4:5.3.90+git20150807)
Replaces: kwin-hwcomposer-backend (<< 4:5.3.90+git20150807)
Conflicts: kwin-wayland-backend-hwcomposer
Provides: kwin-wayland-backend
Description: KDE window manager hwcompositor-halium plugin

Neon doesn't actually have a kwin-wayland-backend-hwcomposer package, so renaming is not a solution. apt-pinning seems to be the right approach.

Am 5. Februar 2019 19:34:38 MEZ schrieb Simon Schmeisser <noreply@phabricator.kde.org>:

schmeisser created this task.
schmeisser added a project: Plasma: Mobile (PM 1.0).

TASK DESCRIPTION

currently when running

  sudo apt upgrade

on Plasma Mobile it will break whenever Neon has a newer version of
Kwin than Plasma Mobile. Correct?

one idea was to use apt-pinning in order to prefer packages from PM
over neon

another is to rename the plugin package like this:

https://packaging.neon.kde.org/kde/kwin.git/tree/debian/control?h=Neon/mobile

Package: kwin-wayland-backend-hwcomposer
Section: libs
Architecture: armel armhf
Depends: ${misc:Depends}, ${shlibs:Depends}
Breaks: kwin-hwcomposer-backend (<< 4:5.3.90+git20150807)
Replaces: kwin-hwcomposer-backend (<< 4:5.3.90+git20150807)
Provides: kwin-wayland-backend
Description: KDE window manager hwcompositor plugin

becomes

Package: kwin-wayland-backend-hwcomposer**-halium**
Section: libs
Architecture: armel armhf
Depends: ${misc:Depends}, ${shlibs:Depends}
Breaks: kwin-hwcomposer-backend (<< 4:5.3.90+git20150807)
Replaces: kwin-hwcomposer-backend (<< 4:5.3.90+git20150807)
**Conflicts: kwin-wayland-backend-hwcomposer**
Provides: kwin-wayland-backend
Description: KDE window manager hwcompositor-halium plugin

TASK DETAIL

https://phabricator.kde.org/T10447

To: schmeisser
Cc: schmeisser, frmdstryr, emrek, mkraemer, cahfofpai, asghaier,
bwildenhain, tbalzer, dkardarakos, PureTryOut, lnj, neofytosk,
alexeymin, jbbgameich, IlyaBizyaev, dvasin, jessep, Sergobot, sebas,
bshah

schmeisser closed this task as Resolved.Jun 1 2019, 12:24 PM
schmeisser claimed this task.

This turned out to be a missing dependency problem and should/does work for some while now. Basically we added an explicit dependency from kwin-wayland-backend-hwcomposer to the precise build version number of kwin