I’ve just tried to install 8.0 on ubuntu, but run into the following error:
Blockquote
(Reading database … 365161 files and directories currently installed.)
Preparing to unpack …/libngspice-kicad_0.1-42~202402021044+902a62d2f~ubuntu23.
10.1_amd64.deb …
Unpacking libngspice-kicad (0.1-42~202402021044+902a62d2f~ubuntu23.10.1) …
dpkg: error processing archive /var/cache/apt/archives/libngspice-kicad_0.1-42~2
02402021044+902a62d2f~ubuntu23.10.1_amd64.deb (–unpack):
trying to overwrite ‘/usr/lib/x86_64-linux-gnu/ngspice/analog.cm’, which is als
o in package ngspice 40+ds-2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libngspice-kicad_0.1-42~202402021044+902a62d2f~ubuntu23
.10.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The usual remedy (sudo apt --fix-broken install) didn’t work. Is there a workound?
Thanks for the feedback! It might be too late for that, given the package tree is already compromised:
[v923z@ambian ~]$ sudo apt remove ngspice
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
kicad : Depends: libngspice-kicad but it is not going to be installed or
libngspice0 but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
Unfortunately, trying to fix that doesn’t work:
[v923z@ambian ~]$ 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 9 not upgraded.
15 not fully installed or removed.
Need to get 0 B/2,443 kB of archives.
After this operation, 8,394 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database … 365161 files and directories currently installed.)
Preparing to unpack …/libngspice-kicad_0.1-42~202402021044+902a62d2f~ubuntu23.
10.1_amd64.deb …
Unpacking libngspice-kicad (0.1-42~202402021044+902a62d2f~ubuntu23.10.1) …
dpkg: error processing archive /var/cache/apt/archives/libngspice-kicad_0.1-42~2
02402021044+902a62d2f~ubuntu23.10.1_amd64.deb (–unpack):
trying to overwrite ‘/usr/lib/x86_64-linux-gnu/ngspice/analog.cm’, which is als
o in package ngspice 40+ds-2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libngspice-kicad_0.1-42~202402021044+902a62d2f~ubuntu23
.10.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
However, I could manage to install kicad by removing the the ppa for version 8, then removing ngspice, and then resetting the ppa.