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

rpm cannot run with ramdisk system #587

Closed
terrytian88 opened this issue Oct 29, 2018 · 3 comments
Closed

rpm cannot run with ramdisk system #587

terrytian88 opened this issue Oct 29, 2018 · 3 comments

Comments

@terrytian88
Copy link

terrytian88 commented Oct 29, 2018

It will be termerited after "Preparing......" promption with ramdisk system.
and it stop at function rpmtsCheckDSIProblems().

default

@ffesti
Copy link
Contributor

ffesti commented Oct 29, 2018

Well, it says that more disk space is needed. Without more details about your setup it is impossible to judge whether this is an problem with rpm or not. Can you please at least provide the out put of df -h.

@terrytian88
Copy link
Author

terrytian88 commented Oct 30, 2018

Thank a lot and the output of df -h as below:
default

And rpm can work on installing package if I removed function rpmtsCheckDSIProblems() and recompiled the code based on Rev4.14.2.1.

@pmatilai
Copy link
Member

pmatilai commented Nov 5, 2018

Um, that df output is missing all normal mounts, including the root itself and details on the used filesystem. I don't know how such a system is supposed to work at all, but I'm not exactly surprised if rpm wont work in that environment - rpm relies on mount info to determine whether the installation is possible, and since there's no root then nothing at all can be installed.

You don't need to recompile to disable disk space checking for a wacko special case, just use --ignoresize

@pmatilai pmatilai closed this as completed Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants