It is currently Sun Aug 25, 2019 11:27 pm
All times are UTC + 8 hours

[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)

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

Postby billsargent » Wed May 18, 2016 11:11 pm

I hadn't considered a chroot environment. That's sort a good idea. i've done that with Gentoo many many times. Thanks :)
billsargent
 
Posts: 20
Joined: Sun Apr 19, 2015 5:57 pm

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

Postby itdaboyz » Wed May 25, 2016 8:03 pm

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 !
itdaboyz
 
Posts: 140
Joined: Tue Oct 14, 2014 7:21 pm

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

Postby father.mande » Wed May 25, 2016 8:37 pm

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.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 763
Joined: Sat Sep 12, 2015 2:55 am

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

Postby father.mande » Wed May 25, 2016 8:41 pm

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

did you do
opkg update
opkg upgrade

before install ??

Philippe.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 763
Joined: Sat Sep 12, 2015 2:55 am

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

Postby itdaboyz » Wed May 25, 2016 8:41 pm

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.
itdaboyz
 
Posts: 140
Joined: Tue Oct 14, 2014 7:21 pm

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

Postby father.mande » Wed May 25, 2016 8:57 pm

Hi,

OK I duplicate the problem on my 32 bits system AS202T

I will contact the developer ...

Philippe.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 763
Joined: Sat Sep 12, 2015 2:55 am

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

Postby father.mande » Wed May 25, 2016 9:06 pm

Hi,

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

Philippe.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 763
Joined: Sat Sep 12, 2015 2:55 am

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

Postby itdaboyz » Wed May 25, 2016 9:10 pm

Hi,

Thank you Philippe :)
itdaboyz
 
Posts: 140
Joined: Tue Oct 14, 2014 7:21 pm

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

Postby father.mande » Thu May 26, 2016 12:43 am

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.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 763
Joined: Sat Sep 12, 2015 2:55 am

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

Postby itdaboyz » Thu May 26, 2016 1:10 am

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.
itdaboyz
 
Posts: 140
Joined: Tue Oct 14, 2014 7:21 pm

PreviousNext

Return to Entware

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest