Entware/Python2 broken
ariek
Posts: 30 Freshman Member
Device: NAS520/latest firmware.
My python2 installation under Entware is broken and I need it because some apps refuse to work under python3 (3.8.5). I can't repair it because the files are no longer in the repository. I'm aware that python2 is EOL and last release was Python 2.7.18.
Updated all packages:
opkg update Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz<br>Updated list of available packages in /opt/var/opkg-lists/entware Downloading http://zyxel.diskstation.eu/Users/Mijzelf/Entware-ng/binaries/armv7/Packages.gz Updated list of available packages in /opt/var/opkg-lists/MijzelfThe updated list includes python 2.7.14-5, but thes packages are not available at:
http://bin.entware.net/armv7sf-k2.6/Is there a way to fix this or reinstall Python 2.7.9 or (2.7.14-5) any other way?
De code editor is messy.
python2 -V Python 2.7.9
0
All Replies
-
Are you sure python2 came from the Entware repository? You can find python 2.7.14-5 in the Entware-ng repository, which was the predecessor of Entware, in this case.
0 -
No.
<div>which python2</div><div>/usr/bin/python2</div><div>which python3</div><div>/opt/bin/python3</div>
Is there a way to use/point to the Entware-ng repository from the command line? For single use only and doesn't need to change thehttp://bin.entware.net/armv7sf-k2.6/
in pkgcgi.cgi and opkg.conf
0 -
According to the opkg manual, you can execute
<div>opkg install http://pkg.entware.net/binaries/armv7/python_2.7.14-5_armv7soft.ipk</div><div></div>
but I don't know if it will draw the dependencies from the same page.
0 -
I fixed it using the system python2 (/usr/bin/python2; Python 2.7.9).The entware Python 2 require building a new package list. It can be done but takes more time than using the build-in python2 variant.
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 145 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 239 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight