Package: liboa4
Version: 1.0.0-2
Severity: grave

When trying to install the build dependencies for liquidsoap, I ran
into this problem.  The build dependencies seem to pull in both libao2
and libao4, and both packages include the file /etc/libao.conf without
a conflict between the packages.  This leads to a installation error.

Here is the relevant log:

Unpacking libao2 (from .../libao2_0.8.8-5.1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libao2_0.8.8-5.1_i386.deb 
(--unpack):
 trying to overwrite '/etc/libao.conf', which is also in package libao4 
0:1.0.0-2
Errors were encountered while processing:
 /var/cache/apt/archives/libao2_0.8.8-5.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libao-ocaml:
 libao-ocaml depends on libao2 (>= 0.8.8); however:
  Package libao2 is not installed.
dpkg: error processing libao-ocaml (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libao-ocaml-dev:
 libao-ocaml-dev depends on libao-ocaml-n1yz7; however:
  Package libao-ocaml-n1yz7 is not installed.
  Package libao-ocaml which provides libao-ocaml-n1yz7 is not configured yet.
 libao-ocaml-dev depends on libao-ocaml (= 0.1.10-2+b1); however:
  Package libao-ocaml is not configured yet.
dpkg: error processing libao-ocaml-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libao-ocaml
 libao-ocaml-dev

I suspect the solution is to move the common file into a separate
package (libao-common?), but at the very least the new liboa4 should
conflict with the old libao2 package to make sure apt know the two
packages can't be installed together.

CC to the liquidsoap maintainers.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to