negan07 / ancistrus

Netgear's D7000 Nighthawk Router Experience Distributed Project
https://negan07.github.io/ancistrus/
GNU General Public License v2.0
66 stars 17 forks source link

opkg list-installed BUG? #27

Closed BoostOver closed 6 years ago

BoostOver commented 6 years ago

Trying 192.168.0.1... Connected to 192.168.0.1. Escape character is '^]'. D7000 login: admin Password: admin@D7000:$ opkg list-installed ancistrus-core - 1.0.4 hdparm - 9.52 network-test - 0.1.0-270 openssh - 7.6p1-010 qos-sqm - 1.2.0-13.027 smartmontools - 6.5 utelnetd - 0.1.11 zlib - 1.2.11 admin@D7000:$ opkg install iproute2 Package iproute2 (4.16.0) installed in root is up to date. admin@D7000:$

negan07 commented 6 years ago

this happen when there's a half-broken install try

opkg clean
opkg update
opkg install --force-reinstall iproute2
BoostOver commented 6 years ago

Trying 192.168.0.1... Connected to 192.168.0.1. Escape character is '^]'. D7000 login: admin Password: admin@D7000:$ opkg clean admin@D7000:$ opkg update Downloading https://raw.githubusercontent.com/negan07/ancistrus/gh-pages/ancistrus-arm-D7000/Packages.gz. Updated source 'ancistrus-arm-D7000'. admin@D7000:$ opkg install --force-reinstall iproute2 Downloading https://raw.githubusercontent.com/negan07/ancistrus/gh-pages/ancistrus-arm-D7000/iproute2_4.16.0_armD7000.ipk. Reinstalling iproute2 (4.16.0) on root. Installing iproute2 (4.16.0) on root. To remove package debris, try opkg remove iproute2. To re-attempt the install, try opkg install iproute2. Collected errors:

negan07 commented 6 years ago

just a formalism: old iproute2 package has removal locked now locks has been all removed to speedup upgrades like this

Remove iproute2 package references and fresh install it with:

rm -f /usr/lib/opkg/list/iproute2*
opkg update
opkg install iproute2
negan07 commented 6 years ago

marked as duplicate of:

https://github.com/negan07/ancistrus/issues/28

close here and continue there