PDA

View Full Version : Error installing Alembic



vladgalaburda
2021-10-30, 21:19
Hi guys!

Faced a problem installing alembic.
When executing the command:
sudo apt-get install alembic

I have error:
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
alembic : Depends: python3-alembic (= 1.7.1-3) but 1.4.3-1 is to be installed
nodejs : Depends: libnode72 (= 12.22.5~dfsg-2~11u1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Yes, there were still problems with installing nodejs.
I tried remove python3-alembic in order for him to install the desired version himself.
When executing the command:
sudo apt-get remove python3-alembic

I get error:
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
faraday : Depends: python3-alembic but it is not going to be installed
king-phisher : Depends: python3-alembic (>= 0.8.8) but it is not going to be installed
nodejs : Depends: libnode72 (= 12.22.5~dfsg-2~11u1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

When executing the command:
sudo apt-get --fix-broken install

I have error:
Unpacking nodejs (14.18.1-deb-1nodesource1) over (12.22.5~dfsg-2~11u1) ...
dpkg: error processing archive /var/cache/apt/archives/nodejs_14.18.1-deb-1nodesource1_amd64.deb (--unpack):
trying to overwrite '/usr/share/doc/nodejs/api/embedding.json.gz', which is also in package nodejs-doc 12.22.5~dfsg-2~11u1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nodejs_14.18.1-deb-1nodesource1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Thank you!
Have a nice day!