Error on install libngspice [Ubuntu20.04]
Description
I was follow some discussion about the NGSPICE dependencies update. But today I got a error when try to update kicad-nightly
.
All package less the ngspice was updated fine. Installation log:
...
Preparing to unpack .../libngspice-kicad_0.1-40~202311202316+6eeb48bb5~ubuntu22.
04.1_amd64.deb ...
Unpacking libngspice-kicad (0.1-40~202311202316+6eeb48bb5~ubuntu22.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libngspice-kicad_0.1-40~2
02311202316+6eeb48bb5~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-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-40~202311202316+6eeb48bb5~ubuntu22
.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
>> sudo apt autoremove && sudo apt update && sudo apt upgrade
[sudo] password for hildo:
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-nightly : Depends: libngspice-kicad but it is not installed or
libngspice0 but it is not installed
Recommends: kicad-nightly-doc-en but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Trying to run apt --fix-broken install
return to same first error.
Steps to reproduce
- Update Kicad-nightly on Ubuntu 20.04
KiCad Version
Application: KiCad x86_64 on x86_64
Version: 7.99.0-unknown-196e05bc51~174~ubuntu22.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 2.7.4
FontConfig 2.13.1
Platform: Ubuntu 22.04.3 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu, wayland
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.81.0
ngspice: 40
Compiler: GCC 11.4.0 with C++ ABI 1016
Build settings:
Edited by Hildo Guillardi Júnior