View Single Post
msa's Avatar
Posts: 909 | Thanked: 216 times | Joined on Nov 2009 @ Bremen, Germany
#119
Originally Posted by zlatko View Post
@msa
Post exact steps/commands you are using. When you change to root you change directory as well. You can always check where are you by typing pwd. So if your .deb file is located in /home/user then when you change to root you have to type the complete path, because now your current directory will be /root .

PS. Always use ctrl+i to get your shell autocomplete - this will save you a lot of typing.
thanks for the ctrl-i hint!

but i see the problem now: i ssh'd into home/user/mydocs and put the deb-file in there

but when i enter home/user/mydocs via terminal and check with ls, it shows me a whole lot of other folder that i didnt see when i copied the files through my computer. looks like this is a completely different mydocs?!

what i did:
copy the .deb-file to /home/user/MyDocs
start terminal
sudo gainroot, after this i was at /home/user
cd MyDocs/, after this i was at /home/user/MyDocs/
dpkg -i longassfilename.deb (<- ctrl+i didnt work on that either)
bla bla no such file or directory