Fedora directories for installing applications
by Chris.Bristol from LinuxQuestions.org on (#59D86)
I have an application for which I have created a deb file which works on Debian based distributions. I have used Alien to convert it to an rpm file for installation on RedHat based distributions. The conversion process worked and as a test I converted it back and I can install that on Debian.
However the temporary installation when running a Fedora live CD fails:
Code:[liveuser@localhost-live ~]$ sudo rpm -U myapp_0.0.1_all.rpm
file / from install of myapp-0.0.1-1.noarch conflicts with file from package filesystem-3.14-2.fc32.x86_64
file /usr/bin from install of myapp-0.0.1-1.noarch conflicts with file from package filesystem-3.14-2.fc32.x86_64
file /usr/lib from install of myapp-0.0.1-1.noarch conflicts with file from package filesystem-3.14-2.fc32.x86_64
[liveuser@localhost-live ~]$It looks as though it might be a target directory problem, am I using the wrong ones for Fedora?
My (Python) app on Ubuntu has the executable installed in /usr/bin, the egg stuff in /usr/lib and the rest in /usr/share/ applications doc man and myapp/
If I changed those directories to suit Fedora, would they also work on Ubuntu, or would I have to create two different packages?
I know I can temporarily install packages when I am running a live CD in Ubuntu, perhaps this is not possible in Fedora, which is the cause of the problem, is that it?


However the temporary installation when running a Fedora live CD fails:
Code:[liveuser@localhost-live ~]$ sudo rpm -U myapp_0.0.1_all.rpm
file / from install of myapp-0.0.1-1.noarch conflicts with file from package filesystem-3.14-2.fc32.x86_64
file /usr/bin from install of myapp-0.0.1-1.noarch conflicts with file from package filesystem-3.14-2.fc32.x86_64
file /usr/lib from install of myapp-0.0.1-1.noarch conflicts with file from package filesystem-3.14-2.fc32.x86_64
[liveuser@localhost-live ~]$It looks as though it might be a target directory problem, am I using the wrong ones for Fedora?
My (Python) app on Ubuntu has the executable installed in /usr/bin, the egg stuff in /usr/lib and the rest in /usr/share/ applications doc man and myapp/
If I changed those directories to suit Fedora, would they also work on Ubuntu, or would I have to create two different packages?
I know I can temporarily install packages when I am running a live CD in Ubuntu, perhaps this is not possible in Fedora, which is the cause of the problem, is that it?