New Raspberry Pi user. Running Raspberry Pi OS, current download, dated 5-27-2020. OS updates are installed before trying to install Libasound2. Using the command "sudo apt-get install git-all libasound2-dev -y".
During the install process a message will appear in the top right corner of the desktop that says "Drive was removed without ejecting, please use menu to eject before removal". After a reboot the system will only boot to a login prompt.
I have tried 3 different Pi boards, which are either a Pi 3B or 3B+, also tried different SD cards, same results.
How can I install Libasound2 without corrupting the system?