Migrating sub-package to a different package: How to resolve file conflicts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm working on moving the llvm-devel sub-package from the llvm package to
a new llvm4.0 package, however, when I upgrade from the llvm sub-package
to the llvm4.0 sub-package, I am getting file conflicts.

This can be reproduced on rawhide with these commands:

[root@746864b6a202 /]#  dnf install llvm-devel
[root@746864b6a202 /]#  dnf install 'dnf-command(copr)'
[root@746864b6a202 /]#  dnf copr enable tstellar/llvm-versioned
[root@746864b6a202 /]#  dnf install llvm-devel-4.0.0-13.fc27

Here is the error:

Error: Transaction check error:
  file /usr/include/llvm from install of llvm-devel-4.0.0-13.fc27.x86_64 conflicts with file from package llvm-devel-4.0.0-4.fc27.x86_64
  file /usr/include/llvm-c from install of llvm-devel-4.0.0-13.fc27.x86_64 conflicts with file from package llvm-devel-4.0.0-4.fc27.x86_64

I don't understand how a package can conflict with on older version of
the same package.  Here are the spec files:

llvm-devel-4.0.0-13.fc27.x86_64: http://copr-dist-git.fedorainfracloud.org/cgit/tstellar/llvm-versioned/llvm4.0.git/tree/llvm4.0.spec
llvm-devel-4.0.0-4.fc27.x86_64: https://src.fedoraproject.org/cgit/rpms/llvm.git/tree/llvm.spec

Is this a bug in dnf/rpm or am I doing something wrong with the spec files?


-Tom
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux