trying to update from LuCI or from ssh/cli I get this error.
- opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.
The opkg update command failed with code 255
.
Any suggestions
trying to update from LuCI or from ssh/cli I get this error.
The opkg update command failed with code 255
.
Any suggestions
Perhaps you're running multiple opkg instances and one of them hanged? Check ps
or simply reboot the device.
thanks for responding. I have rebooted. tried from ssh. rebooted, tried from LuCI. no go here's ps. I don't see anything, but I'm new to this.
PID USER VSZ STAT COMMAND
1 root 2316 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [pool_workqueue_]
4 root 0 IW< [kworker/R-rcu_g]
5 root 0 IW< [kworker/R-rcu_p]
6 root 0 IW< [kworker/R-slub_]
7 root 0 IW< [kworker/R-netns]
9 root 0 IW< [kworker/0:0H-kb]
12 root 0 IW< [kworker/R-mm_pe]
13 root 0 IW [rcu_tasks_trace]
14 root 0 SW [ksoftirqd/0]
15 root 0 IW [rcu_sched]
16 root 0 SW [migration/0]
17 root 0 SW [cpuhp/0]
18 root 0 SW [cpuhp/1]
19 root 0 SW [migration/1]
20 root 0 SW [ksoftirqd/1]
23 root 0 SW [cpuhp/2]
24 root 0 SW [migration/2]
25 root 0 SW [ksoftirqd/2]
27 root 0 IW< [kworker/2:0H-kb]
28 root 0 SW [cpuhp/3]
29 root 0 SW [migration/3]
30 root 0 SW [ksoftirqd/3]
31 root 0 IW [kworker/3:0-mm_]
32 root 0 IW< [kworker/3:0H-kb]
33 root 0 IW< [kworker/R-inet_]
34 root 0 IW [kworker/u8:1-ev]
36 root 0 SW [oom_reaper]
37 root 0 IW< [kworker/R-write]
38 root 0 SW [kcompactd0]
39 root 0 IW< [kworker/R-pencr]
40 root 0 IW< [kworker/R-pdecr]
41 root 0 IW< [kworker/R-kbloc]
42 root 0 IW< [kworker/R-blkcg]
43 root 0 SW [watchdogd]
44 root 0 IW< [kworker/1:1H-kb]
54 root 0 SW [kswapd0]
56 root 0 IW< [kworker/R-kthro]
120 root 0 IW [kworker/u8:3-ev]
220 root 0 IW [kworker/0:7-eve]
223 root 0 IW [kworker/0:9-eve]
240 root 0 IW [kworker/3:1-rcu]
249 root 0 IW [kworker/1:1-pm]
256 root 0 IW [kworker/2:1-eve]
495 root 0 SW [irq/24-4a9000.t]
538 root 0 IW< [kworker/R-mld]
539 root 0 IW< [kworker/R-ipv6_]
540 root 0 IW< [kworker/R-dsa_o]
541 root 0 IW< [kworker/R-kstrp]
688 root 0 SW [irq/28-cpr3]
689 root 0 IW [kworker/2:2-mm_]
692 root 0 SW [irq/19-smp2p]
698 root 0 SW [sugov:0]
702 root 0 SW [irq/26-q6v5 wdo]
711 root 0 SW [ubi_bgt0d]
746 root 0 SW [irq/52-keys]
747 root 0 SW [irq/33-keys]
805 root 0 SW [irq/38-qcom_dwc]
853 root 0 IW< [kworker/0:2H]
964 root 0 SW [ubifs_bgt0_1]
1114 ubus 1492 S /sbin/ubusd
1115 root 932 S /sbin/askfirst /usr/libexec/login.sh
1117 root 0 IW< [kworker/2:2H]
1151 root 1088 S /sbin/urngd
1251 root 0 SW< [krfcommd]
1256 root 0 IW< [kworker/R-cfg80]
1289 root 0 IW< [kworker/R-ath11]
1290 root 0 IW< [kworker/R-ath11]
1776 logd 2064 S /sbin/logd -S 128
1830 root 3876 S /sbin/rpcd -s /var/run/ubus/ubus.sock -t 30
1887 root 0 IW< [kworker/1:2H]
2071 root 1132 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
2119 root 0 IW< [kworker/3:2H]
2178 root 2852 S {hostapd} /sbin/ujail -t 5 -n hostapd -U network -G
2179 root 2852 S {wpa_supplicant} /sbin/ujail -t 5 -n wpa_supplicant
2223 network 5036 S /usr/sbin/wpa_supplicant -n -s -g /var/run/wpa_suppl
2224 network 5100 S /usr/sbin/hostapd -s -g /var/run/hostapd/global
2243 root 2668 S /sbin/netifd
2361 root 1644 S /usr/sbin/odhcpd
2486 root 3092 S /usr/sbin/uhttpd -f -h /www -r OpenWrt -x /cgi-bin -
3013 root 2852 S {ntpd} /sbin/ujail -t 5 -n ntpd -U ntp -G ntp -C /et
3068 ntp 1336 S /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.
3073 root 988 S /usr/sbin/ubihealthd -f -d /dev/ubi0
4270 root 0 IW [kworker/u8:5-ev]
4925 root 0 IW [kworker/1:2-eve]
4928 root 2852 S {dnsmasq} /sbin/ujail -t 5 -n dnsmasq -u -l -r /bin/
4977 dnsmasq 1664 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c
4990 root 1156 R /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
4991 root 1352 S -ash
4999 root 0 IW [kworker/u8:2-ev]
5538 root 0 IW [kworker/u8:4-ev]
5547 root 0 IW [kworker/u8:0-ev]
5564 root 1344 R ps
Does this file actually exist? If not, there might be something else going, e.g. damaged flash.
no, apparently it doesn't.
fw_printenv.lock procd_packet_steering.lock
procd_.lock procd_rpcd.lock
procd_cron.lock procd_sysntpd.lock
procd_dnsmasq.lock procd_system.lock
procd_dropbear.lock procd_ubihealthd.lock
procd_firewall.lock procd_ucitrack.lock
procd_gpio_switch.lock procd_uhttpd.lock
procd_log.lock procd_urandom_seed.lock
procd_network.lock procd_urngd.lock
procd_odhcpd.lock procd_wpad.lock
I really appreciate your help. what do I do from here.
That does seem odd. What version of OpenWrt are you using?
ubus call system board
{
"kernel": "6.6.73",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "Linksys MX4200v1",
"board_name": "linksys,mx4200v1",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10.0",
"revision": "r28427-6df0e3d02a",
"target": "qualcommax/ipq807x",
"description": "OpenWrt 24.10.0 r28427-6df0e3d02a",
"builddate": "1738624177"
}
}
Have you ran upgrades on this 24.10.0 device before?
No, 24.10.0 was the first firmware i installed over OEM.
Cool, but I meamt package upgrades using opkg upgrade
Please check that dns is working on your openwrt router, Network-Diagnosis.