I recently moved from Debian-basd distributions to RHEEL world. I'm actually using Fedora. At some point, I wanted to install frantz. But I only have two possibilities: .deb and .AppImage and I choosed the .deb. After downloading the .deb file, I use alien to transform it to .rpm.
- Install alien (if not)
sudo dnf install alien
- transform .deb to .rpm
sudo alien --to-rpm --scripts franz_5.5.0_amd64.deb
- Try to nstall the RPM package
sudo dnf install franz-5.5.0-1763.x86_64.rpm
At this moment I have this errors
Error: Transaction test error:
file / from install of franz-5.5.0-1763.x86_64 conflicts with file from package filesystem-3.14-2.fc32.x86_64
- Install rpmrebuild (if not already done)
sudo dnf install rpmrebuild
- Rebuild the package
rpmrebuild -pe franz-5.5.0-1763.x86_64.rpm
This will open the current editor (-e
option) to modify it.
I navigate under %files
and identify the path quoted in previous error (for my case it is /
).
I remove the corresponding line.
And after I got this:
result: /home/dkgndianko/rpmbuild/RPMS/x86_64/franz-5.5.0-1763.x86_64.rpm
- Install the newly built package.
sudo dnf install /home/dkgndianko/rpmbuild/RPMS/x86_64/franz-5.5.0-1763.x86_64.rpm