Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling in rpms newer than those needed? #16

Open
hartwork opened this issue Jun 21, 2015 · 5 comments
Open

Pulling in rpms newer than those needed? #16

hartwork opened this issue Jun 21, 2015 · 5 comments

Comments

@hartwork
Copy link

When trying to install fedora-22, a version of rpm is installed that is too to mee other the requirements of other packages, it seems.

A version "<= 4.2.2-1" seems to be needed:

# time sudo http_proxy=http://127.0.0.1:8123/ yumbootstrap fedora-22 fedora-22-root
[..]
Running transaction check
ERROR You need to update rpm to handle:
rpmlib(BuiltinLuaScripts) <= 4.2.2-1 is needed by glibc-2.21-5.fc22.x86_64
rpmlib(BuiltinLuaScripts) <= 4.2.2-1 is needed by glibc-common-2.21-5.fc22.x86_64
rpmlib(BuiltinLuaScripts) <= 4.2.2-1 is needed by libgcc-5.1.1-3.fc22.x86_64
rpmlib(FileCaps) <= 4.6.1-1 is needed by iputils-20140519-4.fc22.x86_64
rpmlib(BuiltinLuaScripts) <= 4.2.2-1 is needed by bash-4.3.39-1.fc22.x86_64
rpmlib(BuiltinLuaScripts) <= 4.2.2-1 is needed by filesystem-3.2-32.fc22.x86_64
rpmlib(BuiltinLuaScripts) <= 4.2.2-1 is needed by setup-2.9.6-1.fc22.noarch
RPM needs to be updated
[..]

But version 4.12.0.1 seems to be downloaded and installed:

# find fedora-22-root/ -type f -name 'rpm*' | xargs -n1 basename
rpm-libs-4.12.0.1-10.fc22.x86_64.rpm
rpm-python-4.12.0.1-10.fc22.x86_64.rpm
rpm-plugin-systemd-inhibit-4.12.0.1-10.fc22.x86_64.rpm
rpm-plugin-selinux-4.12.0.1-10.fc22.x86_64.rpm
rpm-build-libs-4.12.0.1-10.fc22.x86_64.rpm
rpm-4.12.0.1-10.fc22.x86_64.rpm

How come?

Could it be that mirrors different fedora releases are mixed or something?

@chewi
Copy link

chewi commented Nov 7, 2015

I'm hitting this when trying Fedora 23.

@chewi
Copy link

chewi commented Nov 7, 2015

I just figured it out! @hartwork and I are both Gentoo users and Gentoo installs rpm with the caps and lua USE flags disabled by default. Enabling these makes the problem go away.

@hartwork
Copy link
Author

hartwork commented Nov 7, 2015

@chewi, it seems you are right: many thanks!
I have fixed the yumbootstrap dependencies in betagarden now, as proposed (https://cgit.gentoo.org/proj/betagarden.git/commit/?id=9137f823357ea4ff482e6dc88f5ecfb215985b4b).

Could you elaborate how you found caps or why it is needed?

@chewi
Copy link

chewi commented Nov 8, 2015

I just saw BuiltinLuaScripts and FileCaps and figured that's what was needed!

@hartwork
Copy link
Author

hartwork commented Nov 8, 2015

Alright, I overlooked FileCaps. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants