Install problem

I get the following message

Sub-process /usr/bin/dpkg returned an error code (1)

after doing
curl -L | bash

Im running c-lightning on Ubuntu 22.10

I think I should include the line before it;
sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends docker-ce docker-ce-cli docker-compose-plugin docker-scan-plugin >/dev/null
E: Sub-process /usr/bin/dpkg returned an error code (1)

and I appreciate it if someone could explain if this matters, I think it must thanks

well I got past that, I just ran sudo apt install --fix-broken, and now the problem is;

ERROR: for tor_proxy Cannot start service tor_proxy: driver failed programming external connectivity on endpoint tor_proxy (655ff1c9131b7e80a25e01c97c63ce50b7efc973c6bbe012d72483fa015308ad): Error starting userland proxy: listen tcp4 bind: address already in use
ERROR: Encountered errors while bringing up the project.
Failed to start containers
Skipping status update when not on Umbrel OS