goalmarketing / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

DLNA USB app will not install #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Installation of DLNA USB application continually fails with 1.5.1RC3 firmware.

Error: cp: cannot stat '/mnt/usb_disk1/opkg-install/usr/bin/ushare': No such 
file or directory

Persists despite multiple reboots and cleaning old DLNA install from USB disk.

Original issue reported on code.google.com by eri...@gmail.com on 26 Apr 2011 at 3:29

GoogleCodeExporter commented 8 years ago
You need to provide more information to know the reason:

check the disk by "fdisk -l"
check the mount by "mount"
then check the /mnt folder "ls -l /mnt"

install from command line by "/etc/init.d/ushare_usb install"

Original comment by jht...@gmail.com on 26 Apr 2011 at 11:33

GoogleCodeExporter commented 8 years ago
Here is the terminal output:

devpts on /dev/pts type devpts (rw)
/dev/mtdblock5 on /jffs type jffs2 (rw)
mini_fo:/jffs on / type mini_fo (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /mnt/usb_sda1 type vfat 
(rw,noatime,nodiratime,uid=65534,gid=65534,fmask=0000,dmask=0000,cod
epage=cp437,iocharset=utf8)
root@Vigor2130:~# ls -l /mnt
lrwxrwxrwx    1 root     root           13 Apr 25 10:10 usb_disk1 -> 
/mnt/usb_sda1
drwxrwxrwx    7 nobody   nogroup      4096 Dec 31  1969 usb_sda1
root@Vigor2130:~# /etc/init.d/ushare_usb install
Connecting to vigor2130.googlecode.com (72.14.213.82:80)
vigor.txt            100% 
|********************************************************|     1  --:--:-- ETA
killall: ushare: no process killed
Downloading http://vigor2130.googlecode.com/files/libfaad2_2.6.1-1_arm.ipk
Connecting to vigor2130.googlecode.com (72.14.213.82:80)
libfaad2_2.6.1-1_arm 100% 
|********************************************************|   158k --:--:-- ETA
Multiple packages (libfaad2 and libfaad2) providing same name marked HOLD or 
PREFER.  Using latest.
Installing libfaad2 (2.6.1-1) to usb...
opkg: Cannot create symlink from ./usr/lib/libfaad.so.1 to 'libfaad.so.1.0.0': 
Operation not permitted
Configuring libfaad2
Downloading http://vigor2130.googlecode.com/files/libffmpeg_20080419-1_arm.ipk
Connecting to vigor2130.googlecode.com (72.14.213.82:80)
libffmpeg_20080419-1 100% 
|***************************************************************|   404k 
00:00:00 ETA
Installing libffmpeg (20080419-1) to usb...
Collected errors:
 * ERROR: Cannot satisfy the following dependencies for libffmpeg:
         *  libpthread *
Downloading http://vigor2130.googlecode.com/files/libdlna_0.2.3-1_arm.ipk
Connecting to vigor2130.googlecode.com (72.14.213.82:80)
libdlna_0.2.3-1_arm. 100% 
|***************************************************************| 17416  
--:--:-- ETA
Installing libdlna (0.2.3-1) to usb...
Collected errors:
 * ERROR: Cannot satisfy the following dependencies for libdlna:
         *  libffmpeg *
Downloading http://vigor2130.googlecode.com/files/libupnp_1.6.6-1_arm.ipk
Connecting to vigor2130.googlecode.com (72.14.213.82:80)
libupnp_1.6.6-1_arm. 100% 
|***************************************************************| 77219  
00:00:00 ETA
Installing libupnp (1.6.6-1) to usb...
Collected errors:
 * ERROR: Cannot satisfy the following dependencies for libupnp:
         *  libpthread *
Downloading http://vigor2130.googlecode.com/files/ushare_1.1a-1_arm.ipk
Connecting to vigor2130.googlecode.com (72.14.213.82:80)
ushare_1.1a-1_arm.ip 100% 
|***************************************************************| 29017  
--:--:-- ETA
Installing ushare (1.1a-1) to usb...
Collected errors:
 * ERROR: Cannot satisfy the following dependencies for ushare:
         *  libdlna *  libupnp *
ln: /usr/lib/libavcodec.so.51: File exists
ln: /usr/lib/libavformat.so.52: File exists
ln: /usr/lib/libdlna.so.0: File exists
ln: /usr/lib/libixml.so.2: File exists
ln: /usr/lib/libupnp.so.3: File exists
ln: /usr/lib/libavdevice.so.52: File exists
ln: /usr/lib/libavutil.so.49: File exists
ln: /usr/lib/libfaad.so.1: File exists
ln: /usr/lib/libthreadutil.so.2: File exists
cp: cannot stat '/mnt/usb_disk1/opkg-install/usr/bin/ushare': No such file or 
directory
root@Vigor2130:~#

Original comment by eri...@gmail.com on 26 Apr 2011 at 5:28

GoogleCodeExporter commented 8 years ago
* ERROR: Cannot satisfy the following dependencies for ushare:
         *  libdlna *  libupnp *

That is the problem.

We have no such problem if install in clean RC3 firmware.
You can try to factory default the settings.
Or check your local modification in /jffs
Remove the conflict part. then reboot.

Original comment by jht...@gmail.com on 28 Apr 2011 at 1:47

GoogleCodeExporter commented 8 years ago
It seems the default dependencies file (/rom/usr/lib/opkg/status) is different 
from your local file (/usr/lib/opkg/status)
You can try the following:
1. copy the default file to the system by
 cp /rom/usr/lib/opkg/status /usr/lib/opkg/status
    then install
   But merge these two files would be better

2. install by no dependency check
  opkg --nodeps -dest usb install http://vigor2130.googlecode.com/files/ushare_1.1a-1_arm.ipk

Original comment by jht...@gmail.com on 5 May 2011 at 2:07