$ sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Correcting dependencies… Done
The following additional packages will be installed:
libngspice-kicad
The following NEW packages will be installed:
libngspice-kicad
0 upgraded, 1 newly installed, 0 to remove and 141 not upgraded.
34 not fully installed or removed.
Need to get 0 B/2 729 kB of archives.
After this operation, 9 655 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 258136 files and directories currently installed.)
Preparing to unpack …/libngspice-kicad_0.1-43~202409291906+2af390f0b~ubuntu22.
04.1_amd64.deb …
Unpacking libngspice-kicad (0.1-43~202409291906+2af390f0b~ubuntu22.04.1) …
dpkg: error processing archive /var/cache/apt/archives/libngspice-kicad_0.1-43~2
02409291906+2af390f0b~ubuntu22.04.1_amd64.deb (–unpack):
trying to overwrite ‘/usr/lib/x86_64-linux-gnu/ngspice/analog.cm’, which is als
o in package ngspice 36+ds-1ubuntu0.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libngspice-kicad_0.1-43~202409291906+2af390f0b~ubuntu22
.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any solution?