Integer wrote: there was no space left on my sd-card. So some of the updates failed. After that the auto-completion in the shell didn't work,
[comments are kind of out of order for what you might want to do]
If this happens, you really are out of space, including I think the extra reserved for the system. Perhaps that isn't true though if tab completion is failing just for a normal user. Try doing it after switching to root.
I can't test this because, well, I know I have machines that are close to full but nothing is completely full right now and I'd avoid that because upgrades could mess up the system itself. I wish that apt-get would just tell you there isn't any more space and stop, instead it just keeps going and who knows what it remembers it needs to do whenever you get space back.
sd-card besides configuration files so I didn't know what do delete. So I restarted the Pi, hoping that would clear some temporary files.
If you can eventually get it to boot, try:
sudo apt-get clean
which will remove cache stuff from deep in the /var dir. You might also try:
sudo apt-get autoremove
which may or may not find some extra stuff that it thinks isn't currently needed. Even if you are planning on using it, but have done nothing with it yet, you might remove the wolfram engine with:
sudo apt-get remove wolfram-engine
After that, you need to enlarge your partition as the other poster suggests using the raspi-config program.
And the Pi didn't boot anymore. No SSH, no Video output. The Act-Led isn't flashing. Act and Power Led are just bright.
I tried accessing the SD-Card with my Mac, but the Mac only detected the boot partition.
It doesn't have any way to mount the ext4 formatted partition that holds all the stuff you want to fix. There may be a way to do this but I don't have a Mac that is current enough to test anything.
that? Can I save some of the Configuration files
I edited?
Ideally someone who doesn't have a Linux box with an sdcard reader would have a USB sdcard reader they could attach to their pi. Then they would boot via another sdcard in the card holder and mount the old card to edit it. Failing that, it would be nice to have a version of Linux that booted to ram and allowed its sdcard to be removed. One example of that is Tiny Core Linux.
I would take the sdcard out of the system and then find some other sdcards, specifically even a very small one such as a 128meg would work for Tiny Core, and something at least 2gig for the lite version of Raspbian Jessie.
I just tested this with Tiny Core. If you boot to a prompt and make sure that the drive itself is no longer mounted, you can remove it and put in a different sdcard. Then you can mount this card and see what is going on, hopefully your card still mounts right.