Snapd install failed

i am trying to install snapd in fedora 28 by using command dnf install snapd
failed by error

Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file /usr/share/man/man1/snap.1.gz from install of snapd-2.35-1.fc28.x86_64 conflicts with file from package snap-0.6-12.fc28.noarch

Error Summary

I think the manual pages just conflict. It’s unfortunate but unavoidable at scale.

CC @Conan_Kudo - should we add any conflict markers with other packages?

Why’s it snap(1)? On Ubuntu at least it’s snap(8), which wouldn’t conflict in this case. Is there a rationale for the difference?

Edit: i just checked on 16.04, It’s properly in section 8, but the manpage itself says snap(1); I’ll fix this.

Edit 2: I was wrong: it’s snap.1. Not sure what’s renaming it. Fixing it.

Edit 3:

1 Like

This is something I asked about fixing in snapd a year ago when the issue was first discovered (RH#1456847), but unfortunately I was told at the time that the snapd man page generator didn’t support setting the section properly and “sections don’t matter anyway”.

So… Here we are?

2 Likes