openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.56k stars 1.74k forks source link

Fedora 19 conflict with zfs-fuse #1866

Closed andrewuwe closed 10 years ago

andrewuwe commented 10 years ago

While installing I got a conflict because of zfs-fuse, I can't simply remove zfs-fuse since it is needed by libguestfs.

Transaction check error: file /usr/share/man/man8/zdb.8.gz from install of zfs-0.6.2-1.fc19.x86_64 conflicts with file from package zfs-fuse-0.7.0-11.fc19.x86_64 file /usr/share/man/man8/zfs.8.gz from install of zfs-0.6.2-1.fc19.x86_64 conflicts with file from package zfs-fuse-0.7.0-11.fc19.x86_64 file /usr/share/man/man8/zpool.8.gz from install of zfs-0.6.2-1.fc19.x86_64 conflicts with file from package zfs-fuse-0.7.0-11.fc19.x86_64 file /usr/share/man/man8/zstreamdump.8.gz from install of zfs-0.6.2-1.fc19.x86_64 conflicts with file from package zfs-fuse-0.7.0-11.fc19.x86_64

Removing: zfs-fuse x86_64 0.7.0-11.fc19 installed 4.2 M Removing for dependencies: libguestfs x86_64 1:1.22.7-1.fc19 @updates 7.8 M libguestfs-tools x86_64 1:1.22.7-1.fc19 @updates 2.1 M libguestfs-tools-c x86_64 1:1.22.7-1.fc19 @updates 5.6 M perl-Sys-Guestfs x86_64 1:1.22.7-1.fc19 @updates 1.0 M

This is on fedora 19 using the binary package. Perhaps not install these or have as separate package zfs-man?

behlendorf commented 10 years ago

@andrewuwe I'd expect there to be other conflicts as well such as /sbin/zfs and /sbin/zpool. For safely I think perhaps the best thing to do is make the ZoL packages explicitly conflict with the zfs-fuse packages by adding a Conflicts: zfs-fuse line to the spec file.

andrewuwe commented 10 years ago

OK (, but fedora zfs-fuse has /usr/bin/zfs and /usr/bin/zpool.) It would probably be too confusing to have both installed with possible different feature/version support etc. So your solution is good.