Forum

Full Version: Help - issues installing latest updates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Any ideas re the error at the end?

Quote:Linux xbian 4.1.13+ #1 SMP PREEMPT Tue Nov 24 09:06:29 CET 2015

80 packages can be updated

-------------------------------------------------------------------
Y88b d88P 888888b. 8888888 d8888 888b 888
Y88o88P 888 .88P 888 d88P888 88888b 888
Y888P 8888888K. 888 d88P 888 888Y88b 888
d888b 888 "Y88b 888 d88P 888 888 Y88b888
d88P Y88b 888 d88P 888 d8888888888 888 Y8888
d88P Y88b 8888888P" 8888888 d88P 888 888 Y888
-------------------------------------------------------------------
XBian 20160112-0 - Bleeding Edge, 2012 - 2015
Find us at: http://www.xbian.org http://github.com/xbianonpi/xbian

XBian and all its packages are distributed as free software; for
important license, terms and conditions, please refer into
/etc/xbian_copying. XBian comes with ABSOLUTELY NO WARRANTY, to the
extent permitted by applicable law.
Last login: Wed Jan 27 17:48:48 2016 from 192.168.0.5
root@xbian ~ # apt-get update
Get:1 http://www.mirrorservice.org/sites/apt.xbian.org/ stable InRelease [5,327 B]
Ign http://http.debian.net jessie InRelease
Get:2 http://www.mirrorservice.org/sites/apt.xbian.org/ stable/main armhf Packages [14.4 kB]
Get:3 http://www.mirrorservice.org/sites/apt.xbian.org/ stable/rpi2-jessie armhf Packages [32.7 kB]
Get:4 http://http.debian.net jessie Release.gpg [2,373 B]
Get:5 http://http.debian.net jessie Release [148 kB]
Hit http://http.debian.net jessie/main armhf Packages
Ign http://www.mirrorservice.org/sites/apt.xbian.org/ stable/main Translation-en_US
Hit http://http.debian.net jessie/main Translation-en
Ign http://www.mirrorservice.org/sites/apt.xbian.org/ stable/main Translation-en
Hit http://http.debian.net jessie/non-free armhf Packages
Ign http://www.mirrorservice.org/sites/apt.xbian.org/ stable/rpi2-jessie Translation-en_US
Ign http://www.mirrorservice.org/sites/apt.xbian.org/ stable/rpi2-jessie Translation-en
Hit http://http.debian.net jessie/non-free Translation-en
Fetched 203 kB in 21s (9,650 B/s)
Reading package lists... Done
root@xbian ~ # apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
apt apt-utils base-files bind9-host ca-certificates dpkg exfat-fuse exfat-utils isc-dhcp-client
isc-dhcp-common kpartx libapt-inst1.5 libapt-pkg4.12 libbind9-90 libc-bin libc6 libdns-export100 libdns100
libfreetype6 libgssapi-krb5-2 libgudev-1.0-0 libicu52 libirs-export91 libisc-export95 libisc95 libisccc90
libisccfg-export90 libisccfg90 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libldb1 liblwres90
libmysqlclient18 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpcre3
libpcrecpp0 libpng12-0 libsasl2-2 libsasl2-modules-db libsmbclient libssh-4 libssl1.0.0 libsystemd0
libudev1 libwbclient0 libxml2 locales login multiarch-support mysql-common ntp openssh-client
openssh-server openssh-sftp-server openssl passwd perl perl-base perl-modules python-ldb python-samba
rpcbind samba samba-common samba-common-bin samba-dsdb-modules samba-libs sudo systemd tzdata udev
wpasupplicant xbian-package-xbmc-scripts xbian-update
80 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/50.3 MB of archives.
After this operation, 4,069 kB disk space will be freed.
Do you want to continue? [Y/n] y
Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-01-28-1853'
Transaction commit: none (default)
Delete subvolume '/run/btrfs-snap/root/@last_good_known'
Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-01-28-1853' in '/run/btrfs-snap/root/@last_good_known'
Transaction commit: none (default)
Delete subvolume '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-01-27-1646'
@btrfs-auto-snap_apt-run-2016-01-28-1853, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package `fontconfig-config': Stale file handle
E: Sub-process /usr/bin/dpkg returned an error code (2)
Anything happened before updating (system crash)? Or maybe a simple reboot helps
Some other things to consider...

Maybe the SD card is corrupted or failing. Take it out of the pi and scan it on another machine for errors.
Reinstall Xbian from scratch and see if that helps.
Are you overclocking the pi? If so go back to the default settings and see if that helps.
Check the power supply is good and stable, or get another 5v 2A power supply and try agian.
looks like a file has become corrupt in the dpkg/info folder.

Browsing t'internet for other solutions, I tried to remove the offending file via ssh but it won't go. So reimage of SD card is only fix...

Ah well Smile
Reference URL's