I have been using my Raspberry Pi 3 A+ for a few months now,
and recently I ran
sudo apt upgrade && sudo apt update.
After this, the raspberry pi worked fine, but after I rebooted it would show the splash
screen and start booting, but it stops at
Pressing F4, it shows
[ OK ] Started Hostname Service.
The OS is Raspberry Pi Desktop 3.4, with NOOBS installed.