unable to create working installation rpm

Post

Posted
Rating:
#1 (In Topic #469)
Avatar
Enthusiast
sadams54 is in the usergroup ‘Enthusiast’
I have been having this issue for months now and nobody can help. I have working projects. I go to create the installation package for fedora so I am making an rpm. No errors come up and it creates fine. However I can't install it on any fedora 32 system. I normally use the software installer and all dependencies are put in for me. I installed gambas3-runtime using dnf and no issues there. below is an example of the attempt to install using terminal. Signed in as normal user or root gives same result.. I have tried on multiple systems including the one I used for this sample which is a fresh install with all updates. If I try to use the software installer I get this.
Image

(Click to enlarge)


[test@localhost ~]$ rpm -ivh rename-1.0.8-1.fdr.noarch.rpm
error: Failed dependencies:
   gambas3-gb-form >= 3.14 is needed by rename-1.0.8-1.fdr.noarch
   gambas3-gb-form < 3.99.0 is needed by rename-1.0.8-1.fdr.noarch
   gambas3-gb-gtk >= 3.14 is needed by rename-1.0.8-1.fdr.noarch
   gambas3-gb-gtk < 3.99.0 is needed by rename-1.0.8-1.fdr.noarch
   gambas3-gb-image >= 3.14 is needed by rename-1.0.8-1.fdr.noarch
   gambas3-gb-image < 3.99.0 is needed by rename-1.0.8-1.fdr.noarch
   gambas3-gb-settings >= 3.14 is needed by rename-1.0.8-1.fdr.noarch
   gambas3-gb-settings < 3.99.0 is needed by rename-1.0.8-1.fdr.noarch
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
Just a thought, if you use dnf to install gambas3-gb-form, gambas3-gb-gtk, gambas3-gb-image & gambas3-gb-settings does that help?
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Enthusiast
sadams54 is in the usergroup ‘Enthusiast’
yes it does make a difference. It clears up the missing dependancies but not the final problem. I still get the below message just like installing from software install. This is a recreatable issue. I am getting it on multiple fedora 32 machines.
Image

(Click to enlarge)

Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’
 Hi sadams54,

Apparently the package util-linux-2.35.1-1.fc32.x86_64 already contains a file/binary named 'rename'.
That's what causes your conflict as your package is also named 'rename'

I suggest you name your package differently and try again.

gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: Yes Back to the top

Post

Posted
Rating:
#5
Avatar
Enthusiast
sadams54 is in the usergroup ‘Enthusiast’

gbWilly said

Hi sadams54,

Apparently the package util-linux-2.35.1-1.fc32.x86_64 already contains a file/binary named 'rename'.
That's what causes your conflict as your package is also named 'rename'

I suggest you name your package differently and try again.

Holy crap it was that easy. I sat for months not able to figure out the obvious. Thank you for pointing it out and I made the change. now it works right.
Online now: No Back to the top
1 guest and 0 members have just viewed this.