Public bug reported: I've install KiCAD 9 from KiCAD repository and then try to install ngspice
sudo apt install ngspice Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: ngspice-doc The following NEW packages will be installed: ngspice 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 2 352 kB of archives. After this operation, 7 972 kB of additional disk space will be used. Get:1 http://ru.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 ngspice amd64 36+ds-1ubuntu0.1 [2 352 kB] Fetched 2 352 kB in 1s (3 104 kB/s) Selecting previously unselected package ngspice. (Reading database ... 734436 files and directories currently installed.) Preparing to unpack .../ngspice_36+ds-1ubuntu0.1_amd64.deb ... Unpacking ngspice (36+ds-1ubuntu0.1) ... dpkg: error processing archive /var/cache/apt/archives/ngspice_36+ds-1ubuntu0.1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/ngspice/analog.cm', which is also in package libngspice-kicad 0.1-43~202409291906+2af390f0b~ubuntu22.04.1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/ngspice_36+ds-1ubuntu0.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 22.04 Package: ngspice (not installed) ProcVersionSignature: Ubuntu 6.8.0-65.68~22.04.1-generic 6.8.12 Uname: Linux 6.8.0-65-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.10 AptOrdering: ngspice:amd64: Install NULL: ConfigurePending Architecture: amd64 CasperMD5CheckResult: unknown Date: Fri Sep 5 14:39:52 2025 DpkgTerminalLog: Preparing to unpack .../ngspice_36+ds-1ubuntu0.1_amd64.deb ... Unpacking ngspice (36+ds-1ubuntu0.1) ... [1mdpkg:[0m error processing archive /var/cache/apt/archives/ngspice_36+ds-1ubuntu0.1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/ngspice/analog.cm', which is also in package libngspice-kicad 0.1-43~202409291906+2af390f0b~ubuntu22.04.1 ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/ngspice/analog.cm', which is also in package libngspice-kicad 0.1-43~202409291906+2af390f0b~ubuntu22.04.1 InstallationDate: Installed on 2020-07-22 (1870 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04.1 PythonDetails: N/A RelatedPackageVersions: dpkg 1.21.1ubuntu2.3 apt 2.4.14 SourcePackage: ngspice Title: package ngspice (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/ngspice/analog.cm', which is also in package libngspice-kicad 0.1-43~202409291906+2af390f0b~ubuntu22.04.1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: ngspice (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2122113 Title: package ngspice (not installed) failed to install/upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ngspice/+bug/2122113/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
