Convert rpm package into xbps for void linux inspired by https://github.com/xdeb-org/xdeb
| README.md | idk | |
| xrpm | idk | |
XRPM
A fast RPM to XBinary package converter with automatic dependency resolution.
Warning
Do NOT use on low system packages. This tool is designed for converting full application packages, not core system components. Using it on system packages may cause system instability. dont blame the script if system broken if you used and installed low system package.
not recommended to convert:
- System Drivers
- Program that would modify syskernel
where it useful:
- some Browser
Quick Usage
xrpm [OPTIONS] FILE.rpm
Main Options
-d- Automatic dependency resolution-S- Sync/create dependency table-v, --verbose- Enable verbose output--dry-run- Show what would be done (no changes)
Package Control
-q- Extract only, don't build package-b- Build from existing destdir (skip extract)-I- Auto-install after successful build-R- Don't register in repository
Dependency Handling
-L- Enable lazy dependency matching--deps=...- Add manual dependencies--not-deps=...- Exclude specific dependencies
Conflict Handling
-f- Fix common file conflicts (default)-F- Don't fix file conflicts-i- Don't warn about conflicts
Cleanup
-c- Clean work directories-C- Clean everything except deptable
Examples
xrpm -d package.rpm # Convert with auto deps
xrpm -dI package.rpm # Convert and install
xrpm --dry-run -d package.rpm # Preview changes
And what do when Package not matches?
Answer: try discover deps by yourself and use -D="required deps"