This seems really odd to me. I have a raspberry pi running Raspbian. I use it to run a shell script from time to time and pinhole.
Today I noticed that its not working anymore. When trying to run the
curl command, which is the first command in the shell script, I get the following output:
curl: error while loading shared libraries: lybnghttp2.so.14: cannot open shared object file: No such file or directory
When trying to run
apt-get, I get this:
pi@raspberrypi:~ $ sudo apt-get terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check: __n (which is 1) >= this->size() (which is 1) Aborted
What could cause this strange behaviour? Everything worked yesterday. Raspbian shouldn't run any updates automatically, should it?
There should also be enough space the device:
pi@raspberrypi:~ $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 15G 4.8G 8.8G 36% / devtmpfs 460M 0 460M 0% /dev tmpfs 464M 256K 464M 1% /dev/shm tmpfs 464M 13M 452M 3% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 464M 0 464M 0% /sys/fs/cgroup /dev/mmcblk0p1 44M 23M 22M 52% /boot tmpfs 93M 0 93M 0% /run/user/1000 tmpfs 93M 0 93M 0% /run/user/999
Searching for the missing
sudo find / -name 'lybnghttp2.so*' gave me this:
find: ‚/run/user/1000/gvfs‘: Permission denied find: ‚/var/lib/apt/mirrors/partial‘: Structure needs cleaning
Is there anyone who experienced something similar and can help me?