• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

edited revert firmware page in teh docs

Scheduled Pinned Locked Moved
DSF Development
3
4
182
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    achrn
    last edited by achrn 27 Nov 2021, 12:54

    I had cause to roll back my firmware from 3.4-b6 to 3.3.0, and the instructions at https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3?revisionid=HEAD#Section_Software_Installation failed badly at the step 7:

    pi@delta:~ $ sudo apt install -y --allow-downgrades duetsoftwareframework/stable duetcontrolserver/stable duetwebserver/stable duettools/stable duetruntime/stable duetwebcontrol/stable
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Selected version '3.3.0' (stable [armhf]) for 'duetsoftwareframework'
    Selected version '3.3.0' (stable [armhf]) for 'duetpluginservice' because of 'duetsoftwareframework'
    Selected version '3.3.0' (stable [armhf]) for 'duetcontrolserver'
    Selected version '3.3.0' (stable [armhf]) for 'duetwebserver'
    Selected version '3.3.0' (stable [armhf]) for 'duettools'
    Selected version '3.3.0' (stable [armhf]) for 'duetruntime'
    Selected version '3.3.0' (stable [all]) for 'duetwebcontrol'
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
    duetpluginservice : Depends: duetcontrolserver (= 3.4-b6) but 3.3.0 is to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
    pi@delta:~ $ sudo apt --fix-broken install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following package was automatically installed and is no longer required:
    duetruntime
    Use 'sudo apt autoremove' to remove it.
    The following packages will be REMOVED:
    duetcontrolserver duetpluginservice duetsd duetsoftwareframework duettools duetwebcontrol duetwebserver
    reprapfirmware
    0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n]
    (Reading database ... 88329 files and directories currently installed.)
    Removing duetpluginservice (3.4-b6) ...
    Removing duetwebserver (3.4-b6) ...
    Removing reprapfirmware (3.3.0-1) ...
    Removing duetsd (1.1.0) ...
    Removing duetwebcontrol (3.4-b6) ...
    dpkg: warning: while removing duetwebcontrol, directory '/opt/dsf/dwc/js' not empty so not removed
    Removing duetcontrolserver (3.4-b6) ...
    To delete "gpio" group run as root: groupdel gpio
    Removing duetsoftwareframework (3.4-b6) ...
    To delete the "dsf" user run as root: userdel --force dsf
    Removing duettools (3.4-b6) ...

    I then tried some flailing around:

    pi@delta:~ $ sudo apt install duetsoftwareframework
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    The following packages have unmet dependencies:
    duetsoftwareframework : Depends: duetcontrolserver (= 3.3.0) but it is not going to be installed
    Depends: duettools (= 3.3.0) but it is not going to be installed
    Depends: duetwebserver (= 3.3.0) but it is not going to be installed
    Depends: reprapfirmware (>= 3.3.0-1) but it is not going to be installed
    Depends: reprapfirmware (<= 3.3.0-999) but it is not going to be installed
    Recommends: duetpluginservice (= 3.3.0) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    pi@delta:~ $ sudo apt install duetwebcontrol
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    The following packages have unmet dependencies:
    duetwebcontrol : Depends: duetsoftwareframework (>= 3.2.0) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    It seems to me the first step of the instructions was wrong to say "only if reverting to v3.2", and you need that step also if reverting from 3.4-b6 to 3.3. So I've deleted the statement on dozuki.

    If I re-revert to 3.4-b6 and then re-re-revert following the instructions but do remove duetpluginservice as step 1, it goes OK.

    However, I'm somewhat ignorant here - copying out instructions without much knowledge about what I'm doing - so someone who understands it might want to review what I've done to the documentation.

    undefined undefined 2 Replies Last reply 27 Nov 2021, 13:41 Reply Quote 0
    • undefined
      jay_s_uk @achrn
      last edited by 27 Nov 2021, 13:41

      @achrn this should downgrade you back to 3.3.0

      sudo apt install \
      duetsoftwareframework=3.3.0 \
      duetcontrolserver=3.3.0 \
      duetruntime=3.3.0 \
      duetsd=1.1.0 \
      duettools=3.3.0 \
      duetwebcontrol=3.3.0 \
      duetwebserver=3.3.0 \
      reprapfirmware=3.3.0-1 \
      --allow-downgrades```

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      1 Reply Last reply Reply Quote 0
      • undefined
        chrishamm administrators @achrn
        last edited by 27 Nov 2021, 14:15

        @achrn Thanks for pointing it out, I've updated the docs again and removed the first step in favour of downgrading DPS via the last step along with the other packages.

        Duet software engineer

        undefined 1 Reply Last reply 27 Nov 2021, 18:03 Reply Quote 0
        • undefined
          achrn @chrishamm
          last edited by 27 Nov 2021, 18:03

          @chrishamm OK.

          It occurs to me that I might have added DPS manually, in which case the previous would not have affected someone that had not. However, presumably apt will take care of it if it's not installed.

          1 Reply Last reply Reply Quote 0
          2 out of 4
          • First post
            2/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA