Nextcloud on PI

Have installed nextcloud on a raspberry pi3+ with the Raspbian OS. On the first reboot the listing stops and asks for me to log in (OK) then says nextcloud is outdated and needs an update. I type in the sudo ncp-update command and it starts then stops with message
“apt still running. Try again later”. Still the same after 15 min. How do I by-pass this step so that Raspbian starts?