Comment 14 for bug 2008755

Revision history for this message
Gerald Combs (gerald.combs) wrote :

This has broken our ability to install libclang-rt-15-dev from apt.llvm.org:

Preparing to unpack .../06-libclang-common-15-dev_1%3a15.0.7-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libclang-common-15-dev (1:15.0.7-0ubuntu0.22.04.1) over (1:15.0.7~++20230131104537+8dfdcc7b7bf6-1~exp1~20230131104626.110) ...
dpkg: error processing archive /tmp/apt-dpkg-install-i84rnS/06-libclang-common-15-dev_1%3a15.0.7-0ubuntu0.22.04.1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/llvm-15/lib/clang/15.0.7/README.txt', which is also in package libclang-rt-15-dev:amd64 1:15.0.7~++20230131104537+8dfdcc7b7bf6-1~exp1~20230131104626.110
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

We're working around the issue with `apt-get --option DPkg::options::="--force-overwrite" install llvm-15` but are looking for a more proper fix.