Marko Polo
Senior Member
I decided to install Entware after my unsuccessful experience with Optware, but have problems here too.
I followed the manual and here is my script output:
What should I do?
It says mkdir: can't create directory '/opt': File exists but it does NOT exist. Neither it's added to PATH, nor to target partition. Here is listing from partition I am installing Entware to:
I followed the manual and here is my script output:
Code:
#:/tmp/mnt/DOWNLOADS# entware-setup.sh
Info: This script will guide you through the Entware installation.
Info: Script modifies "entware" folder only on the chosen drive,
Info: no other data will be changed. Existing installation will be
Info: replaced with this one. Also some start scripts will be installed,
Info: the old ones will be saved on Entware partition with name
Info: like /tmp/mnt/sda1/jffs_scripts_backup.tgz
Info: Looking for available partitions...
[1] --> /tmp/mnt/CLOUDS
[2] --> /tmp/mnt/DOWNLOADS
=> Please enter partition number or 0 to exit
[0-2]: 2
Info: /tmp/mnt/DOWNLOADS selected.
Info: Creating /tmp/mnt/DOWNLOADS/entware folder...
Info: Creating /tmp/opt symlink...
ln: /tmp/opt: File exists
Info: Creating /jffs scripts backup...
tar: /jffs/scripts/*: No such file or directory
tar: error exit delayed from previous errors
Info: Modifying start scripts...
Info: Checking for prerequisites and creating folders...
mkdir: can't create directory '/opt': File exists
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
Info: Opkg package manager deployment...
/opt/bin/opkg: No such file or directory
chmod: /opt/bin/opkg: No such file or directory
/opt/etc/opkg.conf: No such file or directory
/opt/lib/ld-2.23.so: No such file or directory
/opt/lib/libc-2.23.so: No such file or directory
/opt/lib/libgcc_s.so.1: No such file or directory
sh: cd: line 31: can't cd to /opt/lib
chmod: ld-2.23.so: No such file or directory
Info: Basic packages installation...
sh: /opt/bin/opkg: not found
sh: /opt/bin/opkg: not found
/opt/usr/lib/locale/locale-archive: No such file or directory
Info: Congratulations!
Info: If there are no errors above then Entware-ng was successfully initialized.
Info: Add /opt/bin & /opt/sbin to your PATH variable
Info: Add '/opt/etc/init.d/rc.unslung start' to startup script for Entware-ng services to start
Info: Found a Bug? Please report at https://github.com/Entware-ng/Entware-ng/issues
What should I do?
It says mkdir: can't create directory '/opt': File exists but it does NOT exist. Neither it's added to PATH, nor to target partition. Here is listing from partition I am installing Entware to:
Code:
drwxrwxrwx 11 polo root 4096 Jul 19 21:26 Downloads
drwxrwxrwx 2 polo root 4096 Jul 20 09:46 entware
-rw-rw-rw- 1 polo root 363 Jul 20 09:46 jffs_scripts_backup_2017-07-20_09-46.tgz