I have a 2014 MacBookPro and installed Catalina (10.15.3) on it. When I try to reboot or shutdown my computer from Apple > Restart or Apple > Shutdown, it logs me out but does not power off the machine. Instead, there is a blank screen and the wallpaper (no running apps on the screen).
After a fresh install of Catalina and with no running apps, when I try to restart or power off the machine from the Terminal by using
sudo shutdown -r now
sudo shutdown -h now
shutdown: /Volumes/Macintosh HD 1 is busy updating; wait for lock
What could the problem be? Software of hardware related?