packages icon indicating copy to clipboard operation
packages copied to clipboard

[Bug] Conflicts in /usr/share/doc/vala-panel/appmenu/README.md and /usr/share/licenses/vala-panel-appmenu/LICENSE

Open erenfro opened this issue 2 years ago • 2 comments

What happens?

When updating the system with vala-panel-appmenu-common-git and vala-panel-appmenu-xfce-git, I'm getting conflicts in 2 files apparently both are trying to "own":

error: failed to commit transaction (conflicting files)
/usr/share/doc/vala-panel-appmenu/README.md exists in both 'vala-panel-appmenu-common-git' and 'vala-panel-appmenu-xfce-git'
/usr/share/licenses/vala-panel-appmenu/LICENSE exists in both 'vala-panel-appmenu-common-git' and 'vala-panel-appmenu-xfce-git'
Errors occurred, no packages were upgraded.

What is expected to happen?

Updates without conflict.

If possible, please attach logs

resolving dependencies...
looking for conflicting packages...

Packages (45) alsa-card-profiles-1:0.3.59-2  ananicy-cpp-1.0.0.rc7-1.1  ananicy-rules-1.r55.478717a-1  betterbird-bin-102.3.1-1  btop-1.2.12-1  dkms-3.0.7-1  flac-1.4.1-2
              glibc-2.36-6  gst-plugin-pipewire-1:0.3.59-2  imagemagick-7.1.0.50-1  inkscape-1.2.1-8  insync-3.7.13.50425-1  inxi-3.3.22.1-1  lib32-flac-1.4.1-2
              lib32-glibc-2.36-6  lib32-pipewire-1:0.3.59-2  lib32-pipewire-jack-1:0.3.59-2  libgpg-error-1.46-1  libical-3.0.15-1  libreoffice-fresh-7.4.1-4
              ostree-2022.6-1  perl-http-message-6.39-1  perl-uri-5.13-1  pipewire-1:0.3.59-2  pipewire-alsa-1:0.3.59-2  pipewire-audio-1:0.3.59-2
              pipewire-jack-1:0.3.59-2  pipewire-pulse-1:0.3.59-2  pipewire-support-1-13  pipewire-v4l2-1:0.3.59-2  pipewire-x11-bell-1:0.3.59-2
              pipewire-zeroconf-1:0.3.59-2  plymouth-git-22.02.122.r77.gc09c651a-1  poppler-22.10.0-1  poppler-glib-22.10.0-1  poppler-qt5-22.10.0-1
              python-jsonschema-4.16.0-2  python-levenshtein-0.20.4-1  python-more-itertools-8.14.0-1  qt6-declarative-6.4.0-2  ruby-test-unit-3.5.5-1
              vala-panel-appmenu-common-git-0.7.6.r25.g56de7d2-1  vala-panel-appmenu-xfce-git-0.7.6.r25.g56de7d2-1  vi-1:070224-6
              whitesur-gtk-theme-git-2022.08.26.r20.g182bce9-1

Total Installed Size:  1467.85 MiB
Net Upgrade Size:        11.03 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 betterbird-bin-102.3.1-1-x86_64 is up to date
(45/45) checking keys in keyring                                                                        [-------------------------------------------------------------] 100%
(45/45) checking package integrity                                                                      [-------------------------------------------------------------] 100%
(45/45) loading package files                                                                           [-------------------------------------------------------------] 100%
(45/45) checking for file conflicts                                                                     [-------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
/usr/share/doc/vala-panel-appmenu/README.md exists in both 'vala-panel-appmenu-common-git' and 'vala-panel-appmenu-xfce-git'
/usr/share/licenses/vala-panel-appmenu/LICENSE exists in both 'vala-panel-appmenu-common-git' and 'vala-panel-appmenu-xfce-git'
Errors occurred, no packages were upgraded.

More information

No response

erenfro avatar Oct 09 '22 14:10 erenfro

Hey! This seems to be more of a packaging issue for these 2 applications. I'd report this on the respective AUR pages for this reason. What we could do is adding the needed conflicts() to both packages via interfere given both packages can't be installed at the same time. Were they working before the update?

dr460nf1r3 avatar Oct 11 '22 04:10 dr460nf1r3

Well, the problem is, *-xfce-git depends on *-common-git, specifically. It worked, until upstream moved "README and LICENSE" files to proper install paths. I have reported the problem to upstream AUR for the time being already though.

erenfro avatar Oct 11 '22 12:10 erenfro

oops that commit wasn't meant for this issue.

Technetium1 avatar Nov 10 '22 22:11 Technetium1