Hello everybody! There is a big problem with the Banana PI Pro. The system is installed on the micro SD, when updating the packages I get the following result:
root@bananapipro:~# apt-get install mdadm
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6-dev : Depends: libc6 (= 2.19-18+deb8u9) but 2.19-18+deb8u7 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@bananapipro:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc-dev-bin libc6
Suggested packages:
glibc-doc
Recommended packages:
manpages-dev
The following packages will be upgraded:
libc-dev-bin libc6
2 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
2 not fully installed or removed.
Need to get 0 B/4,196 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 52471 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-18+deb8u9_armhf.deb ...
Unpacking libc6:armhf (2.19-18+deb8u9) over (2.19-18+deb8u7) ...
dpkg: error processing archive /var/cache/apt/archives/libc6_2.19-18+deb8u9_armhf.deb (--unpack):
unable to clean up mess surrounding `./usr/lib/arm-linux-gnueabihf/audit/sotruss-lib.so' before installing another version: Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/doc/libc6/test-results-arm-linux-gnueabihf-libc': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/doc/libc6/BUGS': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/doc/libc6/copyright': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/doc/libc6/README.Debian.gz': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/doc/libc6/README.hesiod.gz': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/doc/libc6/NEWS.gz': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/doc/libc6/changelog.gz': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/doc/libc6/NEWS.Debian.gz': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/doc/libc6/changelog.Debian.gz': Read-only file system
dpkg: error while cleaning up:
unable to restore backup version of `/usr/share/lintian/overrides/libc6': 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-deb: error: subprocess paste was killed by signal (Broken pipe)
dpkg: error: unable to create new file '/var/lib/dpkg/status-new': Read-only file system
E: Sub-process /usr/bin/dpkg returned an error code (2)
E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp
dmesg:
[ 21.114064] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0
[ 21.141516] sunxi-ir 1c21800.ir: initialized sunXi IR driver
[ 21.167429] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 22.496820] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[ 24.594576] Adding 131068k swap on /var/swap. Priority:-1 extents:2 across:163836k SSFS
[ 25.465944] systemd-journald[248]: Received request to flush runtime journal from PID 1
[ 26.591321] RX IPC Checksum Offload disabled
[ 26.605358] No MAC Management Counters available
[ 26.605384] sun7i-dwmac 1c50000.ethernet eth0: fail to init PTP.
[ 26.605736] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 30.741639] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 30.746410] 8021q: adding VLAN 0 to HW filter on device bond0
[ 30.865735] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 31.637564] Link is Up - 1000/Full
[ 403.827540] error 0 requesting status 0x80e00
[ 403.935673] error 0 requesting status 0x80900
[ 403.949068] blk_update_request: I/O error, dev mmcblk0, sector 2353400
[ 403.965954] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 25, WR EBE !!
[ 403.981194] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[ 403.996814] mmcblk0: mmc_blk_cmd_recovery: general error sending stop or status command, stop cmd response 0x80d00, card status 0x900
[ 404.027099] mmcblk0: timed out sending r/w cmd command, card status 0x900
[ 404.135650] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 25, WR EBE !!
[ 404.150685] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[ 404.166049] mmcblk0: mmc_blk_cmd_recovery: general error sending stop or status command, stop cmd response 0x80d00, card status 0x900
[ 404.196038] mmcblk0: timed out sending r/w cmd command, card status 0x900
[ 404.211922] blk_update_request: I/O error, dev mmcblk0, sector 2353400
[ 404.227523] blk_update_request: I/O error, dev mmcblk0, sector 2353408
[ 404.242928] blk_update_request: I/O error, dev mmcblk0, sector 2353416
[ 404.258004] blk_update_request: I/O error, dev mmcblk0, sector 2353424
[ 404.272836] blk_update_request: I/O error, dev mmcblk0, sector 2353432
[ 404.287332] blk_update_request: I/O error, dev mmcblk0, sector 2353440
[ 404.301529] blk_update_request: I/O error, dev mmcblk0, sector 2353448
[ 404.315695] EXT4-fs (mmcblk0p1): Delayed block allocation failed for inode 5550 at logical offset 0 with max blocks 7 with error 5
[ 404.342500] EXT4-fs (mmcblk0p1): This should not happen!! Data will be lost
[ 404.368220] error 0 requesting status 0x80900
[ 404.380212] blk_update_request: I/O error, dev mmcblk0, sector 2353456
[ 404.394670] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 25, WR EBE !!
[ 404.408187] sunxi-mmc 1c0f000.mmc: data error, sending stop command
[ 404.422062] mmcblk0: mmc_blk_cmd_recovery: general error sending stop or status command, stop cmd response 0x80d00, card status 0x900
[ 404.449171] mmcblk0: timed out sending r/w cmd command, card status 0x900
SD card, new. There are no bad blocks, it is checked. This also arises on the new pure Armbian_5.25_Bananapipro_Debian_jessie_next_4.9.7.img and on my main distribution, also updated to 5.25
How to solve this problem?