Hi Marcus,

please excuse the latency of my response. Had to work.

In the meanwhile, I changed the partition size of the root and home
partitions, allocating more space to root, since there was not enough
free space left for the download of system updates. In that process,
qparted checked the fs. The partitions are named differently
(mmcblk0p2=sdf2), since I took the micro-SD card out of the BanananPi
and plugged it into my PC in order to work on the unmounted partitions.
Here is the report:

GParted 0.30.0 --enable-libparted-dmraid --enable-online-resize

Libparted 3.2

Dateisystem (ext4) auf /dev/sdf2 überprüfen und reparieren  00:00:12    ( 
ERFOLG )
        
/dev/sdf2 kalibrieren  00:00:01    ( ERFOLG )
        
Pfad: /dev/sdf2 (Partition)
Anfang: 729088
Ende: 23656447
Größe: 22927360 (10.93 GiB)
Dateisystem auf /dev/sdf2 auf Fehler überprüfen und (falls möglich) diese 
beheben  00:00:11    ( ERFOLG )
        
e2fsck -f -y -v -C 0 '/dev/sdf2'  00:00:11    ( ERFOLG )
        
Durchgang 1: Inodes, Blöcke und Größen werden geprüft
Durchgang 2: Verzeichnisstruktur wird geprüft 
Durchgang 3: Verzeichnisverknüpfungen werden geprüft 
Durchgang 4: Referenzzähler werden überprüft
Durchgang 5: Zusammengefasste Gruppeninformation wird geprüft

225176 Inodes sind in Benutzung (31.48% von 715264)
275 nicht zusammenhängende Dateien (0.1%)
241 nicht zusammenhängende Verzeichnisse (0.1%)
# von Inodes mit ind/dind/tind Blöcken: 0/0/0
Histogramm der Tiefe von Erweiterungen: 178544/89
1335296 Blöcke werden benutzt (46.59% von 2865920)
0 defekte Blöcke
1 große Datei

157743 reguläre Dateien
19071 Verzeichnisse
54 zeichenorientierte Gerätedateien
25 Blockgerätedateien
0 Fifos
32 Verknüpfungen
48273 symbolische Verknüpfungen (46454 schnelle symbolische Verknüpfungen)
1 Socket
------------
225199 Dateien
e2fsck 1.44.1 (24-Mar-2018)
Dateisystem bis zum Auffüllen der Partition vergrößern  00:00:00    ( ERFOLG )
        
resize2fs -p '/dev/sdf2'  00:00:00    ( ERFOLG )
        
resize2fs 1.44.1 (24-Mar-2018)
Das Dateisystem ist bereits 2865920 (4k) Blöcke lang. Nichts zu tun!


After this was done, I tried to run the command you suggested. Again, I worked 
on my PC with the micro-SD card plugged in: 

ty@tilmann-yvonne-Rechenknecht:~$ mount
[...]
/dev/sdf1 on /media/ty/BPI-BOOT type vfat 
(rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sdf2 on /media/ty/BPI-ROOT type ext4 
(rw,nosuid,nodev,relatime,block_validity,delalloc,barrier,user_xattr,acl,stripe=1024,uhelper=udisks2)
/dev/sdf3 on /media/ty/c54307ab-fcbe-4450-af13-a75bf85ede49 type ext2 
(rw,nosuid,nodev,relatime,block_validity,barrier,user_xattr,acl,uhelper=udisks2)
ty@tilmann-yvonne-Rechenknecht:~$ sudo umount /dev/sdf1
ty@tilmann-yvonne-Rechenknecht:~$ sudo umount /dev/sdf2
ty@tilmann-yvonne-Rechenknecht:~$ sudo umount /dev/sdf3
ty@tilmann-yvonne-Rechenknecht:~$ sudo fsck.ext4 /dev/sdf2
e2fsck 1.44.1 (24-Mar-2018)
BPI-ROOT: sauber, 224654/715264 Dateien, 1334265/2865920 Blöcke
ty@tilmann-yvonne-Rechenknecht:~$ sudo fsck.ext4 /dev/sdf3
e2fsck 1.44.1 (24-Mar-2018)
/dev/sdf3: sauber, 2831/1204224 Dateien, 432951/4809472 Blöcke
ty@tilmann-yvonne-Rechenknecht:~$ sudo fsck.vfat /dev/sdf1
fsck.fat 4.1 (2017-01-24)
/dev/sdf1: 261 files, 53297/65467 clusters
ty@tilmann-yvonne-Rechenknecht:~$ sudo fsck.ext4 -f /dev/sdf2
[sudo] Passwort für ty: 
e2fsck 1.44.1 (24-Mar-2018)
Durchgang 1: Inodes, Blöcke und Größen werden geprüft
Durchgang 2: Verzeichnisstruktur wird geprüft
Durchgang 3: Verzeichnisverknüpfungen werden geprüft
Durchgang 4: Referenzzähler werden überprüft
Durchgang 5: Zusammengefasste Gruppeninformation wird geprüft
BPI-ROOT: 224654/715264 Dateien (0.2% nicht zusammenhängend), 1334265/2865920 
Blöcke
ty@tilmann-yvonne-Rechenknecht:~$ sudo fsck.ext4 -f /dev/sdf3
e2fsck 1.44.1 (24-Mar-2018)
Durchgang 1: Inodes, Blöcke und Größen werden geprüft
Durchgang 2: Verzeichnisstruktur wird geprüft
Durchgang 3: Verzeichnisverknüpfungen werden geprüft
Durchgang 4: Referenzzähler werden überprüft
Durchgang 5: Zusammengefasste Gruppeninformation wird geprüft
/dev/sdf3: 2831/1204224 Dateien (20.6% nicht zusammenhängend), 432951/4809472 
Blöcke

Then I realized, that sdf3 was not ext4 but ext2. So I repeated the last
command with the correct file system:

ty@tilmann-yvonne-Rechenknecht:~$ sudo fsck.ext2 -f /dev/sdf3
e2fsck 1.44.1 (24-Mar-2018)
Durchgang 1: Inodes, Blöcke und Größen werden geprüft
Durchgang 2: Verzeichnisstruktur wird geprüft
Durchgang 3: Verzeichnisverknüpfungen werden geprüft
Durchgang 4: Referenzzähler werden überprüft
Durchgang 5: Zusammengefasste Gruppeninformation wird geprüft
/dev/sdf3: 2831/1204224 Dateien (20.6% nicht zusammenhängend), 432951/4809472 
Blöcke


So, this didn't change anything (I had done no damage when using the wrong file 
system). There were no corrupt parts to repair, maybe qparted had already taken 
care of this. 

After booting the BananaPi again, I tried to run apt update + dist-
upgrade.

pi@bpi-iot-ros-ai:~$ sudo apt update
[...]
50 packages can be upgraded. Run 'apt list --upgradable' to see them.
pi@bpi-iot-ros-ai:~$ sudo apt dist-upgrade
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:
 libreoffice-style-galaxy : Depends: libreoffice-common (= 
1:5.1.6~rc2-0ubuntu1~xenial7) but 1:5.1.6~rc2-0ubuntu1~xenial6 is installed
 libreoffice-style-human : Depends: libreoffice-common (= 
1:5.1.6~rc2-0ubuntu1~xenial7) but 1:5.1.6~rc2-0ubuntu1~xenial6 is installed
 ure : Depends: uno-libs3 (= 5.1.6~rc2-0ubuntu1~xenial6) but 
5.1.6~rc2-0ubuntu1~xenial7 is installed
E: Unmet dependencies. Try using -f.
pi@bpi-iot-ros-ai:~$  sudo apt -f install  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libreoffice-common ure
Suggested packages:
  libreoffice-style-breeze libreoffice-style-hicontrast libreoffice-style-oxygen
  libreoffice-style-sifr libreoffice-style-tango java5-runtime
Recommended packages:
  fonts-stix python3-uno
The following packages will be upgraded:
  libreoffice-common ure
2 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
2 not fully installed or removed.
Need to get 0 B/23.8 MB of archives.
After this operation, 1024 B of additional disk space will be used.
Do you want to continue? [Y/n] 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "en_US.UTF-8",
        LC_MONETARY = "en_US.UTF-8",
        LC_ADDRESS = "en_US.UTF-8",
        LC_TELEPHONE = "en_US.UTF-8",
        LC_NAME = "en_US.UTF-8",
        LC_MEASUREMENT = "en_US.UTF-8",
        LC_IDENTIFICATION = "en_US.UTF-8",
        LC_NUMERIC = "en_US.UTF-8",
        LC_PAPER = "en_US.UTF-8",
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 185691 files and directories currently installed.)
Preparing to unpack .../ure_5.1.6~rc2-0ubuntu1~xenial7_armhf.deb ...
Unpacking ure (5.1.6~rc2-0ubuntu1~xenial7) over (5.1.6~rc2-0ubuntu1~xenial6) ...
Preparing to unpack 
.../libreoffice-common_1%3a5.1.6~rc2-0ubuntu1~xenial7_all.deb ...
Unpacking libreoffice-common (1:5.1.6~rc2-0ubuntu1~xenial7) over 
(1:5.1.6~rc2-0ubuntu1~xenial6) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for gnome-icon-theme (3.12.0-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.2) ...
Setting up ure (5.1.6~rc2-0ubuntu1~xenial7) ...
Setting up libreoffice-style-galaxy (1:5.1.6~rc2-0ubuntu1~xenial7) ...
Setting up libreoffice-style-human (1:5.1.6~rc2-0ubuntu1~xenial7) ...
Setting up libreoffice-common (1:5.1.6~rc2-0ubuntu1~xenial7) ...
Installing new version of config file /etc/bash_completion.d/libreoffice.sh ...
pi@bpi-iot-ros-ai:~$ sudo apt dist-upgrade 
[ran through smoothly, I omit the full output of 
48 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
if you don't mind.]


Well, this looks like a full success to me! (Or am I mistaken?) 
Thank you so much for your support! It seems that this really was not caused by 
a bug but by my corrupted file system. 

Grateful and happy greetings
Tilmann

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1831341

Title:
  package libreoffice-common 1:5.1.6~rc2-0ubuntu1~xenial6 failed to
  install/upgrade: unable to stat
  './usr/share/icons/locolor/32x32/mimetypes/libreoffice-oasis-
  drawing.png' (which I was about to install): Input/output error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1831341/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to