Comment 8 for bug 237392

Revision history for this message
David Smith (dds) wrote : Re: [Bug 237392] Re: Missing symlinks for pkcs11_startup in /usr/lib/opencryptoki/stdll

Albert Damen <email address hidden> writes:

> -1
>
> The .so symlinks added to libopencryptoki0 are already, as expected, in
> libopencryptoki-dev. Therefore libopencryptoki-dev cannot be installed
> anymore:
>
> dpkg: error processing /var/cache/apt/archives/libopencryptoki-dev_2.2.5+dfsg-1ubuntu1.2_amd64.deb (--unpack):
> trying to overwrite `/usr/lib/opencryptoki/libopencryptoki.so', which is also in package libopencryptoki0
> Errors were encountered while processing:
> /var/cache/apt/archives/libopencryptoki-dev_2.2.5+dfsg-1ubuntu1.2_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> The same problem on intrepid:
> dpkg: error processing /var/cache/apt/archives/libopencryptoki-dev_2.2.5+dfsg-1ubuntu5_amd64.deb (--unpack):
> trying to overwrite `/usr/lib/opencryptoki/libopencryptoki.so', which is also in package libopencryptoki0

Right, libopencryptoki-dev should still be responsible for the
/usr/lib/opencryptoki/libopencryptoki.so symlink. Only the stdll .so files
symlinks should be created inside of the libopencryptoki0 package and
*not* in the -dev package.

- dds