Hi
Are there any know issues with current Raspbian and indiserver release?
I had one of those bad ideas - update everything on my raspberry pi and hence my problem.
After updating raspbian with apt-get I went for newest indiserver 1.4.1 and the problem started. Currently when I try to install indiserver deb files my raspbian literally dies.
What it looks like now:
pi@rpi:~/bin/indilib/libindi_1.4.1_rpi $ uname -a
Linux rpi 4.9.22-v7+ #987 SMP Fri Apr 1423:23:05 BST 2017 armv7l GNU/Linux
pi@rpi:~/bin/indilib/libindi_1.4.1_rpi $ sudo dpkg -r --force-depends indi-bin
dpkg: indi-bin: dependency problems, but removing anyway as you requested:
libindi1:armhf depends on indi-bin (>= 1.4.1).
dpkg: error processing package indi-bin (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
indi-bin
Any tips how can I remove whole indiserver installation and install it again?
pi@rpi:~/bin/indilib/libindi_1.4.1_rpi $ sudo dpkg -i indi-bin_1.4.1_armhf.deb
Selecting previously unselected package indi-bin.
(Reading database ... 129218 files and directories currently installed.)
Preparing to unpack indi-bin_1.4.1_armhf.deb ...
Unpacking indi-bin (1.4.1) over (1.4.1) ...
dpkg: error processing archive indi-bin_1.4.1_armhf.deb (--install):
unable to create `/usr/bin/indi_simulator_ccd.dpkg-new' (while processing `./usr/bin/indi_simulator_ccd'): Read-only file system
dpkg: error while cleaning up:
unable to remove newly-extracted version of `/usr/bin/indi_simulator_ccd': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/bin/indi_joystick': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/lib/udev/rules.d/99-perfectstar.rules': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/lib/udev/rules.d/99-hitecastrodcfocuser.rules': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/lib/udev/rules.d/99-gpusb.rules': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/lib/udev/rules.d/99-flipflat.rules': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/lib/udev/rules.d/99-vantage.rules': Read-only file system
dpkg: error while cleaning up:
unable to securely remove '/var/lib/dpkg/tmp.ci': Read-only file system
dpkg: error while cleaning up:
unable to securely remove '/var/lib/dpkg/reassemble.deb': Read-only file system
dpkg: error: unable to create new file '/var/lib/dpkg/status-new': Read-only file system
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
After this command I can not even do simple 'ls' so powering off raspberry and turning it on again is the only solution for me to work further.
Looks like SD card corruption, Linux remounts the file system read-only if it encounters errors on the card, running "dmesg" command should show if that is the case.