Cant install Kicad 5.1 on Ubuntu 19.04

Bug #1825685 reported by Leandro Heck
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Jean-Samuel Reynaud

Bug Description

libngspice-kicad has some issues when installing kicad 5.1 (5.0.2 is working fine)

➜ sudo apt install kicad
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libngspice0 libpython2.7 libwxgtk3.0-0v5
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libngspice-kicad
Suggested packages:
  extra-xdg-menus kicad-demo kicad-locale-ko | kicad-locale-ru | kicad-locale-pl | kicad-locale-pt | kicad-locale-ja | kicad-locale-id | kicad-locale-ca | kicad-locale-it
  | kicad-locale-el | kicad-locale-zh | kicad-locale-de | kicad-locale-sl | kicad-locale-cs | kicad-locale-bg | kicad-locale-sv | kicad-locale-lt | kicad-locale-fi
  | kicad-locale-fr | kicad-locale-hu | kicad-locale-nl | kicad-locale-es | kicad-locale-sk
The following NEW packages will be installed:
  kicad libngspice-kicad
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/24.7 MB of archives.
After this operation, 107 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 193938 files and directories currently installed.)
Preparing to unpack .../libngspice-kicad_0.1-2~201902271305+d6f5a32~ubuntu19.04.1_amd64.deb ...
Unpacking libngspice-kicad (0.1-2~201902271305+d6f5a32~ubuntu19.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libngspice-kicad_0.1-2~201902271305+d6f5a32~ubuntu19.04.1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libngspice.so.0.0.0', which is also in package libngspice0:amd64 30.2-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package kicad.
Preparing to unpack .../kicad_5.1.1-201904142034+8be2ce7~80~ubuntu19.04.1_amd64.deb ...
Unpacking kicad (5.1.1-201904142034+8be2ce7~80~ubuntu19.04.1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libngspice-kicad_0.1-2~201902271305+d6f5a32~ubuntu19.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

tags: added: packaging ubuntu
Revision history for this message
Nick Østergaard (nickoe) wrote :

It seems like the libngspice-kicad does not say that it conflicts with libngspice0 from official ubuntu repositories.

But really, ubuntu 19.04 do ship a new enough ngspice together with he shared library I think. If this is true the package does not need to depend on a custom ngspice package.

Changed in kicad:
assignee: nobody → js-reynaud (js-reynaud)
Changed in kicad:
status: New → In Progress
Changed in kicad:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.