-
Notifications
You must be signed in to change notification settings - Fork 45
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
Dealing with very old fedora release #39
Comments
What you encountered, the RPM database being in the BerkeleyDB format of the host instead of the guest, is not a weird, obscure case. I would say it's more or less an expected problem. It's the reason why I included the What you did is pretty much the same, except you installed the older BDB tools on the host in |
Ah, OK, that's interesting, I had wondered if something like that was the case! Do you want anything else from my end? I've got a easily testable forked copy of the source with FC8 changes with a branch fedora8-support at : https://github.com/pevsonic/yumbootstrap That fork also has an extra commit that adds a switch to ignore gpg checks which is needed to use fedora 8 which might be worth grabbing (there appears to be no valid key available any more for some of the packages) Thanks! |
I managed to reproduce the problem, for now this is enough. A command line option to disable GPG signatures is a good idea (though disabling GPG signatures is itself not a good idea). I think I'll include your commit. Thanks. |
I have good news. Apparently rpm is shipped with BerkeleyDB utilities appropriate for its database, and it's in the same place for all Fedora versions I checked, Fedora 8 through 27. If you adjust
I need to see if the |
Ah, nice one, thanks. Having a quick dig, you're right - it will be universal as it's part of rpm : That's a tidy resolution! |
Hiya,
So firstly, yumbootstrap is a cracking tool - I'm using it to help create a docker base image for resurrecting a very old build environment for an old project that needs to be built on Fedora 8 so I'm sure this is almost certainly going to be an obscure / non issue for most people :-)
As per the usage example in README.md, I'm doing :
The last command fails however with :
This looks to be because the
${CHROOT}/var/lib/rpm/Packages
has been created with a version of rpm that isn't backwards compatible.Luckily it seems to be the last operation so I can repair the Packages file by building bdb v4.2.52 and using it :
I'm scratching my head though to see if there's clean way to fix this? Im also wondering if its even worth bothering as Im not sure if anyone else would be interested in this as its a spot obscure?
The text was updated successfully, but these errors were encountered: