Hi Helmut,

On 4/11/26 09:41, Helmut Grohne wrote:
libgwengui-qt6-dev has an undeclared file conflict. This may result in
an unpack error from dpkg.

The files
  * /usr/include/gwenhywfar5/gwen-gui-qt5/qt5_gui.hpp
  * /usr/include/gwenhywfar5/gwen-gui-qt5/qt5_gui_dialog.hpp
  * /usr/include/gwenhywfar5/gwen-gui-qt5/qt5dialogbox.hpp
are contained in the packages
  * libgwengui-qt5-dev
    * 5.12.0-1 as present in trixie
    * 5.14.1-1~bpo13+2 as present in trixie-backports
  * libgwengui-qt6-dev/5.14.1-2 as present in forky|unstable

These packages can be unpacked concurrently, because there is no
relevant Replaces or Conflicts relation. Attempting to unpack these
packages concurrently results in an unpack error from dpkg, because none
of the packages installs a diversion for the affected files.

Is this statement "because there is no relevant Replaces or Conflicts relation" really true? Looking in the d/control file I see there is a "Conflicts:" relation declared. What do I miss?

Can you please review the attached patch and check/comment on whether it would improve the situation?

Kind regards,
Micha
diff --git a/debian/control b/debian/control
index 88c4789..06061c5 100644
--- a/debian/control
+++ b/debian/control
@@ -65,7 +65,8 @@ Description: Gwenhywfar GUI implementation for GTK3 (development files)
  for GTK3.
 
 Package: libgwengui-qt6-dev
-Conflicts: libgwenqui-qt5-dev
+Replaces: libgwenqui-qt5-dev (<< 5.12.1-4)
+Breaks: libgwenqui-qt5-dev (<< 5.12.1-4)
 Section: libdevel
 Architecture: any
 Multi-Arch: same

Reply via email to