Entware / Entware-ng

Entware-ng
GNU General Public License v2.0
1.21k stars 152 forks source link

Cannot install package #569

Closed 1688pc closed 7 years ago

1688pc commented 7 years ago

ln: ld-linux.so.3: File exists ln: libc.so.6: File exists Info: Basic packages installation... Downloading http://pkg.entware.net/binaries/armv7/Packages.gz. Updated list of available packages in /opt/var/opkg-lists/packages. Installing entware-opt (222108-5) to root... Downloading http://pkg.entware.net/binaries/armv7/entware-opt_222108-5_armv7soft.ipk. Collected errors:

1688pc commented 7 years ago

昨天还可以安装的,今天就不能安装了 Yesterday can also be installed, and today can not be installed

zyxmon commented 7 years ago

Try 'opkg update'.

1688pc commented 7 years ago

opkg update still the same

1688pc commented 7 years ago

ASUSWRT-Merlin RT-AC68U 380.65-X7.4 Sat Feb 11 08:50:32 UTC 2017 aa@RT-AC68U-8C58:/tmp/home/root# opkg update Downloading http://pkg.entware.net/binaries/armv7/Packages.gz. Updated list of available packages in /opt/var/opkg-lists/packages. aa@RT-AC68U-8C58:/tmp/home/root# wget -O - http://pkg.entware.net/binaries/armv7/installer/entware_install.sh | /bin/sh --2017-02-24 13:15:39-- http://pkg.entware.net/binaries/armv7/installer/entware_install.sh Resolving pkg.entware.net... 81.4.123.217 Connecting to pkg.entware.net|81.4.123.217|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1564 (1.5K) [application/octet-stream] Saving to: 'STDOUT'

2017-02-24 13:15:40 (16.4 KB/s) - written to stdout [1564/1564]

Warning: Folder /opt/share exists! Warning: If something goes wrong please clean /opt folder and try again. Warning: Folder /opt/tmp exists! Warning: If something goes wrong please clean /opt folder and try again. Warning: Folder /opt/usr exists! Warning: If something goes wrong please clean /opt folder and try again. Warning: Folder /opt/var/log exists! Warning: If something goes wrong please clean /opt folder and try again. Warning: Folder /opt/var/lock exists! Warning: If something goes wrong please clean /opt folder and try again. Warning: Folder /opt/var/run exists! Warning: If something goes wrong please clean /opt folder and try again. Info: Opkg package manager deployment... --2017-02-24 13:15:40-- http://pkg.entware.net/binaries/armv7/installer/opkg Resolving pkg.entware.net... 81.4.123.217 Connecting to pkg.entware.net|81.4.123.217|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 127488 (125K) [application/octet-stream] Saving to: '/opt/bin/opkg'

/opt/bin/opkg 100%[===================================================>] 124.50K 66.1KB/s in 1.9s

2017-02-24 13:15:43 (66.1 KB/s) - '/opt/bin/opkg' saved [127488/127488]

--2017-02-24 13:15:43-- http://pkg.entware.net/binaries/armv7/installer/opkg.conf Resolving pkg.entware.net... 81.4.123.217 Connecting to pkg.entware.net|81.4.123.217|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 142 [application/octet-stream] Saving to: '/opt/etc/opkg.conf'

/opt/etc/opkg.conf 100%[===================================================>] 142 --.-KB/s in 0s

2017-02-24 13:15:44 (4.55 MB/s) - '/opt/etc/opkg.conf' saved [142/142]

--2017-02-24 13:15:44-- http://pkg.entware.net/binaries/armv7/installer/ld-2.23.so Resolving pkg.entware.net... 81.4.123.217 Connecting to pkg.entware.net|81.4.123.217|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 142752 (139K) [application/octet-stream] Saving to: '/opt/lib/ld-2.23.so'

/opt/lib/ld-2.23.so 100%[===================================================>] 139.41K 89.8KB/s in 1.6s

2017-02-24 13:15:46 (89.8 KB/s) - '/opt/lib/ld-2.23.so' saved [142752/142752]

--2017-02-24 13:15:46-- http://pkg.entware.net/binaries/armv7/installer/libc-2.23.so Resolving pkg.entware.net... 81.4.123.217 Connecting to pkg.entware.net|81.4.123.217|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1227404 (1.2M) [application/octet-stream] Saving to: '/opt/lib/libc-2.23.so'

/opt/lib/libc-2.23.so 100%[===================================================>] 1.17M 108KB/s in 11s

2017-02-24 13:15:58 (108 KB/s) - '/opt/lib/libc-2.23.so' saved [1227404/1227404]

--2017-02-24 13:15:58-- http://pkg.entware.net/binaries/armv7/installer/libgcc_s.so.1.2.23 Resolving pkg.entware.net... 81.4.123.217 Connecting to pkg.entware.net|81.4.123.217|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 39632 (39K) [application/octet-stream] Saving to: '/opt/lib/libgcc_s.so.1'

/opt/lib/libgcc_s.so.1 100%[===================================================>] 38.70K 50.7KB/s in 0.8s

2017-02-24 13:15:59 (50.7 KB/s) - '/opt/lib/libgcc_s.so.1' saved [39632/39632]

ln: ld-linux.so.3: File exists ln: libc.so.6: File exists Info: Basic packages installation... Downloading http://pkg.entware.net/binaries/armv7/Packages.gz. Updated list of available packages in /opt/var/opkg-lists/packages. Installing entware-opt (222108-5) to root... Downloading http://pkg.entware.net/binaries/armv7/entware-opt_222108-5_armv7soft.ipk. Collected errors:

1688pc commented 7 years ago

3 2 1

zyxmon commented 7 years ago

Please explain - why do you run installer if you have already entware installed? To run the installer again you need to clean /opt folder. You download the correct ipk file, it has the correct sha256sum. Your Packages list is corrupt - it is for the previous package list variant. It is not present on the server (it is an old one)! There are similar problems described here - https://github.com/Entware-ng/Entware-ng/issues/57

Here is some additional info for you to check:

root@ws880:/tmp/home/root# wget http://pkg.entware.net/binaries/armv7/entware-opt_222108-5_
armv7soft.ipk
Connecting to pkg.entware.net (81.4.123.217:80)
entware-opt_222108-5 100% |******************************************|  2506   0:00:00 ETA
root@ws880:/tmp/home/root# sha256sum  entware-opt_222108-5_armv7soft.ipk
7baebe87a52b25c1767a0f0b99c3281f4ff6146d8663ffff3079543eee20828a  entware-opt_222108-5_armv7soft.ipk
root@ws880:/tmp/home/root# wget http://pkg.entware.net/binaries/armv7/Packages.gz
Connecting to pkg.entware.net (81.4.123.217:80)
Packages.gz          100% |******************************************|   272k  0:00:00 ETA
root@ws880:/tmp/home/root# gunzip Packages.gz

Packages file must have

Package: entware-opt
Version: 222108-5
Depends: libc, libssp, librt, libpthread, libgcc, libstdcpp, libpthread, librt, ldconfig, findutils, terminfo, locales, opkg
Section: libs
Architecture: armv7soft
Installed-Size: 1780
Filename: entware-opt_222108-5_armv7soft.ipk
Size: 2506
MD5Sum: 4e9e136d64b2ba15e1b6690367278c04
SHA256sum: 7baebe87a52b25c1767a0f0b99c3281f4ff6146d8663ffff3079543eee20828a
Description:  entware-opt is a metapackage to install Entware basic libraries and scripts.
1688pc commented 7 years ago

Thank you

1688pc commented 7 years ago

按您提供额外的信息已经找到问题所在,我的网络处于墙中墙,直接下载是缓存在ISP服务器上的旧软件包列表,因为ISP服务器还没有同步更新,挂代理就能下载到新的软件包列表。 非常感谢您的帮助! default