Re: centos 8 mock built rpm was unexplained dep in /usr/bin/python

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

 



Barry Scott wrote:
> I'm packaging pylint for python2 on centos8 and it builds fine but will not install.
> (Yes I know python2 is end of life - working on it)

At least on EL8, python2 will be supported for a number of
years still.  Obviously, moving to python3 is still the wise
plan. :)

> mock is used to do the builds.
> 
> Here is what happens with I do the dnf install:
> 
> # dnf install -y ods-python-pylint
> Last metadata expiration check: 0:19:59 ago on Fri 13 Mar 2020 16:22:30 UTC.
> Error:
>  Problem: conflicting requests
>   - nothing provides /usr/bin/python needed by ods-python-pylint-1.9.3-2.noarch
> (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
> 
> And this is what rpm thinks are the requirements:
> 
> $ rpm -qpR ods-python-pylint-1.9.3-2.noarch.rpm
> ods-python-astroid
> ods-python-backports.functools_lru_cache
> ods-python-configparser
> ods-python-enum34
> ods-python-futures
> ods-python-isort
> ods-python-lazy-object-proxy
> ods-python-mccabe
> ods-python-singledispatch
> ods-python-wrapt
> python(abi) = 2.7
> python2
> python2-six
> rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(PayloadIsXz) <= 5.2-1
> 
> Anyone know where is the /usr/bin/python coming from or how I can debug this?

I would guess it's from a shebang in one of the scripts
within the package.  But I don't know what's in the
ods-python-pylint package so I can only guess.

-- 
Todd

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@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