• Antergos does not boot properly after installing libz from AUR


    Hey,

    I hope this is the right place to ask.

    I had a problem with PlayOnLinux and Internet research gave me the idea that the problem was with libz. I ended up installing libz from AUR over the Software GUI, which did not solve my problem. When I tried to remove libz again, it told me pacman would have to be removed too, which I obviously did not do.
    Now I can not boot anymore. Everything is normal at first, but then when the login screen should appear I am stuck with a black screen.

    How can I revert my actions and remove the AUR version of libz again and possibly restore the right version of libz again?
    I can post every log files you need to see. I have access to my PC over Ubuntu that I have installed besides Antergos and I don’t know how to obtain the journalctl log over Ubuntu.
    The solution might be fairly easy, but I don’t want to make it worse, that’s why I am bothering this forum.

    Any help is greatly appreciated.

  • journalctl of last boot

    This is the issue, lightdm is not starting. I am still sure than my messing around with libz was the problem.

    Mar 13 03:32:09 Arch-XFCE systemd[1]: lightdm.service: Main process exited, code=dumped, status=11/SEGV
    Mar 13 03:32:09 Arch-XFCE systemd[1]: lightdm.service: Failed with result 'core-dump'.
    Mar 13 03:32:09 Arch-XFCE systemd-coredump[518]: Process 503 (lightdm) of user 0 dumped core.
                                                     
                                                     Stack trace of thread 503:
                                                     #0  0x0000561a2bd532ab n/a (lightdm)
                                                     #1  0x0000561a2bd56c03 n/a (lightdm)
                                                     #2  0x00007f758782dea6 n/a (libgobject-2.0.so.0)
                                                     #3  0x00007f758784aaf9 g_signal_emit_valist (libgobject-2.0.so.0)
                                                     #4  0x00007f758784b240 g_signal_emit (libgobject-2.0.so.0)
                                                     #5  0x00007f758782dc5d g_closure_invoke (libgobject-2.0.so.0)
                                                     #6  0x00007f7587841b50 n/a (libgobject-2.0.so.0)
                                                     #7  0x00007f758784a806 g_signal_emit_valist (libgobject-2.0.so.0)
                                                     #8  0x00007f758784b240 g_signal_emit (libgobject-2.0.so.0)
                                                     #9  0x00007f7587550524 n/a (libglib-2.0.so.0)
                                                     #10 0x00007f7587553ca6 g_main_context_dispatch (libglib-2.0.so.0)
                                                     #11 0x00007f7587554081 n/a (libglib-2.0.so.0)
                                                     #12 0x00007f75875543b2 g_main_loop_run (libglib-2.0.so.0)
                                                     #13 0x0000561a2bd47131 n/a (lightdm)
                                                     #14 0x00007f75865fbf4a __libc_start_main (libc.so.6)
                                                     #15 0x0000561a2bd47e4a n/a (lightdm)
                                                     
                                                     Stack trace of thread 507:
                                                     #0  0x00007f75866cb879 syscall (libc.so.6)
                                                     #1  0x00007f758759adcd g_cond_wait_until (libglib-2.0.so.0)
                                                     #2  0x00007f7587527753 n/a (libglib-2.0.so.0)
                                                     #3  0x00007f758757cc76 n/a (libglib-2.0.so.0)
                                                     #4  0x00007f758757c26a n/a (libglib-2.0.so.0)
                                                     #5  0x00007f758699908c start_thread (libpthread.so.0)
                                                     #6  0x00007f75866d0e7f __clone (libc.so.6)
                                                     
                                                     Stack trace of thread 508:
                                                     #0  0x00007f758759ab94 g_mutex_unlock (libglib-2.0.so.0)
                                                     #1  0x00007f7587848932 g_signal_handlers_destroy (libgobject-2.0.so.0)
                                                     #2  0x00007f7587832f4c g_object_unref (libgobject-2.0.so.0)
                                                     #3  0x00007f7587b4881b n/a (libgio-2.0.so.0)
                                                     #4  0x00007f7587b4a470 n/a (libgio-2.0.so.0)
                                                     #5  0x00007f7587b0224c n/a (libgio-2.0.so.0)
                                                     #6  0x00007f7587b02289 n/a (libgio-2.0.so.0)
                                                     #7  0x00007f7587553ca6 g_main_context_dispatch (libglib-2.0.so.0)
                                                     #8  0x00007f7587554081 n/a (libglib-2.0.so.0)
                                                     #9  0x00007f75875543b2 g_main_loop_run (libglib-2.0.so.0)
                                                     #10 0x00007f7587b486d8 n/a (libgio-2.0.so.0)
                                                     #11 0x00007f758757c26a n/a (libglib-2.0.so.0)
                                                     #12 0x00007f758699908c start_thread (libpthread.so.0)
                                                     #13 0x00007f75866d0e7f __clone (libc.so.6)
                                                     
                                                     Stack trace of thread 506:
                                                     #0  0x00007f75866c697b __poll (libc.so.6)
                                                     #1  0x00007f7587553ff3 n/a (libglib-2.0.so.0)
                                                     #2  0x00007f758755410e g_main_context_iteration (libglib-2.0.so.0)
                                                     #3  0x00007f7587554162 n/a (libglib-2.0.so.0)
                                                     #4  0x00007f758757c26a n/a (libglib-2.0.so.0)
                                                     #5  0x00007f758699908c start_thread (libpthread.so.0)
                                                     #6  0x00007f75866d0e7f __clone (libc.so.6)
                                                     
                                                     Stack trace of thread 509:
                                                     #0  0x00007f75866cb879 syscall (libc.so.6)
                                                     #1  0x00007f758759adcd g_cond_wait_until (libglib-2.0.so.0)
                                                     #2  0x00007f7587527753 n/a (libglib-2.0.so.0)
                                                     #3  0x00007f758757cc76 n/a (libglib-2.0.so.0)
                                                     #4  0x00007f758757c26a n/a (libglib-2.0.so.0)
                                                     #5  0x00007f758699908c start_thread (libpthread.so.0)
                                                     #6  0x00007f75866d0e7f __clone (libc.so.6)
    Mar 13 03:32:09 Arch-XFCE systemd[1]: lightdm.service: Service hold-off time over, scheduling restart.
    Mar 13 03:32:09 Arch-XFCE systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
    

    I tried to chroot into Antergos and replace the libz AUR version with the official zlib version with pacman, but pacman is not running properly in the chroot. I’ll now try to mess with the boot options to get a command line boot and try pacman from there.

  • @desmond

    In the grub boot menu press e then in line started with linux put a number 3 at the end of line then press F10. This number means system init level (runlevel), 0 is halt, 1 is single user mode, 2 is multi user, 3 is multi user with network, 4 is multi user with display manager, 5 is not used but the behavior is set to the same as 3 and 6 is reboot.

    I hope this help you 🙂

  • @Edwin-Foss
    Thanks for the reply. I tried that (I also tried text), but that left me with a blank screen as well
    journalctl of the runlevel 3 boot

    By the way: the error messages

    kernel: usbhid 3-3:1.2: couldn't find an input interrupt endpoint
    
    systemd-modules-load[441]: Failed to find module 'v4l2loopback_dc'
    systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
    systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
    systemd[1]: Failed to start Load Kernel Modules.
    

    occurred long before this problem arose as far as I know, so they are probably not related. (I know I should not have been lazy and fixed those long ago 😓 )

  • lightdm/x-0.log contains only this line

    /usr/lib/xorg-server/Xorg: /usr/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16)
    

    So now it is clear, what kind of was clear all along, that I needed to install the right version of zlib again.
    Would using arch-chroot from some arch live system have a higher chance of pacman working properly?

  • Using arch-chroot in a live system was enough to get pacman running. Then it was only a matter of installing the right zlib version.
    I’m sorry to have bothered this forum. I was in panic mode. x)

  • Sorry for late answer I was very busy lately but I’m glad that you figured out the solution.

    About this:
    kernel: usbhid 3-3:1.2: couldn't find an input interrupt endpoint
    Some usb devices doesn’t send endpoints correctly in usb protocol, is not an error it’s just warning 🙂

    and this

    systemd-modules-load[441]: Failed to find module 'v4l2loopback_dc'
    systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
    systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
    systemd[1]: Failed to start Load Kernel Modules.
    

    V4L2 stands for Video for Linux version 2 and its loopback more info here https://github.com/umlaeute/v4l2loopback

boot255 installing106 properly21 libz1 Posts 7Views 442
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.