18th Mar, 2014, 04:36 PM
19th Mar, 2014, 04:03 AM
Grrr, todays Python upgrade is refusing to go. _hashlib.so will not overwrite. even tride apt-get -f, no progress. even renamed _hashlib.so, no luck. Killed -9 xbmc pid & python pid... Any one have tips on getting python upgrade to run??
these packages = The following packages will be upgraded:
libpython2.7 python2.7 python2.7-minimal
Error = trying to overwrite '/usr/lib/python2.7/lib-dynload/_hashlib.so', which is also in p
ackage python2.7 2.7.3-6
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u2_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
?? At least i am trying. Just like to keep my RC1 updated, not today.
these packages = The following packages will be upgraded:
libpython2.7 python2.7 python2.7-minimal
Error = trying to overwrite '/usr/lib/python2.7/lib-dynload/_hashlib.so', which is also in p
ackage python2.7 2.7.3-6
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u2_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
?? At least i am trying. Just like to keep my RC1 updated, not today.
19th Mar, 2014, 07:47 AM
I'll second that crs, same problem here.
Måns
Måns
19th Mar, 2014, 08:31 AM
There seems to be a bug with the filesystem. When I delete files (did it with rm -r ), it doesn't free disk space. I had downloaded a mass of youtube videos, copied them to another computer but after deleting them, there still isn't any more than 2 gigs free on a 16 GB SD card.
sudo ncdu -q run from / shows the following:
http://pastebin.com/8udKep5m
, that it to say that only < 5 GB of space should be in use.
df -h on the other hand tells that
http://pastebin.com/GjdAHwRB
, 12 G is used and only 2.3 GB is available.
What is this? I already once had to format my SD card and reinstall Xbian from scratch because cron+streamripper -recordings from internet radio streams had filled the SD card and deleting files / moving them elsewhere simply didn't free any disk space.
Is there a command to check file indexes and free space or something else I can do?
sudo ncdu -q run from / shows the following:
http://pastebin.com/8udKep5m
, that it to say that only < 5 GB of space should be in use.
df -h on the other hand tells that
http://pastebin.com/GjdAHwRB
, 12 G is used and only 2.3 GB is available.
What is this? I already once had to format my SD card and reinstall Xbian from scratch because cron+streamripper -recordings from internet radio streams had filled the SD card and deleting files / moving them elsewhere simply didn't free any disk space.
Is there a command to check file indexes and free space or something else I can do?
19th Mar, 2014, 09:33 AM
Same problem as crs with today upgrade.
19th Mar, 2014, 05:08 PM
@Gyuunduh: a default xbian install uses the BTRFS filesystem and makes use of its snapshot feature by creating daily/weekly/pre-apt-run snapshots, so it could be that your files are still present in a snapshot.
Check if any snapshots exist for the timeframe where you had the files on the SD card:
E.g.: you downloaded the files on 02/28, and deleted them on 03/18, but there's a weekly snapshot from 03/05 - so the files are still on disk on the snapshot.
Check if any snapshots exist for the timeframe where you had the files on the SD card:
Code:
btrfs-auto-snapshot list
E.g.: you downloaded the files on 02/28, and deleted them on 03/18, but there's a weekly snapshot from 03/05 - so the files are still on disk on the snapshot.
19th Mar, 2014, 05:39 PM
(18th Mar, 2014 04:36 PM)CurlyMo Wrote: [ -> ]@l3iggs, not going to happen I believe Raspbmc uses f2fs so you can use that.
Any idea why not? Isn't xbian suppose to be the cutting edge rpi xbmc distro?
I see just above that users are having trouble with btrfs not freeing disk space and the auto snapshotting.
f2fs is a much better fit for a file system on an SD card and it's significantly faster.
I'm willing to try my hand at generating a f2fs image for the community if someone could share or point me in the direction of the workflow currently used to generate the installer image files.
20th Mar, 2014, 12:04 AM
(19th Mar, 2014 05:08 PM)teekay Wrote: [ -> ]Check if any snapshots exist for the timeframe where you had the files on the SD card:
Code:
btrfs-auto-snapshot list
This was the case. Thank you! I had no idea that there is that kind of business going on with btrfs filesystem and Xbian. Guess I'll read a bit about btrfs snapshots, how to delete them if disk space is running out and how to hopefully recover data from them if I accidentally delete something of value.
20th Mar, 2014, 12:14 AM
You can also delete it from xbmc gui, in system->xbian->backup (with advanced setting enable (preference)).
20th Mar, 2014, 03:54 AM
(20th Mar, 2014 12:14 AM)belese Wrote: [ -> ]You can also delete it from xbmc gui, in system->xbian->backup (with advanced setting enable (preference)).
Seems like the xbian menu in settings doesn't open.
xbmc.log with debug off http://pastebin.com/5Wp4bDQK
xbmc.log with debug on http://pastebin.com/XhyhpfVG
20th Mar, 2014, 04:09 AM
(20th Mar, 2014 03:54 AM)Gyuunduh Wrote: [ -> ](20th Mar, 2014 12:14 AM)belese Wrote: [ -> ]You can also delete it from xbmc gui, in system->xbian->backup (with advanced setting enable (preference)).
Seems like the xbian menu in settings doesn't open.
xbmc.log with debug off http://pastebin.com/5Wp4bDQK
xbmc.log with debug on http://pastebin.com/XhyhpfVG
Can you try via ssh :
xbian-config updates updatedb.
and if this file exist, delete it :
/home/xbian/.xbmc/userdata/addon_data/plugin.xbianconfig/cache.db
i've to check wich version is installed on RC1, i will try on french install.
i've done few modif to speed up this part. but seems it don't work like it should. i maybe find the problem.
20th Mar, 2014, 05:01 AM
I got error message during upgrade:
I started with:
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
After downloading the packages i got the following message:
Delete subvolume '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-03-19-1854'
@btrfs-auto-snap_apt-run-2014-03-19-1942, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
(Reading database ... 32237 files and directories currently installed.)
Removing xbian-package-libshairport ...
dpkg: error processing xbian-package-libshairport (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
xbian-package-libshairport
E: Sub-process /usr/bin/dpkg returned an error code (1)
This also happend when i used the xbian-config
What to do?
I started with:
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
After downloading the packages i got the following message:
Delete subvolume '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-03-19-1854'
@btrfs-auto-snap_apt-run-2014-03-19-1942, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
(Reading database ... 32237 files and directories currently installed.)
Removing xbian-package-libshairport ...
dpkg: error processing xbian-package-libshairport (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
xbian-package-libshairport
E: Sub-process /usr/bin/dpkg returned an error code (1)
This also happend when i used the xbian-config
What to do?
20th Mar, 2014, 05:46 AM
(20th Mar, 2014 04:09 AM)belese Wrote: [ -> ](20th Mar, 2014 03:54 AM)Gyuunduh Wrote: [ -> ](20th Mar, 2014 12:14 AM)belese Wrote: [ -> ]You can also delete it from xbmc gui, in system->xbian->backup (with advanced setting enable (preference)).Seems like the xbian menu in settings doesn't open.
xbmc.log with debug off http://pastebin.com/5Wp4bDQK
xbmc.log with debug on http://pastebin.com/XhyhpfVG
Can you try via ssh :
xbian-config updates updatedb.
and if this file exist, delete it :
/home/xbian/.xbmc/userdata/addon_data/plugin.xbianconfig/cache.db
i've to check wich version is installed on RC1, i will try on french install.
i've done few modif to speed up this part. but seems it don't work like it should. i maybe find the problem.
That worked! Thanks!
I tried to find some sort of snapshot manager from xbian-config also, but it seems that there is no such thing.
...
Which brings us to the next problem I've encountered :
The menu item Backup /home to file creates a .img.gz file in /xbmc-backup, but the file is only 19 bytes in size. I won't test moving it to /xbmc-backup/put_here_to restore/ directory, as the .img-gz probably isn't the way it should be. Is there a fix to this?
20th Mar, 2014, 05:52 AM
(20th Mar, 2014 05:46 AM)Gyuunduh Wrote: [ -> ](20th Mar, 2014 04:09 AM)belese Wrote: [ -> ](20th Mar, 2014 03:54 AM)Gyuunduh Wrote: [ -> ](20th Mar, 2014 12:14 AM)belese Wrote: [ -> ]You can also delete it from xbmc gui, in system->xbian->backup (with advanced setting enable (preference)).Seems like the xbian menu in settings doesn't open.
xbmc.log with debug off http://pastebin.com/5Wp4bDQK
xbmc.log with debug on http://pastebin.com/XhyhpfVG
Can you try via ssh :
xbian-config updates updatedb.
and if this file exist, delete it :
/home/xbian/.xbmc/userdata/addon_data/plugin.xbianconfig/cache.db
i've to check wich version is installed on RC1, i will try on french install.
i've done few modif to speed up this part. but seems it don't work like it should. i maybe find the problem.
That worked! Thanks!
I tried to find some sort of snapshot manager from xbian-config also, but it seems that there is no such thing.
...
Which brings us to the next problem I've encountered :
The menu item Backup /home to file creates a .img.gz file in /xbmc-backup, but the file is only 19 bytes in size. I won't test moving it to /xbmc-backup/put_here_to restore/ directory, as the .img-gz probably isn't the way it should be. Is there a fix to this?
is the file cache.db exist?
to acces to snapshot manager, you have to activate advanced mode (in xbian-config -> preference), and then go to backup.
for the home backup, i can't help for that.
20th Mar, 2014, 06:18 AM
(20th Mar, 2014 05:52 AM)belese Wrote: [ -> ]is the file cache.db exist?
to acces to snapshot manager, you have to activate advanced mode (in xbian-config -> preference), and then go to backup.
for the home backup, i can't help for that.
Yes, there was a cache.db file which I deleted as you advised.
Yeah, the snapshot manager in xbmc is working just fine, but I was wondering if there is something like it in ssh version of xbian-config also. It seems like there isn't.