Duet 3.3.0 upgrade kept back
-
I haven't seen this before during past updates and wanted to bring attention to it, and ask how to fix it before I tried anything.
pi@duet3:~ $ sudo apt-get update Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:3 https://pkg.duet3d.com stable InRelease [2,563 B] Get:4 https://pkg.duet3d.com stable/armv7 armhf Packages [17.0 kB] Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [375 kB] Fetched 442 kB in 2s (207 kB/s) Reading package lists... Done pi@duet3:~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: duetcontrolserver duetruntime duetsoftwareframework duettools duetwebcont duetwebserver libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio pulseaudio-module-bluetooth pulseaudio-utils reprapfirmware 0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded. pi@duet3:~ $
-
@bluedust That can happen when apt pulls in new dependencies, but I didn't see it when I upgraded from v3.2.2 to v3.3.0. Try running
sudo apt upgrade duetsoftwareframework
and check if that resolves it. -
@chrishamm
Thanks!
That did allow me to upgrade to 3.3, but still have some updates being held back.pi@duet3:~ $ sudo apt upgrade duetsoftwareframework Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: apparmor duetpluginservice The following packages have been kept back: libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio pulseaudio-module-bluetooth pulseaudio-utils The following packages will be upgraded: duetcontrolserver duetruntime duetsoftwareframework duettools duetwebcontrol duetwebserver reprapfirmware 7 upgraded, 2 newly installed, 0 to remove and 6 not upgraded. Need to get 34.0 MB of archives. After this operation, 1,488 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 https://pkg.duet3d.com stable/armv7 armhf duetsoftwareframework armhf 3.3.0 [2,046 B] Get:2 https://pkg.duet3d.com stable/armv7 armhf duettools armhf 3.3.0 [54.5 kB] Get:4 https://pkg.duet3d.com stable/armv7 armhf duetcontrolserver armhf 3.3 .0 [238 kB] Get:5 https://pkg.duet3d.com stable/armv7 armhf duetruntime armhf 3.3.0 [27 .2 MB] Get:3 http://mirror.pit.teraswitch.com/raspbian/raspbian buster/main armhf apparmor armhf 2.13.2-10 [438 kB] Get:6 https://pkg.duet3d.com stable/armv7 armhf duetwebserver armhf 3.3.0 [ 80.4 kB] Get:7 https://pkg.duet3d.com stable/armv7 armhf duetwebcontrol all 3.3.0 [4 ,816 kB] Get:8 https://pkg.duet3d.com stable/armv7 armhf reprapfirmware all 3.3.0-1 [1,034 kB] Get:9 https://pkg.duet3d.com stable/armv7 armhf duetpluginservice armhf 3.3 .0 [62.6 kB] Fetched 34.0 MB in 8s (4,357 kB/s) Reading changelogs... Done Preconfiguring packages ... (Reading database ... 79496 files and directories currently installed.) Preparing to unpack .../0-duetsoftwareframework_3.3.0_armhf.deb ... Unpacking duetsoftwareframework (3.3.0) over (3.2.2) ... To delete the "dsf" user run as root: userdel --force dsf Preparing to unpack .../1-duettools_3.3.0_armhf.deb ... Unpacking duettools (3.3.0) over (3.2.2) ... Preparing to unpack .../2-duetcontrolserver_3.3.0_armhf.deb ... Unpacking duetcontrolserver (3.3.0) over (3.2.2) ... To delete "gpio" group run as root: groupdel gpio Preparing to unpack .../3-duetruntime_3.3.0_armhf.deb ... Unpacking duetruntime (3.3.0) over (3.2.2) ... Preparing to unpack .../4-duetwebserver_3.3.0_armhf.deb ... Unpacking duetwebserver (3.3.0) over (3.2.2) ... Preparing to unpack .../5-duetwebcontrol_3.3.0_all.deb ... Unpacking duetwebcontrol (3.3.0) over (3.2.2) ... Preparing to unpack .../6-reprapfirmware_3.3.0-1_all.deb ... Unpacking reprapfirmware (3.3.0-1) over (3.2.2-1) ... Selecting previously unselected package duetpluginservice. Preparing to unpack .../7-duetpluginservice_3.3.0_armhf.deb ... Unpacking duetpluginservice (3.3.0) ... Selecting previously unselected package apparmor. Preparing to unpack .../8-apparmor_2.13.2-10_armhf.deb ... Unpacking apparmor (2.13.2-10) ... Setting up duetruntime (3.3.0) ... Setting up apparmor (2.13.2-10) ... Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service → /lib/systemd/system/apparmor.service. Setting up duettools (3.3.0) ... Setting up duetsoftwareframework (3.3.0) ... To modify config files consider adding yourself to the dsf groupd: # usermod -a -G dsf <username> Setting up duetwebcontrol (3.3.0) ... Setting up duetcontrolserver (3.3.0) ... Installing new version of config file /opt/dsf/conf/config.json ... Setting up duetwebserver (3.3.0) ... Setting up reprapfirmware (3.3.0-1) ... Sending update request to DCS... Done! Setting up duetpluginservice (3.3.0) ... Processing triggers for systemd (241-7~deb10u7+rpi1) ... Processing triggers for man-db (2.8.5-2) ... pi@duet3:~ $ sudo apt-get update Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://pkg.duet3d.com stable InRelease Reading package lists... Done pi@duet3:~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio pulseaudio-module-bluetooth pulseaudio-utils 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. pi@duet3:~ $ sudo apt upgrade duetsoftwareframework Reading package lists... Done Building dependency tree Reading state information... Done duetsoftwareframework is already the newest version (3.3.0). Calculating upgrade... Done The following packages have been kept back: libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio pulseaudio-module-bluetooth pulseaudio-utils 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. pi@duet3:~ $
-
@bluedust It's probably the same reason, try to upgrade the other packages via
sudo apt upgrade libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio pulseaudio-module-bluetooth pulseaudio-utils
-
It seems odd if I am the only one to get this error. A while back I changed to the beta release, and then back to stable for 3.2. No other changes other then updating via apt get.
pi@duet3:~ $ sudo apt upgrade libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio pulseaudio-module-bluetooth pulseaudio-utils Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... 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: pulseaudio-module-bluetooth : Breaks: bluealsa but 0.13 is to be installed E: Broken packages pi@duet3:~ $ pi@duet3:~ $ sudo apt-get update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 https://pkg.duet3d.com stable InRelease Reading package lists... Done pi@duet3:~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio pulseaudio-module-bluetooth pulseaudio-utils 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. pi@duet3:~ $
-
@chrishamm
Again, thanks for helping me get the board upgraded to 3.3. I assume the left over files are not really needed in my use case with the Duet3 and not terribly worried unless someone tells me differently. -
@bluedust You're welcome. I am pretty sure you got the first "held back" message because you downgraded from v3.3-rcX before and had to deliberately remove the duetpluginservice package, which is pulled in as a recommended dependency for DSF 3.3.
You need PulseAudio only if you want to have simple audio recording/playback. In your particular case I'd try to remove
pulseaudio-module-bluetooth
andbluealsa
and see what happens when you try to upgrade then (sudo apt remove pulseaudio-module-bluetooth bluealsa
followed bysudo apt upgrade
). -
@chrishamm
I have only used the Dev builds before 3.2 release came out. Once it was out I updated the Pi to use stable, and never went back (to non stable releases). -
Correct. I don't need audio for any reason on the Pi. It is only used to control the Duet3.
No more errors.
Thanks again for the help!
pi@duet3:~ $ sudo apt remove pulseaudio-module-bluetooth bluealsa Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: bluealsa pulseaudio-module-bluetooth 0 upgraded, 0 newly installed, 2 to remove and 5 not upgraded. After this operation, 460 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 79681 files and directories currently installed.) Removing bluealsa (0.13) ... Removing pulseaudio-module-bluetooth (12.2-4+deb10u1) ... pi@duet3:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio pulseaudio-utils 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1,442 kB of archives. After this operation, 8,192 B of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://archive.raspberrypi.org/debian buster/main armhf libpulsedsp armhf 12.2-4+deb10u1+rpi3 [45.1 kB] Get:2 http://archive.raspberrypi.org/debian buster/main armhf pulseaudio-utils armhf 12.2-4+deb10u1+rpi3 [75.5 kB] Get:3 http://archive.raspberrypi.org/debian buster/main armhf pulseaudio armhf 12.2-4+deb10u1+rpi3 [1,039 kB] Get:4 http://archive.raspberrypi.org/debian buster/main armhf libpulse-mainloop-glib0 armhf 12.2-4+deb10u1+rpi3 [37.0 kB] Get:5 http://archive.raspberrypi.org/debian buster/main armhf libpulse0 armhf 12.2-4+deb10u1+rpi3 [246 kB] Fetched 1,442 kB in 2s (830 kB/s) Reading changelogs... Done (Reading database ... 79657 files and directories currently installed.) Preparing to unpack .../libpulsedsp_12.2-4+deb10u1+rpi3_armhf.deb ... Unpacking libpulsedsp:armhf (12.2-4+deb10u1+rpi3) over (12.2-4+deb10u1) ... Preparing to unpack .../pulseaudio-utils_12.2-4+deb10u1+rpi3_armhf.deb ... Unpacking pulseaudio-utils (12.2-4+deb10u1+rpi3) over (12.2-4+deb10u1) ... Preparing to unpack .../pulseaudio_12.2-4+deb10u1+rpi3_armhf.deb ... Unpacking pulseaudio (12.2-4+deb10u1+rpi3) over (12.2-4+deb10u1) ... Preparing to unpack .../libpulse-mainloop-glib0_12.2-4+deb10u1+rpi3_armhf.deb ... Unpacking libpulse-mainloop-glib0:armhf (12.2-4+deb10u1+rpi3) over (12.2-4+deb10u1) ... Preparing to unpack .../libpulse0_12.2-4+deb10u1+rpi3_armhf.deb ... Unpacking libpulse0:armhf (12.2-4+deb10u1+rpi3) over (12.2-4+deb10u1) ... Setting up libpulse0:armhf (12.2-4+deb10u1+rpi3) ... Setting up libpulsedsp:armhf (12.2-4+deb10u1+rpi3) ... Setting up libpulse-mainloop-glib0:armhf (12.2-4+deb10u1+rpi3) ... Setting up pulseaudio-utils (12.2-4+deb10u1+rpi3) ... Setting up pulseaudio (12.2-4+deb10u1+rpi3) ... Installing new version of config file /etc/pulse/daemon.conf ... Installing new version of config file /etc/pulse/default.pa ... Processing triggers for libc-bin (2.28-10+rpi1) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for dbus (1.12.20-0+deb10u1) ... pi@duet3:~ $ sudo apt-get update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Hit:3 https://pkg.duet3d.com stable InRelease Fetched 15.0 kB in 3s (5,415 B/s) Reading package lists... Done pi@duet3:~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. pi@duet3:~ $