Monday, April 30, 2012

[nslu2-linux] ipkg update reports "file too short"

 

Hi all,

I have a GoFlex Home, which is based upon the OpenStora system, which uses ipkg
for package management:
http://www.openstora.com/wiki/index.php?title=Getting_Started#Preparing_to_insta\
ll_software_and_checking_free_space


So I followed the instructions for moving /opt (I moved it to /mnt/eSata/opt)
and have been installing packages.

I cancelled an install process of ipkg and now it reports:

bash-3.2# /opt/bin/ipkg update
/opt/bin/ipkg: error while loading shared libraries: /opt/lib/libipkg.so.0: file
too short

The only way to get around this seems to be a reinstall of ipkg. That's
annoying...

Help?

- Phil

PS here is the results of running 'df':

bash-3.2# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 212M 196M 16M 93% /
ubi0:rootfs 212M 196M 16M 93% /
none 62M 32K 62M 1% /dev
nodev 62M 36M 26M 59% /var/log
nodev 62M 480K 61M 1% /mnt/tmpfs
nodev 62M 24K 62M 1% /var/lib/php/session
nodev 62M 480K 61M 1% /tmp
nodev 62M 480K 61M 1% /var/run
nodev 62M 480K 61M 1% /var/cache
nodev 62M 480K 61M 1% /var/lib/axentra_sync
nodev 62M 480K 61M 1% /var/lib/oe-admin/minions
nodev 62M 480K 61M 1% /var/lib/oe-admin/actions
nodev 62M 480K 61M 1% /var/lib/oe-update-checker
nodev 62M 480K 61M 1% /etc/blkid
nodev 62M 480K 61M 1% /var/lib/dbus
nodev 62M 480K 61M 1% /var/lib/dhclient
nodev 62M 480K 61M 1% /var/lock
nodev 62M 480K 61M 1% /var/spool
nodev 62M 480K 61M 1% /var/lib/avahi-autoipd
nodev 62M 480K 61M 1% /etc/dhclient-eth0.conf
nodev 62M 480K 61M 1% /etc/printcap
nodev 62M 480K 61M 1% /etc/resolv.conf
nodev 1.9T 413G 1.5T 23% /var/cache/mt-daapd
ubi0:rootfs 212M 196M 16M 93% /tmp/eaccelerator
ubi0:rootfs 212M 196M 16M 93% /tmp/templates_c
nodev 62M 480K 61M 1% /home/0external
/dev/sda1 1.9T 413G 1.5T 23% /mnt/eSata
/dev/sda1 1.9T 413G 1.5T 23% /home/0common
/dev/sda1 1.9T 413G 1.5T 23% /tmp/atalk
/dev/sda1 1.9T 413G 1.5T 23% /tmp/albumcache
/dev/sda1 1.9T 413G 1.5T 23% /tmp/0db
/dev/sda1 1.9T 413G 1.5T 23% /var/cache/mt-daapd
/dev/sda1 1.9T 413G 1.5T 23% /tmp/apache_tmp
/dev/sda1 1.9T 413G 1.5T 23% /tmp/minidlna
/dev/sda1 1.9T 413G 1.5T 23% /home/0db/id3_cache
/dev/sda1 1.9T 413G 1.5T 23% /home/0backups
nodev 62M 480K 61M 1% /home/<user id 1>/External Storage
nodev 62M 480K 61M 1% /home/<user id 2>/External Storage
/dev/sda1 1.9T 413G 1.5T 23% /home/<user id 1>/GoFlex Home Personal
/dev/sda1 1.9T 413G 1.5T 23% /home/<user id 1>/GoFlex Home Backup
/dev/sda1 1.9T 413G 1.5T 23% /home/<user id 1>/GoFlex Home Public
/dev/sda1 1.9T 413G 1.5T 23% /home/<user id 2>/GoFlex Home Personal
/dev/sda1 1.9T 413G 1.5T 23% /home/<user id 2>/GoFlex Home Backup
/dev/sda1 1.9T 413G 1.5T 23% /home/<user id 2>/GoFlex Home Public

__._,_.___
Recent Activity:
.

__,_._,___

No comments:

Post a Comment