Login from LAN in ssh root using putty : access denied

Sysupgrade is new release, opkg is new packages.

2 Likes

The command line opkg upgrade <package> is the same as clicking the upgrade for that package in LuCI. It is this action that is not recommended unless there is a specific reason to perform that upgrade.

The sysupgrade command line tool is the same as the LuCI flash new firmware image option. This is the mechanism by which you should be upgrading your device to the newest OpenWrt version (you can also use ASU/OWUT which uses this underlying command). This method is fine, and it will upgrade the kernel and all necessary components of OpenWrt.

3 Likes

hi guys, i have upgraded to 22.03.7 using Luci has you suggested.
But now i try to upgrade to 23.05.0-rc1 and have again an error message.

Does it means that all my configuration will be losted ?
And i had luci-app-xxx that have been unistalled during upgrade process.
Is it normal ?

Thks.
Arnaud

go directly to 23.05.5, or 24.10.

yes, but you can export it, but probably not reimport it as a whole.

it is, unless you added them to the image using firmware-selector.

ok, but i always get the message


Why ?

The first error message explains the situation in detail: you can't migrate the swconfig to DSA. So follow the advice from @frollic:

Uncheck the keep settings box, after doing the above.

As described earlier, you must not keep your settings (doing so will soft-brick the router). Unchecking the "Keep settings" box will allow the device to reset to defaults during the upgrade process.

It is a good idea to make a backup before you upgrade. That backup can be used as a human readable resource to help remind you of your previous configuration. Do not restore that backup to the device, though, as it will result in the same soft-brick situation as you'd have if you keep settings across the upgrade. If you have a complex configuration, there may be some (limited) files that you can copy over, in part or in full, but this would be done on a file-by-file basis and not en-mass.

If your config is relatively simple, just recreate from scratch -- it can be as quick as a few minutes of work in most situations.

We can also review the complexity and make recommendations if you'd like -- we'll just need to see a few config files.

You are all remarkable and I thank you for your support!
I've been using OpenWRT for many years now.
I thought opkg upgrade was enough, and now I realize I have many versions behind.

Berfore upgrading, here are some files to keep :slight_smile:

opkg list-changed-conffiles
/etc/config/acme
/etc/group
/etc/passwd
/etc/profile
/etc/services
/etc/shadow
/etc/sysupgrade.conf
/etc/config/ddns
/etc/config/dhcp
/etc/config/dropbear
/etc/dropbear/dropbear_ed25519_host_key
/etc/dropbear/dropbear_rsa_host_key
/etc/config/firewall
/etc/config/luci
/etc/config/ucitrack
/etc/config/rpcd
/etc/config/uhttpd

Below is the determined list of files to backup. It consists of changed configuration files marked by opkg, essential base files and the user defined backup patterns.

/etc/config/acme
/etc/config/acme-opkg
/etc/config/adblock
/etc/config/adblock-backup
/etc/config/adblock-opkg
/etc/config/ddns
/etc/config/ddns-opkg
/etc/config/dhcp
/etc/config/dhcp-opkg
/etc/config/dropbear
/etc/config/firewall
/etc/config/firewall-opkg
/etc/config/firewall.old
/etc/config/luci
/etc/config/luci-opkg
/etc/config/network
/etc/config/openssl
/etc/config/openvpn
/etc/config/openvpn-opkg
/etc/config/openvpn_recipes
/etc/config/owfs
/etc/config/owhttpd
/etc/config/owserver
/etc/config/privoxy
/etc/config/rpcd
/etc/config/rpcd-opkg
/etc/config/socat
/etc/config/system
/etc/config/tinyproxy
/etc/config/tinyproxy-opkg
/etc/config/ubootenv
/etc/config/ucitrack
/etc/config/ucitrack-opkg
/etc/config/uhttpd
/etc/config/uhttpd-opkg
/etc/config/uhttpd.old
/etc/config/wireless
/etc/crontabs/root
/etc/dropbear/dropbear_ed25519_host_key
/etc/dropbear/dropbear_rsa_host_key
/etc/group
/etc/hosts
/etc/inittab
/etc/luci-uploads/.placeholder
/etc/nftables.d/10-custom-filter-chains.nft
/etc/nftables.d/README
/etc/openvpn/EasyRSA-3.1.7/COPYING.md
/etc/openvpn/EasyRSA-3.1.7/ChangeLog
/etc/openvpn/EasyRSA-3.1.7/README.md
/etc/openvpn/EasyRSA-3.1.7/README.quickstart.md
/etc/openvpn/EasyRSA-3.1.7/doc/EasyRSA-Advanced.md
/etc/openvpn/EasyRSA-3.1.7/doc/EasyRSA-Contributing.md
/etc/openvpn/EasyRSA-3.1.7/doc/EasyRSA-Readme.md
/etc/openvpn/EasyRSA-3.1.7/doc/EasyRSA-Renew-and-Revoke.md
/etc/openvpn/EasyRSA-3.1.7/doc/EasyRSA-Upgrade-Notes.md
/etc/openvpn/EasyRSA-3.1.7/doc/Hacking.md
/etc/openvpn/EasyRSA-3.1.7/doc/Intro-To-PKI.md
/etc/openvpn/EasyRSA-3.1.7/easyrsa
/etc/openvpn/EasyRSA-3.1.7/gpl-2.0.txt
/etc/openvpn/EasyRSA-3.1.7/mktemp.txt
/etc/openvpn/EasyRSA-3.1.7/openssl-easyrsa.cnf
/etc/openvpn/EasyRSA-3.1.7/vars.example
/etc/openvpn/EasyRSA-3.1.7/x509-types/COMMON
/etc/openvpn/EasyRSA-3.1.7/x509-types/ca
/etc/openvpn/EasyRSA-3.1.7/x509-types/client
/etc/openvpn/EasyRSA-3.1.7/x509-types/code-signing
/etc/openvpn/EasyRSA-3.1.7/x509-types/email
/etc/openvpn/EasyRSA-3.1.7/x509-types/kdc
/etc/openvpn/EasyRSA-3.1.7/x509-types/server
/etc/openvpn/EasyRSA-3.1.7/x509-types/serverClient
/etc/openvpn/config_clients/ca.crt
/etc/openvpn/config_clients/client.ovpn
/etc/openvpn/config_clients/client.ovpn.old
/etc/openvpn/config_clients/ta.key
/etc/openvpn/config_clients/vpn_client.crt
/etc/openvpn/config_clients/vpn_client.key
/etc/openvpn/dh.pem
/etc/openvpn/firewall.ovpn_1194
/etc/openvpn/ipp.txt
/etc/openvpn/old/1_preparation.sh
/etc/openvpn/old/2_key_management.sh
/etc/openvpn/old/3_Firewall.sh
/etc/openvpn/old/4_VPN_service.sh
/etc/openvpn/old/99_config_openvpn.sh
/etc/openvpn/old/client.ovpn
/etc/openvpn/old/downdns
/etc/openvpn/old/nordvpn_auth.txt
/etc/openvpn/old/nordvpn_france.auth
/etc/openvpn/old/nordvpn_france.auth.todel
/etc/openvpn/old/nordvpn_france.ovpn
/etc/openvpn/old/nordvpn_france.ovpn.old
/etc/openvpn/old/reconnect.sh
/etc/openvpn/old/server.conf
/etc/openvpn/old/ta.key
/etc/openvpn/old/updns
/etc/openvpn/old/vpn_client.crt
/etc/openvpn/old/vpn_client.key
/etc/openvpn/old/vpn_server.crt
/etc/openvpn/old/vpn_server.key
/etc/openvpn/openssl-easyrsa.cnf
/etc/openvpn/ovpn_owrt.sh
/etc/openvpn/safessl-easyrsa.cnf
/etc/openvpn/server_1194.conf
/etc/openvpn/tc.pem
/etc/openvpn/todel/dh.pem
/etc/openvpn/todel/firewall.ovpn_1194
/etc/openvpn/todel/openssl-easyrsa.cnf
/etc/openvpn/todel/safessl-easyrsa.cnf
/etc/openvpn/todel/tc.pem
/etc/opkg/keys/2f8b0b98e08306bf
/etc/opkg/keys/4d017e6f1ed5d616
/etc/opkg/keys/f94b9dd6febac963
/etc/passwd
/etc/profile
/etc/profile.d/50-openvpn-easy-rsa.sh
/etc/profile.d/easy-rsa.sh
/etc/profile.d/easy-rsa.sh.temp
/etc/rc.local
/etc/services
/etc/shadow
/etc/shells
/etc/shinit
/etc/sysctl.conf
/etc/sysupgrade.conf
/etc/uhttpd.crt
/etc/uhttpd.key
/root/.profile
# ./listuserpackages.sh
User-installed packages are the following:
iwinfo
kmod-input-gpio-keys
liblucihttp0
cgi-io
luci-lib-base
kmod-crypto-gf128
opkg
kmod-usb-core
luci-app-opkg
ubus
iw
kmod-crypto-manager
libuci20130104
rpcd
busybox
kmod-crypto-ctr
luci-lib-ip
kmod-nft-fib
kmod-nfnetlink
libubus-lua
kmod-crypto-hash
kmod-nf-reject6
kmod-crypto-aead
libiwinfo-lua
swconfig
luci-mod-system
kmod-nf-flow
libnl-tiny1
libustream-wolfssl20201210
kmod-lib-crc-ccitt
getrandom
ucode-mod-ubus
luci-theme-bootstrap
kmod-pppoe
kmod-pppox
wpad-basic-wolfssl
kmod-nf-reject
procd-ujail
base-files
kmod-nf-nat
kmod-input-core
kmod-crypto-crc32c
ucode-mod-uci
netifd
libubus20220601
firewall4
uboot-envtools
dnsmasq
procd
luci-i18n-acme-en
kmod-crypto-hmac
kmod-crypto-sha256
ubusd
px5g-wolfssl
kmod-lib-crc32c
kmod-usb-ehci
luci-mod-status
libjson-script20220515
kmod-crypto-seqiv
kmod-nft-nat
luci-app-ddns
kmod-usb2
luci-app-firewall
libmnl0
jansson4
ubi-utils
odhcp6c
fstools
uclient-fetch
kmod-crypto-ghash
kmod-ath9k
uci
lua
ucode-mod-fs
luci-ssl
dropbear
luci-i18n-ddns-en
libnftnl11
rpcd-mod-file
mtd
odhcpd-ipv6only
procd-seccomp
libiwinfo-data
ucode
rpcd-mod-luci
kmod-crypto-ccm
kmod-nf-log
urandom-seed
luci-proto-ppp
luci-mod-admin-full
ppp
luci-base
kmod-leds-gpio
logd
kmod-nf-log6
kmod-mac80211
libblobmsg-json20220515
luci-proto-ipv6
openwrt-keyring
jshn
nftables-json
kmod-ppp
kmod-nft-offload
luci-i18n-openvpn-en
kmod-crypto-null
libiwinfo20210430
libjson-c5
uhttpd
kmod-nf-conntrack
usign
liblua5.1.5
kmod-crypto-gcm
luci-lib-nixio
libubox20220515
ca-bundle
libuclient20201210
liblucihttp-lua
kmod-crypto-cmac
luci-lib-jsonc
kmod-crypto-rng
luci
kmod-nf-conntrack6
libucode20220812
kmod-ath
ubox
kernel
rpcd-mod-iwinfo
luci-mod-network
kmod-nft-core
kmod-button-hotplug
kmod-nls-base
uhttpd-mod-ubus
fwtool
jsonfilter
hostapd-common
kmod-ath9k-common
luci-app-acme
wireless-regdb
urngd
kmod-slhc
kmod-cfg80211
rpcd-mod-rrdns
ppp-mod-pppoe
luci-app-openvpn

some doubt on /etc/openvpn/EasyRSA-3.1.7/

I am right ?
tks.
Arnaud

hi all, i finally upgraded to last release.
But now, a lot of configuration have to be restored !
ddns, firewall, dhcp etc..

first try...

# uci set openvpn.openwrt=openwrt
uci: Entry not found

What are your suggestions now to apply my old configuration ?
Tks.
Arnaud

This advice is still valid. You will use the backup as a reference to reconfigure your device.

Hello @lleachii , i do not assume to do this job at each upgrade.
Is it really the only way to keep openwrt up to date ?
thanks, Arnaud

the big red box you posted three times, explains why a reset had to be done.

1 Like

Maybe some clarifications will help:

  • Service upgrades (i.e. 24.10.0 - 24.10.1 when it comes out) are simple, can keep settings, and are generally very reliable.
  • Keeping settings across major upgrades is usually possible for n-1 to n (where n is the current version and n-1 is the just previous major version). For example, 23.05 -> 24.10. This is a really good reason why you should stay up to date.
  • Keeping settings when upgrading from n-2 and further is not typically supported and may not work properly. This is the other reason that you should stay up to date.
  • In some specific situations, a 'breaking change' is necessary for the upgrade. For example, the DSA transition or when the ar71xx target migrated to ath79 (same devices, but different methods for addressing the hardware). These are relatively rare and are typically a one-and-done situation, but require a reset-to-defaults (i.e. don't keep settings) during the upgrade. Configure from scratch here, and then subsequent upgrades should be simple.

With all upgrades, packages must be re-installed. But you can avoid that by using OWUT/ASU to perform the upgrade. When this is used, upgrading is super simple... click, wait a few mins, done.

1 Like

https://firmware-selector.openwrt.org/?version=24.10.0&target=mpc85xx%2Fp1010&id=tplink_tl-wdr4900-v1
is in my favorites :slight_smile:

Thank you very much to all !
Arnaud

Hey all, after reading OWUT/ASU from your suggestions, i know have a new issue.
I suppose that all is clear for you, but no idea of what to do now.

# owut check
owut - OpenWrt Upgrade Tool 2025.03.14~52e7d44c-r1 (/usr/bin/owut)
ASU-Server     https://sysupgrade.openwrt.org
Upstream       https://downloads.openwrt.org
Target         mpc85xx/p1010
Profile        tplink_tl-wdr4900-v1
Package-arch   powerpc_8548
Root-FS-type   squashfs
Sys-type       sysupgrade
Version-from   24.10.0 r28427-6df0e3d02a (kernel 6.6.73)
Version-to     24.10.0 r28427-6df0e3d02a (kernel 6.6.73)
Build-FS-type  squashfs
Build-at       2025-02-03T23:09:37Z (~1030 hours ago)
Image-prefix   openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1
Image-URL      https://downloads.openwrt.org/releases/24.10.0/targets/mpc85xx/p1010
Image-file     openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin
Installed      192 packages
Top-level       84 packages
Default         36 packages
User-installed  55 packages (top-level only)

Package version changes:
  libucode                     2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  luci                         24.297.79519~bcd13b9                       25.072.79561~41a338d
  luci-app-acme                25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-app-ddns                25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-app-firewall            25.014.06885~bd39c63                       25.072.79561~41a338d
  luci-app-openvpn             25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-app-package-manager     24.341.02353~276fef8                       25.072.79561~41a338d
  luci-base                    25.014.55016~7046a1c                       25.072.79561~41a338d
  luci-compat                  25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-lib-base                25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-lib-ip                  25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-lib-jsonc               25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-lib-nixio               25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-light                   23.024.33244~34dee82                       25.072.79561~41a338d
  luci-lua-runtime             25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-mod-admin-full          19.253.48496~3f93650                       25.072.79561~41a338d
  luci-mod-network             25.021.30718~36b6107                       25.072.79561~41a338d
  luci-mod-status              25.009.65022~20bf9a4                       25.072.79561~41a338d
  luci-mod-system              24.336.49068~ef16778                       25.072.79561~41a338d
  luci-proto-ipv6              24.350.69236~8d13ea4                       25.072.79561~41a338d
  luci-proto-ppp               25.009.71487~a88d4af                       25.072.79561~41a338d
  luci-ssl                     24.328.43591~9e70c9a                       25.072.79561~41a338d
  luci-theme-bootstrap         24.357.59015~779ca14                       25.072.79561~41a338d
  openssh-sftp-server          9.9_p1-r1                                  9.9_p2-r1
  ucode                        2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-fs                 2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-math               2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-nl80211            2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-rtnl               2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-ubus               2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-uci                2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-uloop              2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  wireless-regdb               2024.10.07-r1                              2025.02.20-r1
33 packages are out-of-date

Default package analysis:
  Default                      Provided-by
  nftables                     nftables-json

There are currently package build failures for 24.10.0 powerpc_8548:
  Feed: packages
    luajit2                    Mon Mar 17 00:52:14 2025 - not installed
    nginx                      Mon Mar 17 04:30:33 2025 - not installed
  Feed: telephony
    freetdm                    Mon Mar 17 05:19:01 2025 - not installed
Failures don't affect this device, details at
  https://downloads.openwrt.org/releases/faillogs-24.10/powerpc_8548/

It is safe to proceed with an upgrade
root@OpenWrt:~# owut upgrade
owut - OpenWrt Upgrade Tool 2025.03.14~52e7d44c-r1 (/usr/bin/owut)
ASU-Server     https://sysupgrade.openwrt.org
Upstream       https://downloads.openwrt.org
Target         mpc85xx/p1010
Profile        tplink_tl-wdr4900-v1
Package-arch   powerpc_8548
Root-FS-type   squashfs
Sys-type       sysupgrade
Version-from   24.10.0 r28427-6df0e3d02a (kernel 6.6.73)
Version-to     24.10.0 r28427-6df0e3d02a (kernel 6.6.73)
Build-FS-type  squashfs
Build-at       2025-02-03T23:09:37Z (~1030 hours ago)
Image-prefix   openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1
Image-URL      https://downloads.openwrt.org/releases/24.10.0/targets/mpc85xx/p1010
Image-file     openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin
Installed      192 packages
Top-level       84 packages
Default         36 packages
User-installed  55 packages (top-level only)

Package version changes:
  libucode                     2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  luci                         24.297.79519~bcd13b9                       25.072.79561~41a338d
  luci-app-acme                25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-app-ddns                25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-app-firewall            25.014.06885~bd39c63                       25.072.79561~41a338d
  luci-app-openvpn             25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-app-package-manager     24.341.02353~276fef8                       25.072.79561~41a338d
  luci-base                    25.014.55016~7046a1c                       25.072.79561~41a338d
  luci-compat                  25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-lib-base                25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-lib-ip                  25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-lib-jsonc               25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-lib-nixio               25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-light                   23.024.33244~34dee82                       25.072.79561~41a338d
  luci-lua-runtime             25.070.50728~f9f4379                       25.072.79561~41a338d
  luci-mod-admin-full          19.253.48496~3f93650                       25.072.79561~41a338d
  luci-mod-network             25.021.30718~36b6107                       25.072.79561~41a338d
  luci-mod-status              25.009.65022~20bf9a4                       25.072.79561~41a338d
  luci-mod-system              24.336.49068~ef16778                       25.072.79561~41a338d
  luci-proto-ipv6              24.350.69236~8d13ea4                       25.072.79561~41a338d
  luci-proto-ppp               25.009.71487~a88d4af                       25.072.79561~41a338d
  luci-ssl                     24.328.43591~9e70c9a                       25.072.79561~41a338d
  luci-theme-bootstrap         24.357.59015~779ca14                       25.072.79561~41a338d
  openssh-sftp-server          9.9_p1-r1                                  9.9_p2-r1
  ucode                        2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-fs                 2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-math               2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-nl80211            2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-rtnl               2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-ubus               2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-uci                2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  ucode-mod-uloop              2024.07.22~b610860d-r3                     2025.02.10~a8a11aea-r1
  wireless-regdb               2024.10.07-r1                              2025.02.20-r1
33 packages are out-of-date

Default package analysis:
  Default                      Provided-by
  nftables                     nftables-json

There are currently package build failures for 24.10.0 powerpc_8548:
  Feed: packages
    luajit2                    Mon Mar 17 00:52:14 2025 - not installed
    nginx                      Mon Mar 17 04:30:33 2025 - not installed
  Feed: telephony
    freetdm                    Mon Mar 17 05:19:01 2025 - not installed
Failures don't affect this device, details at
  https://downloads.openwrt.org/releases/faillogs-24.10/powerpc_8548/

Request:
  Version 24.10.0 r28427-6df0e3d02a (kernel 6.6.73)
Request hash:
  436e9e39accaf3188e9fe90caa1f7cd8e7542587d3f3d86c7f6dc383a3619b65
--
Status:   queued - 0 ahead of you
Progress:   0s total =   0s in queue +   0s in build
--
Status:   init
Progress:   1s total =   0s in queue +   1s in build
--
Status:   container_setup
Progress:   3s total =   0s in queue +   3s in build
--
Status:   validate_manifest
Progress:  14s total =   0s in queue +  14s in build
--
Status:   Error: Impossible package selection
Progress:  17s total =   0s in queue +  17s in build

Build failed in  17s total =   0s in queue +  17s to build:
ASU server error =
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1633, in perform_job
    return_value = job.perform()
                   ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1331, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1365, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 245, in build
    report_error(job, "Impossible package selection")
  File "/app/asu/util.py", line 308, in report_error
    raise RuntimeError(msg)
RuntimeError: Impossible package selection

ASU server stderr =
Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/mpc85xx/p1010/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-powerpc_8548_musl/root-mpc85xx/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/mpc85xx/p1010/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-powerpc_8548_musl/root-mpc85xx/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/mpc85xx/p1010/kmods/6.6.73-1-9ef2b14a9d39213839ea1530a0d90a7b/Packages.gz
Updated list of available packages in /builder/build_dir/target-powerpc_8548_musl/root-mpc85xx/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/mpc85xx/p1010/kmods/6.6.73-1-9ef2b14a9d39213839ea1530a0d90a7b/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-powerpc_8548_musl/root-mpc85xx/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-powerpc_8548_musl/root-mpc85xx/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-powerpc_8548_musl/root-mpc85xx/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-powerpc_8548_musl/root-mpc85xx/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/powerpc_8548/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-powerpc_8548_musl/root-mpc85xx/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
 * check_data_file_clashes: Package libustream-openssl20201210 wants to install file /builder/build_dir/target-powerpc_8548_musl/root-mpc85xx/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-mbedtls20201210
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
make[2]: *** [Makefile:234: package_install] Error 255
make[1]: *** [Makefile:171: _call_manifest] Error 2
make: *** [Makefile:349: manifest] Error 2

ERROR: Build failed with status 500
The above errors are often due to the upgrade server lagging behind the
build server, first suggestion is to wait a while and try again.

Many thanks again for your help.
Arnaud

Please read the output top to bottom and bottom to top.

i did wait, and tryied again today, same problem. Sorry, but really not clear for me. What is wrong here ?
What does it mean by wait a while ?
35 packages now has te be uptaded...

Thanks again for your time.
Arnaud

so i installed snapshot, and now

# opkg
-ash: opkg: not found
# owut upgrade
-ash: owut: not found

luci not installed ???
http://192.168.1.1/cgi-bin/luci/

not very easy to understand what is the roadmap. it looks like a nightmare

Arnaud

If you're using snapshot, you need to use apk.

Stable releases up to and including 24.10 use opkg (and they also have LuCI pre-installed).

thank you @psherman , so it was not a good idea to install snapshot !
i was thinking snapshot is like stable because first in the list ..

My bad !
i tryied to go back to 24.10.0, but no way.

# DOWNLOAD_LINK="https://downloads.openwrt.org/releases/24.10.0/targets/mpc85xx/p1010/openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysu
pgrade.bin"
root@OpenWrt:/etc/config# cd /tmp
root@OpenWrt:/tmp# wget $DOWNLOAD_LINK
Downloading 'https://downloads.openwrt.org/releases/24.10.0/targets/mpc85xx/p1010/openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin'
Connecting to 2a04:4e42::644:443
Writing to 'openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin'
openwrt-24.10.0-mpc8 100% |*******************************|  7680k  0:00:00 ETA
Download completed (7864953 bytes)
root@OpenWrt:/tmp# free
              total        used        free      shared  buff/cache   available
Mem:         112380       31480       48024        8012       32876       35880
Swap:             0           0           0
root@OpenWrt:/tmp# ls -l
-rw-r--r--    1 root     root            27 Mar 20 22:57 TZ
-rw-r--r--    1 root     root           533 Mar 20 23:25 dhcp.leases
drwxr-xr-x    2 root     root            40 Mar 20 22:57 dnsmasq.cfg01411c.d
drwxr-xr-x    2 root     root            60 Mar 20 22:58 etc
drwxr-xr-x    2 root     root            80 Mar 20 23:48 hosts
drwxr-xr-x    3 root     root            60 Mar 20 22:57 lib
drwxrwxrwt    2 root     root           380 Mar 20 22:57 lock
drwxr-xr-x    2 root     root            80 Mar 20 22:57 log
-rw-r--r--    1 root     root       7864953 Mar 20 23:47 openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin
drwxr-xr-x    2 root     root            40 Jan  1  1970 overlay
-rw-r--r--    1 root     root            47 Mar 20 22:58 resolv.conf
drwxr-xr-x    2 root     root            60 Mar 20 23:49 resolv.conf.d
drwxr-xr-x    6 root     root           460 Mar 20 22:58 run
drwxrwxrwt    2 root     root            40 Mar 20 22:57 shm
drwxr-xr-x    3 root     root            60 Mar 20 22:57 spool
drwxr-xr-x    2 root     root            80 Mar 20 22:58 state
drwxr-xr-x    2 root     root            80 Jan  1  1970 sysinfo
drwxr-xr-x    2 root     root            40 Mar 20 22:57 tmp
root@OpenWrt:/tmp# firmware_image openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin root@openwrt.lan:/tmp
-ash: firmware_image: not found
root@OpenWrt:/tmp# scp openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin root@openwrt.lan:/tmp

/usr/bin/dbclient: Connection to root@openwrt.lan:22 exited: Connect failed: Connection refused
lost connection
root@OpenWrt:/tmp# ls
TZ                                                                          lock                                                                        run
dhcp.leases                                                                 log                                                                         shm
dnsmasq.cfg01411c.d                                                         openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin  spool
etc                                                                         overlay                                                                     state
hosts                                                                       resolv.conf                                                                 sysinfo
lib                                                                         resolv.conf.d                                                               tmp
root@OpenWrt:/tmp# scp -p 122 openwrt-24.10.0-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin root@openwrt.lan:/tmp

/usr/bin/dbclient: Connection to root@openwrt.lan:22 exited: Connect failed: Connection refused
lost connection

ssh port is 122.

1 Like