zfs icon indicating copy to clipboard operation
zfs copied to clipboard

zfs rpm release 2.2 obsoletes itself in Fedora

Open aNDy-Squirrel opened this issue 2 years ago • 3 comments

System information

Type Version/Name
Distribution Name Fedora
Distribution Version 36
Kernel Version 5.19.16-200.fc36.x86_64
Architecture x86_64
OpenZFS Version zfs-2.1.6-1

Describe the problem you're observing

dnf check-update gives me:

Obsoleting Packages
zfs-release.noarch                                  2-2.fc36                                 @@commandline         
    zfs-release.noarch                              2-2.fc36                                 @@commandline 

and examining the rpm:

rpm  -qp zfs-release-2-2.fc36.noarch.rpm --obsoletes
zfs-release <= 2-2.fc36
zfs-release-fedora <= 2-2.fc36

suggests that the rpm obsoletes its own version.

I am not an expert, but it looks to me as a packaging issue. Everything else works fine.

Describe how to reproduce the problem

Install zfs via the repo on zfsonlinux.org: dnf install -y https://zfsonlinux.org/fedora/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm

I have two systems with similar set-up, and both have this issue.

Include any warning/errors/backtraces from the system logs

aNDy-Squirrel avatar Oct 29 '22 15:10 aNDy-Squirrel

This happens on Rocky Linux 8 too.

I installed ZFS per the documentation on a fresh install, and zfs-release 2.2 obsoleting itself in favor of zfs-release 2.2 shows up immediately.

jollyrogue avatar Feb 21 '23 21:02 jollyrogue

Also happens on RedHat 8.7

dodexahedron avatar Feb 28 '23 15:02 dodexahedron

Same issue on AlmaLinux 9.1:

$ yum check-update
Last metadata expiration check: 0:08:49 ago on Wed 12 Apr 2023 02:08:14 PM CEST.
Obsoleting Packages
zfs-release.noarch                                                                     2-2.el9                                                                  @@commandline
    zfs-release.noarch                                                                 2-2.el9                                                                  @@commandline

$ rpm  -q zfs-release-2-2.el9.noarch --obsoletes
zfs-release <= 2-2.el9
zfs-release-el <= 2-2.el9

mreymann avatar Apr 12 '23 12:04 mreymann

Same issue on AlmaLinux 9.1:

$ yum check-update
Last metadata expiration check: 0:08:49 ago on Wed 12 Apr 2023 02:08:14 PM CEST.
Obsoleting Packages
zfs-release.noarch                                                                     2-2.el9                                                                  @@commandline
    zfs-release.noarch                                                                 2-2.el9                                                                  @@commandline

$ rpm  -q zfs-release-2-2.el9.noarch --obsoletes
zfs-release <= 2-2.el9
zfs-release-el <= 2-2.el9

Try to make update dnf install https://zfsonlinux.org/epel/zfs-release-2-3$(rpm --eval "%{dist}").noarch.rpm

agvol avatar May 13 '23 17:05 agvol

Try to make update dnf install https://zfsonlinux.org/epel/zfs-release-2-3$(rpm --eval "%{dist}").noarch.rpm

That solved it for me. I uninstalled the 2-2 version first, but I am not sure whether that is necessary or would happen anyway. Thanks!

Issue can be closed.

aNDy-Squirrel avatar May 19 '23 13:05 aNDy-Squirrel