xdeb-org / xdeb

XDEB - Convert deb (Debian) packages to xbps (Void Linux)
MIT License
305 stars 16 forks source link

Installing some .deb recreating /lib symlink that points to /usr/lib borking the system. #9

Open ghost opened 3 years ago

ghost commented 3 years ago

I tried installing a .deb (touchegg_2.0.9_amd64.deb), it removed the symlink /lib and instead created a blank folder /lib at its place. That makes the system fall back to sh with just busybox unable to execute any executables in the /bin folder. I think it should deal with debian's /lib folders being not symlinks to /usr/lib

toluschr commented 3 years ago

When I run the script on touchegg_2.0.9_amd64.deb, it shows a warning [!] Conflict: 'destdir/lib' (Which is advised not to be ignored, right at the top of the readme).

There is already an option fix the conflicts automatically, which is disabled by default (-f or XDEB_OPT_FIX_CONFLICT). Do you think, it should be enabled by default instead?

ghost commented 3 years ago

ask the user whether to fix the conflicts or not during script run