[APKG Entware-ng] Replace Astware & Optware include 64 bits version

Entware-ng is A modern Optware/ipkg replacement ; Entware-ng is package repository for embedded devices. These packages allow you to add new functionality to your device. Most of them taken from OpenWRT, but others are unique.

Entware-ng exist for x86, x86_64 and armhf architecture

Entware-ng also replace astware to use common base for ALL OpenWRT platform

Optware/Ipkg is obsolete, not maintened and not secure ... (abandoned)

Moderator: Lillian.W@AST

Post Reply
billsargent
Posts: 61
youtube meble na wymiar Warszawa
Joined: Sun Apr 19, 2015 5:57 pm
Location: Göteborg, Sweden

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by billsargent »

I hadn't considered a chroot environment. That's sort a good idea. i've done that with Gentoo many many times. Thanks :)
itdaboyz
Posts: 141
Joined: Tue Oct 14, 2014 7:21 pm

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by itdaboyz »

Hi,

I wanted to install gcc but I have this error :

Code: Select all

root@NAS:/volume1/.@root # opkg install gcc                                                                                                                           
Installing gcc (5.3.0-3) to root...                                                                                                                                   
Collected errors:                                                                                                                                                     
 * verify_pkg_installable: Only have 0kb available on filesystem /opt, pkg gcc needs 28646                                                                            
 * opkg_install_cmd: Cannot install package gcc.
Do you have any idea on how to solve it?

Thanks !
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by father.mande »

Hi,

Please can you list here /opt content :
ls -ali /opt
and
df -h
and precise you Asustor model ... x86_64, x32 or arm

But I will do a test ... because due to the specific request on /opt (Virtualbox) on Asustor ... all is in link (not direct) ... so I don't know (even I have speak with the developer) if some "side effect" can exist ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by father.mande »

Hi,
in complement of my previous message
Just tested (x86_64) ... no problem ...

did you do
opkg update
opkg upgrade

before install ??

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
itdaboyz
Posts: 141
Joined: Tue Oct 14, 2014 7:21 pm

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by itdaboyz »

I have a 302T, and it's x86.
Here is the result of the commands :

Code: Select all

root@NAS:/opt # ls -ali /opt                                                                                                                                          
total 0                                                                                                                                                               
   2862 drwxr-xr-x    2 root     root             0 May 17 20:01 ./
      1 drwxr-xr-x   20 root     root             0 May 17 20:00 ../
  26729 lrwxrwxrwx    1 root     root            43 May 17 20:01 bacula -> /usr/local/AppCentral/entware-ng/opt/bacula/
  25016 lrwxrwxrwx    1 root     root            40 May 17 20:01 bin -> /usr/local/AppCentral/entware-ng/opt/bin/
  26730 lrwxrwxrwx    1 root     root            46 May 17 20:01 downloads -> /usr/local/AppCentral/entware-ng/opt/downloads/
  25017 lrwxrwxrwx    1 root     root            44 May 17 20:01 eggdrop -> /usr/local/AppCentral/entware-ng/opt/eggdrop/
  25018 lrwxrwxrwx    1 root     root            40 May 17 20:01 etc -> /usr/local/AppCentral/entware-ng/opt/etc/
  25019 lrwxrwxrwx    1 root     root            44 May 17 20:01 include -> /usr/local/AppCentral/entware-ng/opt/include/
  25020 lrwxrwxrwx    1 root     root            40 May 17 20:01 lib -> /usr/local/AppCentral/entware-ng/opt/lib/
  26732 lrwxrwxrwx    1 root     root            44 May 17 20:01 libexec -> /usr/local/AppCentral/entware-ng/opt/libexec/
  25021 lrwxrwxrwx    1 root     root            41 May 17 20:01 sbin -> /usr/local/AppCentral/entware-ng/opt/sbin/
  25022 lrwxrwxrwx    1 root     root            42 May 17 20:01 share -> /usr/local/AppCentral/entware-ng/opt/share/
  25023 lrwxrwxrwx    1 root     root            40 May 17 20:01 tmp -> /usr/local/AppCentral/entware-ng/opt/tmp/
  26733 lrwxrwxrwx    1 root     root            40 May 17 20:01 usr -> /usr/local/AppCentral/entware-ng/opt/usr/
  26734 lrwxrwxrwx    1 root     root            40 May 17 20:01 var -> /usr/local/AppCentral/entware-ng/opt/var/

Code: Select all

root@NAS:/opt # df -h                                                                                                                                                 
Filesystem                Size      Used Available Use% Mounted on                                                                                                    
tmpfs                   348.9M     65.4M    283.5M  19% /tmp                                                                                                          
/dev/md0                  2.0G    525.9M      1.4G  27% /volume0                                                                                                      
/dev/loop0              951.0K     15.0K    936.0K   2% /share                                                                                                        
/dev/md1                  3.6T      2.6T    996.3G  73% /volume1                                                                                                      
/dev/md1                  3.6T      2.6T    996.3G  73% /share/home                                                                                                   
/dev/md1                  3.6T      2.6T    996.3G  73% /share/Public                                                                                                 
/dev/md1                  3.6T      2.6T    996.3G  73% /share/Web                                                                                                    
/dev/md1                  3.6T      2.6T    996.3G  73% /share/Download                                                                                               
/dev/md1                  3.6T      2.6T    996.3G  73% /share/Media                                                                                                  
/dev/md1                  3.6T      2.6T    996.3G  73% /share/Music                                                                                                  
/dev/md1                  3.6T      2.6T    996.3G  73% /share/Plex                                                                                                   
/dev/md1                  3.6T      2.6T    996.3G  73% /share/PhotoGallery                                                                                           
/dev/md1                  3.6T      2.6T    996.3G  73% /share/Optware                                                                                                
/dev/md1                  3.6T      2.6T    996.3G  73% /share/Video         
And yes I did the opkg upgrade/update.

Thanks for taking a look into this.
Last edited by itdaboyz on Wed May 25, 2016 9:09 pm, edited 2 times in total.
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by father.mande »

Hi,

OK I duplicate the problem on my 32 bits system AS202T

I will contact the developer ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by father.mande »

Hi,

Problem mail to developer ... so now wait and see ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
itdaboyz
Posts: 141
Joined: Tue Oct 14, 2014 7:21 pm

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by itdaboyz »

Hi,

Thank you Philippe :)
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by father.mande »

Hi,

I don't have yet response BUT I think I have understand the problem and it's not so easy to solve ... (BUT we work on it)

opkg on large (in size) package get the space available in /opt (remember opkg has been write for router) using a call to statvfs (stat command)

in a x86_64 response of stat is : ... so IT WORKS

Code: Select all

root@AS5002TaPhil:/opt # stat -f .
  File: "."
    ID: 0        Namelen: 255     Type: tmpfs
Block size: 4096
Blocks: Total: 486515     Free: 473665     Available: 473665
Inodes: Total: 486515     Free: 483411
root@AS5002TaPhil:/opt #
in a x32 :

Code: Select all

root@AS-202TE:/opt # stat -f /opt
  File: "/opt"
    ID: 0        Namelen: 255     Type: romfs
Block size: 4096
Blocks: Total: 0          Free: 0          Available: 0
Inodes: Total: 0          Free: 0
root@AS-202TE:/opt #
SO it can't work ... I suppose it's the same on your arm system ... (please can you confirm)
The problem come from Asustor choice ... so ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
itdaboyz
Posts: 141
Joined: Tue Oct 14, 2014 7:21 pm

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Post by itdaboyz »

I'm sorry I'm not on arm but on 32bits.

Code: Select all

root@NAS:/opt # stat -f /opt
  File: "/opt"
    ID: 0        Namelen: 255     Type: romfs
Block size: 4096      
Blocks: Total: 0          Free: 0          Available: 0
Inodes: Total: 0          Free: 0
But the package is not large, it's only 21kb.
Post Reply

Return to “Entware”