Error message
Inhaltsverzeichnis
sh: 0: getcwd() failed: No such file or directory:
Solution
If you get this error message via apt-get you are currently in a folder which is no longer existing.
Just change your directory and the error message will disappear.
(You get the error when you want to remove a package and then install something when you are currently in the deleted folder)