Skip to main content
Topic: world/wlroots and world/wlroots0.18 should conflict. (Read 811 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

world/wlroots and world/wlroots0.18 should conflict.

The packages world/wlroots (current version: 0.18.2-2) and world/wlroots0.18 (current version: 0.18.2-1) miss conflicts array declaration:
pacman -S --asdeps world/wlroots:
Code: [Select]
resolving dependencies...
looking for conflicting packages...

Package (1)    New Version  Net Change

world/wlroots  0.18.2-2       1.44 MiB

Total Installed Size:  1.44 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                 [#######################################################] 100%
(1/1) checking package integrity                                                               [#######################################################] 100%
(1/1) loading package files                                                                    [#######################################################] 100%
(1/1) checking for file conflicts                                                              [#######################################################] 100%
error: failed to commit transaction (conflicting files)
wlroots: /usr/include/wlroots-0.18/wlr/backend.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/backend/drm.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/backend/headless.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/backend/interface.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/backend/libinput.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/backend/multi.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/backend/session.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/backend/wayland.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/backend/x11.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/config.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/interfaces/wlr_buffer.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/interfaces/wlr_keyboard.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/interfaces/wlr_output.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/interfaces/wlr_pointer.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/interfaces/wlr_switch.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/interfaces/wlr_tablet_pad.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/interfaces/wlr_tablet_tool.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/interfaces/wlr_touch.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/allocator.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/color.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/dmabuf.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/drm_format_set.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/drm_syncobj.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/egl.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/gles2.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/interface.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/pass.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/pixman.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/swapchain.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/vulkan.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/wlr_renderer.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/render/wlr_texture.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_alpha_modifier_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_buffer.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_compositor.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_content_type_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_cursor.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_cursor_shape_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_damage_ring.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_data_control_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_data_device.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_drm.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_drm_lease_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_export_dmabuf_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_ext_foreign_toplevel_list_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_foreign_toplevel_management_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_fractional_scale_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_fullscreen_shell_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_gamma_control_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_idle_inhibit_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_idle_notify_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_input_device.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_input_method_v2.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_keyboard.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_keyboard_group.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_layer_shell_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_linux_dmabuf_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_linux_drm_syncobj_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_matrix.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_output.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_output_layer.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_output_layout.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_output_management_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_output_power_management_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_output_swapchain_manager.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_pointer.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_pointer_constraints_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_pointer_gestures_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_presentation_time.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_primary_selection.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_primary_selection_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_region.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_relative_pointer_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_scene.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_screencopy_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_seat.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_security_context_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_server_decoration.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_session_lock_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_shm.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_single_pixel_buffer_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_subcompositor.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_switch.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_tablet_pad.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_tablet_tool.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_tablet_v2.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_tearing_control_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_text_input_v3.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_touch.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_transient_seat_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_viewporter.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_virtual_keyboard_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_virtual_pointer_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_xcursor_manager.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_xdg_activation_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_xdg_decoration_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_xdg_foreign_registry.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_xdg_foreign_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_xdg_foreign_v2.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_xdg_output_v1.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/types/wlr_xdg_shell.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/util/addon.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/util/box.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/util/edges.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/util/log.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/util/region.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/util/transform.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/version.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/xcursor.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/xwayland.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/xwayland/server.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/xwayland/shell.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/include/wlroots-0.18/wlr/xwayland/xwayland.h exists in filesystem (owned by wlroots0.18)
wlroots: /usr/lib/libwlroots-0.18.so exists in filesystem (owned by wlroots0.18)
wlroots: /usr/lib/pkgconfig/wlroots-0.18.pc exists in filesystem (owned by wlroots0.18)
Errors occurred, no packages were upgraded.
Regards!

Re: world/wlroots and world/wlroots0.18 should conflict.

Reply #1
I just updated an Artix machine and it did ask me if it could overwrite wlroots with wlroots0.18? I don't use wayland much so agreed it could.

Re: world/wlroots and world/wlroots0.18 should conflict.

Reply #2
Thanks for sharing your experience. It looks like your update handled the conflict interactively, but ideally, the conflicts array should explicitly cover this case so users aren't left guessing. Having both wlroots and wlroots0.18 installable without a clear conflict leads to the file overlap errors shown above. It would be good if the package maintainers could address this in the PKGBUILDs.

Re: world/wlroots and world/wlroots0.18 should conflict.

Reply #3
Thanks for sharing your experience. It looks like your update handled the conflict interactively, but ideally, the conflicts array should explicitly cover this case so users aren't left guessing. Having both wlroots and wlroots0.18 installable without a clear conflict leads to the file overlap errors shown above. It would be good if the package maintainers could address this in the PKGBUILDs.
That is what I mean. If someone manually (re-)installs wlroots it should make the conflict explicit.

If wlroots should be dropped from the repositories without having it's conflicts array updated in the meantime, it should happen in sync with the availability of the conflicting packages.