Description of problem:
texstudio 2.12.8-4.fc28 can't be installed
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. sudo dnf upgrade texstudio --enablerepo=updates-testing
Error: Transaction check error:
file /usr/share/texlive/texmf-dist/tex/latex/preview/preview.sty from install of texlive-preview-6:svn38865-42.fc28.2.noarch conflicts with file from package tex-preview-12.1-3.fc28.noarch
texstudio is installed
This rather seems to be a bug in the packaging of texlive-preview or tex-preview, which is part of emacs-auctex-12.1-3.fc28.src.rpm.
I opened bug https://bugzilla.redhat.com/show_bug.cgi?id=1577224. In the mean time, please just remove the package tex-preview and install the texlive-preview one. Hope that this is fixed pretty quick.
That workaround is not very satisfactory; tex-preview is a dependency of both
so it requires the removal of upwards of 3000 packages (i.e., the entire texlive collection, plus whatever depends on it).
As I said, I can't do more to solve the issue, since it just is a packaging issue in the other two packages. For me this worked, since I didn't have these two packages, and their dependencies, installed.
Removing texlive-collection-latexextra does not force the removal of other packages as it is a meta package. Worked for me. For emacs-auctex we have to wait for the fix in the packaging :( I also don't see any other solution here.
Package gnuplot-latex depends on tex-preview:
gnuplot-latex noarch 5.0.6-8.fc28 fedora 80 k
tex-preview noarch 12.1-3.fc28 fedora 69 k