sudo su = get to root

su – pi = to get to pi user

go to root to update the packages

apt-get update to update the pi