-
Notifications
You must be signed in to change notification settings - Fork 11
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
checkinstall
breaks /lib
if interrupted by Ctrl-C
#4
Comments
Maybe it is caused by the second Ctrl-C interrupting the first tar command here:
|
Thanks for the instructions to recover, just ran into the same issue when packaging emacs. |
Had the same symptoms of all commands broken including ls, couldn't open anything. Couldn't even shut down, rebooting caused a kernel panic. I had to restore snapshot via timeshift. |
I'm having the same problem with using checkinstall for gcc for arm-none-eabi, without even using Ctrl+C. It just crashed and bricked my system until I fixed it. I tried again, thinking I was ready, with a statically-linked busybox binary, but I couldn't use sudo to get root privs to fix it, so it died again. The specific file that got placed in the new /lib is |
This is probably the wrong repo to ask that question. I created it only to share a bugfix I made years ago. |
Thanks for the instructions ! |
This just happened to me it seems. I'm on Ubuntu 20.04. Would the fix work for me too? I haven't restarted my system yet; could this be done without booting from an external drive? |
I was packaging libtorrent after having built from source using checkinstall and pressing Ctrl-C during its execution broke my system.
Here the execution log that I managed to preserve:
From there, all commands were broken, including bash, ls and sudo.
Not sure why but I believe this is caused by checkinstall wanting to restore an non-existent or wrong backup tar archive.
I had to reboot on a recovery medium to restore the symbolic link from
/usr/lib
to/lib
:The text was updated successfully, but these errors were encountered: