DSF & DWC Downgrade from 3.5.0rc1 to 3.4.6-2 doesnt work
-
Hey Guys,
6HC with SBC:
At first the update to beta4 went fine. All boards, DSF and DWC updated automatically.
Then I went to rc1 because I experienced some issues, but the DWC didnt upgrade to rc1 and stayed at beta4.
With all boards on rc1 except the DWC on beta4 i had machine freezes mid print.Now my downgrade to the last stable package freezed in line:
Setting up reprapfirmware (3.4.6-2) ...login as: pi pi@192.168.85.140's password: Linux T3000SE-L67W2 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Oct 18 13:03:45 2023 from 10.3.141.73 pi@T3000SE-L67W2:~ $ sudo rm -f /etc/apt/sources.list.d/duet3d-unstable.list [1]+ Exit 1 nohup /usr/bin/onboard > /dev/null 2>&1 pi@T3000SE-L67W2:~ $ sudo bash -c "echo 'deb https://pkg.duet3d.com/ stable armv7' > /etc/apt/sources.list.d/duet3d.list" pi@T3000SE-L67W2:~ $ sudo apt update Get:1 https://linux.teamviewer.com/deb stable InRelease [11.9 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:3 https://deb.nodesource.com/node_16.x buster InRelease [4,584 B] Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [400 kB] Get:5 https://pkg.duet3d.com stable InRelease [2,563 B] Get:6 https://pkg.duet3d.com stable/armv7 armhf Packages [29.3 kB] Get:7 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:8 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB] Fetched 13.5 MB in 14s (952 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. pi@T3000SE-L67W2:~ $ sudo apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libauthen-sasl-perl libdata-dump-perl libencode-locale-perl libfile-listing-perl libfont-afm-perl libglade2-0 libhiredis0.14 libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libjpeg-turbo-progs liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libmemcached11 libmemcachedutil2 libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libpeas-1.0-0 libpeas-common libtimedate-perl libtry-tiny-perl libturbojpeg0 liburi-perl libwww-perl libwww-robotrules-perl perl-openssl-defaults proftpd-doc xscreensaver-data Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. pi@T3000SE-L67W2:~ $ sudo rm -f /etc/apt/sources.list.d/duet3d-unstable.list pi@T3000SE-L67W2:~ $ sudo bash -c "echo 'deb https://pkg.duet3d.com/ stable armv7' > /etc/apt/sources.list.d/duet3d.list" pi@T3000SE-L67W2:~ $ sudo apt update Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://linux.teamviewer.com/deb stable InRelease Hit:4 https://pkg.duet3d.com stable InRelease Get:5 https://deb.nodesource.com/node_16.x buster InRelease [4,584 B] Fetched 4,584 B in 4s (1,203 B/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. pi@T3000SE-L67W2:~ $ rm -f ./reprapfirmware*.deb pi@T3000SE-L67W2:~ $ apt download reprapfirmware/stable Get:1 https://pkg.duet3d.com stable/armv7 armhf reprapfirmware all 3.4.6-2 [1,249 kB] Fetched 1,249 kB in 3s (418 kB/s) pi@T3000SE-L67W2:~ $ sudo dpkg -i --force-depends ./reprapfirmware*.deb dpkg: warning: downgrading reprapfirmware from 3.5.0~rc.1-1 to 3.4.6-2 (Reading database ... 109532 files and directories currently installed.) Preparing to unpack .../reprapfirmware_3.4.6-2_all.deb ... Unpacking reprapfirmware (3.4.6-2) over (3.5.0~rc.1-1) ... Setting up reprapfirmware (3.4.6-2) ... ^Cdpkg: error processing package reprapfirmware (--install): installed reprapfirmware package post-installation script subprocess was interrupted Errors were encountered while processing: reprapfirmware pi@T3000SE-L67W2:~ $ sudo dpkg -i --force-depends ./reprapfirmware*.deb (Reading database ... 109528 files and directories currently installed.) Preparing to unpack .../reprapfirmware_3.4.6-2_all.deb ... Unpacking reprapfirmware (3.4.6-2) over (3.4.6-2) ... Setting up reprapfirmware (3.4.6-2) ...
Restarted the machine and the process:
login as: pi pi@192.168.85.140's password: Linux T3000SE-L67W2 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Oct 23 07:55:04 2023 from 10.3.141.73 pi@T3000SE-L67W2:~ $ sudo apt update Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Get:2 https://deb.nodesource.com/node_16.x buster InRelease [4,584 B] Get:3 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Hit:4 https://linux.teamviewer.com/deb stable InRelease Hit:5 https://pkg.duet3d.com stable InRelease Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [400 kB] Fetched 437 kB in 4s (104 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. [1]+ Exit 1 nohup /usr/bin/onboard > /dev/null 2>&1 pi@T3000SE-L67W2:~ $ sudo apt dist-upgrade E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. pi@T3000SE-L67W2:~ $ ^C pi@T3000SE-L67W2:~ $ sudo dpkg --configure -a Setting up reprapfirmware (3.4.6-2) ... There is 1 outdated board: - Duet 3 Expansion EXP1HCL (3.5.0-rc.1 -> 3.4.6) @ CAN address 123 Would you like to update them all (Y/n)? y Updating firmware on board #123... Done! Resetting mainboard... Done! pi@T3000SE-L67W2:~ $
but the DWC was still on 3.5.0-beta.4 and the DSF on 3.5.0-rc.1. Now after a M997 and some restarts both is frankly on rc.1:
-
Tried to update to rc1 again, but it stated
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).pi@T3000SE-L67W2:~ $ sudo apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: duetsoftwareframework : Depends: reprapfirmware (>= 3.5.0~rc.1-1) but 3.4.6-2 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). pi@T3000SE-L67W2:~ $ apt --fix-broken install E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? pi@T3000SE-L67W2:~ $ y -bash: y: command not found pi@T3000SE-L67W2:~ $ ^C pi@T3000SE-L67W2:~ $ sudo killall apt apt-get apt: no process found apt-get: no process found pi@T3000SE-L67W2:~ $ sudo rm /var/lib/apt/lists/lock pi@T3000SE-L67W2:~ $ sudo rm /var/cache/apt/archives/lock pi@T3000SE-L67W2:~ $ sudo rm /var/lib/dpkg/lock* pi@T3000SE-L67W2:~ $ sudo dpkg --configure -a pi@T3000SE-L67W2:~ $ sudo apt update Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://linux.teamviewer.com/deb stable InRelease Get:4 https://deb.nodesource.com/node_16.x buster InRelease [4,584 B] Hit:5 https://pkg.duet3d.com unstable InRelease Fetched 4,584 B in 4s (1,287 B/s) Reading package lists... Done Building dependency tree Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. pi@T3000SE-L67W2:~ $ sudo apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: duetsoftwareframework : Depends: reprapfirmware (>= 3.5.0~rc.1-1) but 3.4.6-2 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). pi@T3000SE-L67W2:~ $ apt --fix-broken install E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? pi@T3000SE-L67W2:~ $
-
@DavidG_68kg_PLA Please follow the full instructions at https://docs.duet3d.com/en/User_manual/Machine_configuration/DSF_RPi#downgrade-packages, in particular step 6.
-
@chrishamm thanks! That helped for the DSF.
But the DWC is still on rc1.Here's my log:
login as: pi pi@192.168.85.140's password: Linux T3000SE-L67W2 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Oct 23 10:59:29 2023 from 10.3.141.73 pi@T3000SE-L67W2:~ $ sudo rm -f /etc/apt/sources.list.d/duet3d-unstable.list [1]+ Exit 1 nohup /usr/bin/onboard > /dev/null 2>&1 pi@T3000SE-L67W2:~ $ sudo rm -f /etc/apt/sources.list.d/duet3d-unstable.list pi@T3000SE-L67W2:~ $ sudo bash -c "echo 'deb https://pkg.duet3d.com/ stable armv7' > /etc/apt/sources.list.d/duet3d.list" pi@T3000SE-L67W2:~ $ sudo apt update Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://linux.teamviewer.com/deb stable InRelease Get:4 https://deb.nodesource.com/node_16.x buster InRelease [4,584 B] Get:5 https://pkg.duet3d.com stable InRelease [2,563 B] Get:6 https://pkg.duet3d.com stable/armv7 armhf Packages [29.3 kB] Fetched 36.4 kB in 4s (9,758 B/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. pi@T3000SE-L67W2:~ $ rm -f ./reprapfirmware*.deb pi@T3000SE-L67W2:~ $ apt download reprapfirmware/stable Get:1 https://pkg.duet3d.com stable/armv7 armhf reprapfirmware all 3.4.6-2 [1,249 kB] Fetched 1,249 kB in 5s (229 kB/s) pi@T3000SE-L67W2:~ $ sudo dpkg -i --force-depends ./reprapfirmware*.deb (Reading database ... 109528 files and directories currently installed.) Preparing to unpack .../reprapfirmware_3.4.6-2_all.deb ... Unpacking reprapfirmware (3.4.6-2) over (3.4.6-2) ... Setting up reprapfirmware (3.4.6-2) ... All boards are up-to-date! pi@T3000SE-L67W2:~ $ sudo apt install -y --allow-downgrades duetsoftwareframework/stable duetcontrolserver/stable duetwebserver/stable duetpluginservice/stable duettools/stable duetruntime/stable duetwebcontrol/stable duetpimanagementplugin/stable Reading package lists... Done Building dependency tree Reading state information... Done Selected version '3.4.6' (stable [armhf]) for 'duetsoftwareframework' Selected version '3.4.6' (stable [armhf]) for 'duetcontrolserver' Selected version '3.4.6' (stable [armhf]) for 'duetwebserver' Selected version '3.4.6' (stable [armhf]) for 'duetpluginservice' Selected version '3.4.6' (stable [armhf]) for 'duettools' Selected version '3.4.6' (stable [armhf]) for 'duetruntime' Selected version '3.4.6' (stable [all]) for 'duetwebcontrol' Selected version '3.4.6' (stable [armhf]) for 'duetpimanagementplugin' The following packages were automatically installed and are no longer required: libauthen-sasl-perl libdata-dump-perl libencode-locale-perl libfile-listing-perl libfont-afm-perl libglade2-0 libhiredis0.14 libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libjpeg-turbo-progs liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libmemcached11 libmemcachedutil2 libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libpeas-1.0-0 libpeas-common libtimedate-perl libtry-tiny-perl libturbojpeg0 liburi-perl libwww-perl libwww-robotrules-perl perl-openssl-defaults proftpd-doc xscreensaver-data Use 'sudo apt autoremove' to remove them. Recommended packages: proftpd duetpluginservice The following packages will be DOWNGRADED: duetcontrolserver duetpimanagementplugin duetpluginservice duetruntime duetsoftwareframework duettools duetwebcontrol duetwebserver 0 upgraded, 0 newly installed, 8 downgraded, 0 to remove and 0 not upgraded. Need to get 44.3 MB of archives. After this operation, 0 B of additional disk space will be used. Get:1 https://pkg.duet3d.com stable/armv7 armhf duetpimanagementplugin armhf 3.4.6 [4,912 kB] Get:2 https://pkg.duet3d.com stable/armv7 armhf duetpluginservice armhf 3.4.6 [66.6 kB] Get:3 https://pkg.duet3d.com stable/armv7 armhf duetsoftwareframework armhf 3.4.6 [2,106 B] Get:4 https://pkg.duet3d.com stable/armv7 armhf duetwebserver armhf 3.4.6 [86.4 kB] Get:5 https://pkg.duet3d.com stable/armv7 armhf duettools armhf 3.4.6 [56.7 kB] Get:6 https://pkg.duet3d.com stable/armv7 armhf duetcontrolserver armhf 3.4.6 [249 kB] Get:7 https://pkg.duet3d.com stable/armv7 armhf duetruntime armhf 3.4.6 [28.4 MB] Get:8 https://pkg.duet3d.com stable/armv7 armhf duetwebcontrol all 3.4.6 [10.5 MB] Fetched 44.3 MB in 9s (5,178 kB/s) dpkg: warning: downgrading duetpimanagementplugin from 3.5.0~rc.1 to 3.4.6 (Reading database ... 109528 files and directories currently installed.) Preparing to unpack .../0-duetpimanagementplugin_3.4.6_armhf.deb ... Unpacking duetpimanagementplugin (3.4.6) over (3.5.0~rc.1) ... dpkg: warning: downgrading duetpluginservice from 3.5.0~rc.1 to 3.4.6 Preparing to unpack .../1-duetpluginservice_3.4.6_armhf.deb ... Unpacking duetpluginservice (3.4.6) over (3.5.0~rc.1) ... dpkg: warning: downgrading duetsoftwareframework from 3.5.0~rc.1 to 3.4.6 Preparing to unpack .../2-duetsoftwareframework_3.4.6_armhf.deb ... Unpacking duetsoftwareframework (3.4.6) over (3.5.0~rc.1) ... dpkg: warning: downgrading duetwebserver from 3.5.0~rc.1 to 3.4.6 Preparing to unpack .../3-duetwebserver_3.4.6_armhf.deb ... Unpacking duetwebserver (3.4.6) over (3.5.0~rc.1) ... dpkg: warning: downgrading duettools from 3.5.0~rc.1 to 3.4.6 Preparing to unpack .../4-duettools_3.4.6_armhf.deb ... Unpacking duettools (3.4.6) over (3.5.0~rc.1) ... dpkg: warning: downgrading duetcontrolserver from 3.5.0~rc.1 to 3.4.6 Preparing to unpack .../5-duetcontrolserver_3.4.6_armhf.deb ... Unpacking duetcontrolserver (3.4.6) over (3.5.0~rc.1) ... dpkg: warning: downgrading duetruntime from 3.5.0~rc.1 to 3.4.6 Preparing to unpack .../6-duetruntime_3.4.6_armhf.deb ... Unpacking duetruntime (3.4.6) over (3.5.0~rc.1) ... dpkg: warning: downgrading duetwebcontrol from 3.5.0~rc.1 to 3.4.6 Preparing to unpack .../7-duetwebcontrol_3.4.6_all.deb ... Unpacking duetwebcontrol (3.4.6) over (3.5.0~rc.1) ... Setting up duetruntime (3.4.6) ... Setting up duetwebcontrol (3.4.6) ... Setting up duetcontrolserver (3.4.6) ... Installing new version of config file /opt/dsf/conf/config.json ... Setting up duettools (3.4.6) ... Setting up duetwebserver (3.4.6) ... Setting up duetsoftwareframework (3.4.6) ... Setting up duetpluginservice (3.4.6) ... Installing new version of config file /opt/dsf/conf/plugins.json ... Setting up duetpimanagementplugin (3.4.6) ... pi@T3000SE-L67W2:~ $
-
@DavidG_68kg_PLA said in DSF & DWC Downgrade from 3.5.0rc1 to 3.4.6-2 doesnt work:
But the DWC is still on rc1.
Try clearing your browser cache.
-
@Phaedrux thanks! That helped a lot