It is currently Thu Dec 12, 2019 9:17 pm
All times are UTC + 8 hours

[Entware-ng TO 3x UPDATE] Mandatory / How-to

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)

[Entware-ng TO 3x UPDATE] Mandatory / How-to

Postby father.mande » Tue Mar 20, 2018 12:17 am

Hi,

Entware (ng, 3x) have decided to MERGE the feeds (repository of package)
... 3x is just to remember that you need to have a 3.2+ kernel to use this updated version
... Entware-ng feed is ABANDONED so not updated any more ... you MUST update (for new install at this time ... install OLD Entware-ng APKG and follow the procedure OR wait to next update of APKG ONLY for fresh install)
... x86 32 bits are not supported in Entware-3x version ... sorry ... or ask to the developer ...

[How-to]
Armv7 series (ex. AS1002T) ... simplest case ... open a root / your password terminal
... 1 verify that your kernel is 3.2 and +
Code: Select all
root@AS1002TAPHIL:/volume1/.@root # uname -r
3.10.70
root@AS1002TAPHIL:/volume1/.@root #

... 2 do twice (as indicate during the process)
opkg update
opkg upgrade

... and AGAIN ... first change the opkg feed address, second run update
opkg update
opkg upgrade

... 3 in RARE case you can see some upgrade error ... in this case you have to reinstall manually packages ex. : fex zope-interface package changed name after it was added to openwrt

It's ALL ...

X86_64 series ( a little more complicated) ... open a root / your password terminal (HERE it's my AS5002T) LONG part is only verification at each step
... 1 verify that your kernel is 3.2 and +
Code: Select all
root@AS5002TaPhil:/volume1/.@root # uname -r
4.4.24
root@AS5002TaPhil:/volume1/.@root #

... 2 verify your architecture (if you are not sure) YOU MUST SEE IN FIRST LINE : x86-64
Code: Select all
root@AS5002TaPhil:/volume1/.@root # cat /opt/etc/opkg.conf
src/gz packages http://entware.zyxmon.org/binaries/x86-64
dest root /
dest ram /opt/tmp
lists_dir ext /opt/var/opkg-lists
option tmp_dir /opt/tmp
root@AS5002TaPhil:/volume1/.@root #

... 3 GET the new opkg.conf : wget http://bin.entware.net/x64-k3.2/installer/opkg.conf -O /opt/etc/opkg.conf
Code: Select all
root@AS5002TaPhil:/volume1/.@root # wget http://bin.entware.net/x64-k3.2/installer/opkg.conf -O /opt/etc/opkg.conf
--2018-03-19 16:57:20--  http://bin.entware.net/x64-k3.2/installer/opkg.conf
Resolving bin.entware.net (bin.entware.net)... 81.4.123.217
Connecting to bin.entware.net (bin.entware.net)|81.4.123.217|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 182 [application/octet-stream]
Saving to: '/opt/etc/opkg.conf'

100%[===================================================================================================>] 182         --.-K/s   in 0s

2018-03-19 16:57:20 (14.9 MB/s) - '/opt/etc/opkg.conf' saved [182/182]

root@AS5002TaPhil:/volume1/.@root #

... 4 verify
Code: Select all
root@AS5002TaPhil:/volume1/.@root # cat /opt/etc/opkg.conf
src/gz entware http://bin.entware.net/x64-k3.2
dest root /
dest ram /opt/tmp
lists_dir ext /opt/var/opkg-lists
option tmp_dir /opt/tmp
arch all 100
arch x64-3.x 150
arch x64-3.2 160
root@AS5002TaPhil:/volume1/.@root #

... 5 Replace the architecture name by the correct one ...
... ... replace x64-3.x by x86-64 (as previous) and verify (here example using sed ... but using your favorite editor is also a good idea ...)
Code: Select all
root@AS5002TaPhil:/volume1/.@root #  sed s/x64-3.x/x86-64/ /opt/etc/opkg.conf > temp.conf
root@AS5002TaPhil:/volume1/.@root #  mv temp.conf /opt/etc/opkg.conf
root@AS5002TaPhil:/volume1/.@root # cat /opt/etc/opkg.conf
src/gz entware http://bin.entware.net/x64-k3.2
dest root /
dest ram /opt/tmp
lists_dir ext /opt/var/opkg-lists
option tmp_dir /opt/tmp
arch all 100
arch x86-64 150
arch x64-3.2 160
root@AS5002TaPhil:/volume1/.@root #

... 6 do the update then upgrade as usual
opkg update
opkg upgrade

$$$$$$ if you have modified the /opt/etc/profile ... please merge with the new one renamed profile-opkg at upgrade
... 7 LAST update some symlinks (in case) ... only no-existing link was created ... : wget http://bin.entware.net/other/symlinks.sh -O- | sh
Code: Select all
root@AS5002TaPhil:/volume1/.@root # wget http://bin.entware.net/other/symlinks.sh -O- | sh
--2018-03-19 17:08:37--  http://bin.entware.net/other/symlinks.sh
Resolving bin.entware.net (bin.entware.net)... 81.4.123.217
Connecting to bin.entware.net (bin.entware.net)|81.4.123.217|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1003 [application/octet-stream]
Saving to: 'STDOUT'

100%[===================================================================================================>] 1,003       --.-K/s   in 0.02s

2018-03-19 17:08:38 (63.5 KB/s) - written to stdout [1003/1003]

root@AS5002TaPhil:/volume1/.@root #


It's ALL ... you use the new feed and new libraries

Philippe.
NB I will write a shell script ... if I have time ....
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 820
Joined: Sat Sep 12, 2015 2:55 am

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