Re: rpmbuild: compiles without error but does not install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 3 Oct 2016 09:30:44 -0700 Rick Stevens <ricks@xxxxxxxxxxxxxx> wrote:

> On 10/03/2016 06:38 AM, Ranjan Maitra wrote:
> > Hi,
> > 
> > I have had issues with batti for quite a while, and I came across battray as a replacement (and it works). So, I was trying to put it together as a rpm and perhaps and get it approved for Fedora.
> > 
> > I have created the following spec file available here:
> > 
> > https://paste.fedoraproject.org/442597/50173214
> > 
> > It compiles without error. However, when I try to install the rpm using 
> > 
> > $sudo dnf install ../RPMS/noarch/battray-2.2-1.fc24.noarch.rpm 
> > 
> > I get:
> > 
> > Last metadata expiration check: 0:15:05 ago on Mon Oct  3 08:21:04 2016.
> > Error: nothing provides /bin/python3 needed by battray-2.2-1.fc24.noarch
> > (try to add '--allowerasing' to command line to replace conflicting packages)
> > 
> > The addition of '--allowerasing' does not change anything other than to remove the suggestion.
> > 
> > Any suggestions as to what is wrong with my spec file?
> 
> It looks like you have an install dependency on /bin/python3 but it's
> not installed (check "ls /bin/python3"). That file is provided by the
> python3-3.5.1-17.fc24.x86_64 RPM (on my updated machine).

Rick,

Thanks! But I have a 

Requires: python3

Is that not enough?

Besides, python3 and python3-devel is also installed and updated on my machine.

Ranjan


> 
> ----------------------------------------------------------------------
> - Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
> - AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
> -                                                                    -
> -  Diplomacy: The art of saying "Nice doggy!" until you can find a   -
> -                            big enough rock.                        -
> ----------------------------------------------------------------------
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx


-- 
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux