Okay, where to start.... You did: ~# cd/etc/apt/sources.list.d sh:cd/etc/apt/sources.list.d: not found There's no space between the cd command and the directory your trying to navigate to. Try typing: cd /etc/apt/sources.list.d You did: ~# cd /usr/share/applications sh:cd /usr/share/applications: not found The directory/usr/share/applications is valid so I'm not sure what the issue is here. Try becoming root with the below command, then navigate to the /usr/share directory and perform an ls to see what the deal with that directory is. You did: ~#ssh root@localhost root@localhost's password (typed rootme) Permission denied, please try again The root user is not allowed to ssh to the N9. To become root using the rootme password, the command is: devel-su