Both gcc-arm-embedded and gcc-avr try to overwrite libcc1.so.0.0.0

Bug #1822517 reported by Chuck McManis on 2019-04-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Arm Embedded Toolchain
Undecided
Unassigned

Bug Description

I just attempted to install the latest gcc-arm-embedded package from the ARM PPA and it failed with this message:

sudo apt-get install gcc-arm-embedded
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libisl15
The following NEW packages will be installed:
  gcc-arm-embedded libisl15
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 69.4 MB of archives.
After this operation, 453 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 libisl15 amd64 0.18-4 [548 kB]
Get:2 http://ppa.launchpad.net/team-gcc-arm-embedded/ppa/ubuntu bionic/main amd64 gcc-arm-embedded amd64 7-2018q2-1~bionic1 [68.9 MB]
Fetched 69.4 MB in 1min 58s (588 kB/s)
Selecting previously unselected package libisl15:amd64.
(Reading database ... 192056 files and directories currently installed.)
Preparing to unpack .../libisl15_0.18-4_amd64.deb ...
Unpacking libisl15:amd64 (0.18-4) ...
Selecting previously unselected package gcc-arm-embedded.
Preparing to unpack .../gcc-arm-embedded_7-2018q2-1~bionic1_amd64.deb ...
Unpacking gcc-arm-embedded (7-2018q2-1~bionic1) ...
dpkg: error processing archive /var/cache/apt/archives/gcc-arm-embedded_7-2018q2-1~bionic1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libcc1.so.0.0.0', which is also in package gcc-avr 1:5.4.0+Atmel3.6.0-1build1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/gcc-arm-embedded_7-2018q2-1~bionic1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This can be worked around by uninstalling Arduino (which installs gcc-avr) but it is annoying.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers