Factory reset not wiping packages

Trying to start fresh here, did a factory reset from Luci but adblock-fast and AttendedSysUpgrade still appear to be installed.

This happened once before and a second factory reset seemed to fix it - any idea what could be going on?

edit:

I just downloaded the latest from Firmware Selector and flashed via Luci, SSH'd in (so I could install Luci), and it seems like there was still a remaining config file for Luci despite the fact that I erased everything - is this expected behavior?

 OpenWrt SNAPSHOT, r26620-6b03050192
 -----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/kmods/6.6.32-1-7abde0b81ec161076a24e20c3e22fa12/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/kmods/6.6.32-1-7abde0b81ec161076a24e20c3e22fa12/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install luci
Installing luci (23.051.66410~a505bb1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci_23.051.66410~a505bb1_all.ipk
Installing luci-proto-ipv6 (24.148.86114~fbbfdb4) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-proto-ipv6_24.148.86114~fbbfdb4_all.ipk
Installing rpcd (2024.02.22~8ef4c258-r1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/rpcd_2024.02.22~8ef4c258-r1_aarch64_cortex-a53.ipk
Installing rpcd-mod-file (2024.02.22~8ef4c258-r1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/rpcd-mod-file_2024.02.22~8ef4c258-r1_aarch64_cortex-a53.ipk
Installing rpcd-mod-luci (20240305-r1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/rpcd-mod-luci_20240305-r1_aarch64_cortex-a53.ipk
Installing rpcd-mod-ucode (2024.02.22~8ef4c258-r1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/rpcd-mod-ucode_2024.02.22~8ef4c258-r1_aarch64_cortex-a53.ipk
Installing cgi-io (2022.08.10~901b0f04-r21) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/cgi-io_2022.08.10~901b0f04-r21_aarch64_cortex-a53.ipk
Installing ucode-mod-math (2024.05.09~0d823e70-r1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/ucode-mod-math_2024.05.09~0d823e70-r1_aarch64_cortex-a53.ipk
Installing ucode-mod-html (1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/ucode-mod-html_1_aarch64_cortex-a53.ipk
Installing liblucihttp0 (2023.03.15~9b5b683f-r1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/liblucihttp0_2023.03.15~9b5b683f-r1_aarch64_cortex-a53.ipk
Installing liblucihttp-ucode (2023.03.15~9b5b683f-r1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/liblucihttp-ucode_2023.03.15~9b5b683f-r1_aarch64_cortex-a53.ipk
Installing luci-base (24.158.03388~a6f8361) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-base_24.158.03388~a6f8361_aarch64_cortex-a53.ipk
Installing luci-app-firewall (24.148.86114~fbbfdb4) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-app-firewall_24.148.86114~fbbfdb4_all.ipk
Installing rpcd-mod-iwinfo (2024.02.22~8ef4c258-r1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/rpcd-mod-iwinfo_2024.02.22~8ef4c258-r1_aarch64_cortex-a53.ipk
Installing luci-mod-status (24.141.29261~e7f2e6b) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-mod-status_24.141.29261~e7f2e6b_aarch64_cortex-a53.ipk
Installing luci-mod-system (24.165.47464~37ea60d) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-mod-system_24.165.47464~37ea60d_all.ipk
Installing luci-mod-network (24.149.31337~7226e13) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-mod-network_24.149.31337~7226e13_all.ipk
Installing luci-mod-admin-full (19.253.48496~3f93650) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-mod-admin-full_19.253.48496~3f93650_all.ipk
Installing luci-proto-ppp (24.148.86114~fbbfdb4) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-proto-ppp_24.148.86114~fbbfdb4_all.ipk
Installing luci-theme-bootstrap (24.123.27749~3e967fd) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-theme-bootstrap_24.123.27749~3e967fd_all.ipk
Installing rpcd-mod-rrdns (20170710) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/rpcd-mod-rrdns_20170710_aarch64_cortex-a53.ipk
Installing uhttpd (2023.06.25~34a8a74d-r3) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/uhttpd_2023.06.25~34a8a74d-r3_aarch64_cortex-a53.ipk
Installing uhttpd-mod-ubus (2023.06.25~34a8a74d-r3) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/uhttpd-mod-ubus_2023.06.25~34a8a74d-r3_aarch64_cortex-a53.ipk
Installing luci-light (23.024.33244~34dee82) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-light_23.024.33244~34dee82_all.ipk
Installing luci-app-opkg (24.148.86114~fbbfdb4) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/luci-app-opkg_24.148.86114~fbbfdb4_all.ipk
Configuring liblucihttp0.
Configuring cgi-io.
Configuring rpcd.
Configuring rpcd-mod-file.
Configuring rpcd-mod-luci.
Configuring rpcd-mod-ucode.
Configuring ucode-mod-math.
Configuring ucode-mod-html.
Configuring liblucihttp-ucode.
Configuring luci-base.
4+0 records in
4+0 records out
Configuring luci-app-opkg.
Configuring luci-mod-system.
Configuring luci-theme-bootstrap.
/luci-static/bootstrap
/luci-static/bootstrap-dark
/luci-static/bootstrap-light
Configuring rpcd-mod-iwinfo.
Configuring luci-mod-status.
Configuring luci-app-firewall.
Configuring luci-proto-ppp.
Configuring luci-mod-network.
Configuring luci-mod-admin-full.
Configuring luci-proto-ipv6.
Configuring uhttpd.
4+0 records in
4+0 records out
Configuring rpcd-mod-rrdns.
Configuring uhttpd-mod-ubus.
4+0 records in
4+0 records out
Configuring luci-light.
Configuring luci.
Collected errors:
 * resolve_conffiles: Existing conffile /etc/config/luci is different from the conffile in the new package. The new conffile will be placed at /etc/config/luci-opkg.
 * resolve_conffiles: Existing conffile /etc/config/uhttpd is different from the conffile in the new package. The new conffile will be placed at /etc/config/uhttpd-opkg.
root@OpenWrt:~#

Are you sure you installed a completey 'vanilla' image? Grab your image from https://downloads.openwrt.org/, sysupgrade to it, check if attended sysupgrade etc is still there. Firmware selector may be handy, but its purpose is to provide you with custom built images without needing a buildroot or the image builder locally on your system.

1 Like

Are you using a Pi4?

Well, if you have installed the image while keeping your config over sysupgrade, opkg kindly refuses to overwrite your settings when you install LuCI, and kindly places the default config file as luci-opkg for your reference.
Looks like normal opkg behaviour to me.

3 Likes