Skip to content

File conflict errors when attempting to install RPM #140

@SonicGDX

Description

@SonicGDX

Installing the latest release RPM (either via "sudo dnf install" or with GNOME Software using PackageKit) on my Fedora Linux 37 system fails with a bunch of file conflict errors, related to /usr/share/icons and /usr/share/mime. I also tested on a VM and it occurs there too, ruling out my setup being the issue (but I did have Java installed there so I doubt this is related to that). I do not know if this occurs on other RPM-based distros or with the .deb version.

Here is the DNF log from the freshly installed Fedora 37 VM (although not updated, but I don't think this matters since it also occured on my up-to-date system)

[VirtualMachine@localhost-live Downloads]$ sudo dnf install gdx-texturepacker-4.11.0.rpm
Dependencies resolved.
============================================================================================================================================
 Package                                Architecture                Version                         Repository                         Size
============================================================================================================================================
Installing:
 gdx-texturepacker                      noarch                      4.11.0-1                        @commandline                       14 M

Transaction Summary
============================================================================================================================================
Install  1 Package

Total size: 14 M
Installed size: 15 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
  file /usr/share/icons/hicolor from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package fedora-logos-36.0.0-3.fc37.noarch
  file /usr/share/icons/hicolor/256x256 from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package fedora-logos-36.0.0-3.fc37.noarch
  file /usr/share/icons/hicolor/256x256/apps from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package fedora-logos-36.0.0-3.fc37.noarch
  file /usr/share/icons from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package filesystem-3.18-2.fc37.x86_64
  file /usr/share/icons/hicolor from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package hicolor-icon-theme-0.17-14.fc37.noarch
  file /usr/share/icons/hicolor/256x256 from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package hicolor-icon-theme-0.17-14.fc37.noarch
  file /usr/share/icons/hicolor/256x256/apps from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package hicolor-icon-theme-0.17-14.fc37.noarch
  file /usr/share/icons/hicolor/256x256/mimetypes from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package hicolor-icon-theme-0.17-14.fc37.noarch
  file /usr/share/icons/hicolor from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package qemu-common-2:7.0.0-9.fc37.x86_64
  file /usr/share/icons/hicolor/256x256 from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package qemu-common-2:7.0.0-9.fc37.x86_64
  file /usr/share/icons/hicolor/256x256/apps from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package qemu-common-2:7.0.0-9.fc37.x86_64
  file /usr/share/mime from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package shared-mime-info-2.2-2.fc37.x86_64
  file /usr/share/mime/packages from install of gdx-texturepacker-0:4.11.0-1.noarch conflicts with file from package shared-mime-info-2.2-2.fc37.x86_64



image

EDIT: I see this line

// FIXME: "java8-runtime" is not recognized by RPM package manager and throws an error (on Fedora at least).
in the build.gradle but I'm not sure if its related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions