[Pkg-oss4-maintainers] Bug#783301: liboss4-salsa-dev: Overwrites files from liboss4-salsa-asound2

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sat Apr 25 15:13:34 UTC 2015


Source: oss4
Version: 4.2-build2010-2
Severity: serious
Justification: affects other packages

Hello!

I recently tried wanted to build a package on kFreeBSD which requires ALSA
emulation, which is why I installed the liboss4-salsa-asound2 package. When
I tried to install the -dev package as well, the installation of the -dev
package would overwrite files from the liboss4-salsa-asound2 runtime
package.

Tested on falla.debian.org in a schroot:

glaubitz at falla:~$ dd-schroot-cmd -c sid_kfreebsd-amd64-dchroot-1429974156-24030 apt-get install liboss4-salsa-asound2 liboss4-salsa-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  liboss4-salsa2
The following NEW packages will be installed:
  liboss4-salsa-asound2 liboss4-salsa-dev liboss4-salsa2
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Inst liboss4-salsa2 (4.2-build2010-2 Debian:unstable [kfreebsd-amd64])
Inst liboss4-salsa-asound2 (4.2-build2010-2 Debian:unstable [kfreebsd-amd64])
Inst liboss4-salsa-dev (4.2-build2010-2 Debian:unstable [kfreebsd-amd64])
Conf liboss4-salsa2 (4.2-build2010-2 Debian:unstable [kfreebsd-amd64])
Conf liboss4-salsa-asound2 (4.2-build2010-2 Debian:unstable [kfreebsd-amd64])
Conf liboss4-salsa-dev (4.2-build2010-2 Debian:unstable [kfreebsd-amd64])
Do it for real [Y/n]: y
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  liboss4-salsa2
The following NEW packages will be installed:
  liboss4-salsa-asound2 liboss4-salsa-dev liboss4-salsa2
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 131 kB of archives.
After this operation, 758 kB of additional disk space will be used.
Get:1 http://debian.csail.mit.edu/debian/ sid/main liboss4-salsa2 kfreebsd-amd64 4.2-build2010-2 [43.0 kB]
Get:2 http://debian.csail.mit.edu/debian/ sid/main liboss4-salsa-asound2 kfreebsd-amd64 4.2-build2010-2 [7690 B]
Get:3 http://debian.csail.mit.edu/debian/ sid/main liboss4-salsa-dev kfreebsd-amd64 4.2-build2010-2 [80.1 kB]
Fetched 131 kB in 0s (1341 kB/s)
Download complete and in download only mode
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  liboss4-salsa2
The following NEW packages will be installed:
  liboss4-salsa-asound2 liboss4-salsa-dev liboss4-salsa2
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/131 kB of archives.
After this operation, 758 kB of additional disk space will be used.
Selecting previously unselected package liboss4-salsa2:kfreebsd-amd64.
(Reading database ... 23030 files and directories currently installed.)
Preparing to unpack .../liboss4-salsa2_4.2-build2010-2_kfreebsd-amd64.deb ...
Unpacking liboss4-salsa2:kfreebsd-amd64 (4.2-build2010-2) ...
Selecting previously unselected package liboss4-salsa-asound2:kfreebsd-amd64.
Preparing to unpack .../liboss4-salsa-asound2_4.2-build2010-2_kfreebsd-amd64.deb ...
Unpacking liboss4-salsa-asound2:kfreebsd-amd64 (4.2-build2010-2) ...
Selecting previously unselected package liboss4-salsa-dev.
Preparing to unpack .../liboss4-salsa-dev_4.2-build2010-2_kfreebsd-amd64.deb ...
Unpacking liboss4-salsa-dev (4.2-build2010-2) ...
dpkg: error processing archive /var/cache/apt/archives/liboss4-salsa-dev_4.2-build2010-2_kfreebsd-amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-kfreebsd-gnu/libasound.so.2', which is also in package liboss4-salsa-asound2:kfreebsd-amd64 4.2-build2010-2
Errors were encountered while processing:
 /var/cache/apt/archives/liboss4-salsa-dev_4.2-build2010-2_kfreebsd-amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Command apt-get --assume-yes -o Dpkg::Options::=--force-confnew install -- liboss4-salsa-asound2 liboss4-salsa-dev exited with exit code 1.
glaubitz at falla:~$

Cheers,
Adrian



More information about the Pkg-oss4-maintainers mailing list