Error in Simulator installation

I’m getting this:

E: /var/cache/apt/archives/libngspice-kicad_0.1-42~202402021044+902a62d2f~ubuntu20.04.1_amd64.deb: trying to overwrite ‘/usr/lib/x86_64-linux-gnu/ngspice/analog.cm’, which is also in package ngspice 31.3-2

I’m on Linux Mate up-to-date 20.04 I think with a Kicad install from today.

Application: KiCad x86_64 on x86_64

Version: 8.0.3-8.0.3-0~ubuntu20.04.1, release build

Libraries:
wxWidgets 3.2.1
FreeType 2.10.1
HarfBuzz 2.6.4
FontConfig 2.13.1
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, X11, mate, x11

Build Info:
Date: Jun 4 2024 12:41:44
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.6.3
Curl: 7.68.0
ngspice: 42
Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:

Rgds,
Steve

Nice message, because it does not answer: is it successfull overwriting or does it stop?

You have a (5 year old) ngspice-31 installed (package ngspice 31.3-2). Unfortunately analog.cm (additional libs for ngspice) etc. are not compatible with new ngspice-42 (from KiCad). So uninstall ngspice-31 before installing KiCad.

Of course then the standard, standalone ngspice executable is missing from your setup. I do not know if ngspice-42 is available for Ubuntu 20.04.

Thanks. I had to uninstall the ngspice and the Kicad. I have re-installed. At least there are no broken packages now. I’ve never used the simulation software so I don’t know if it is working.

I think my new task will be to change everything over to Ubuntu Mate 24.04. I’m not looking forward to it !

It stops… in fact it impeaches ngspice, whatsoever version to be installed while Kicad remains installed.

The ngspice-42 already built isn’t available for Ubuntu 20.04, in fact is only available in the default package repos in Ubuntu 24.10 “Oracular Oriole”.

HTH

This topic was automatically closed after 90 days. New replies are no longer allowed.