[debian-mysql] Bug#886853: mariadb-plugin-rocksdb, rocksdb-tools: both ship /usr/bin/sst_dump
László Böszörményi (GCS)
gcs at debian.org
Wed Jan 10 17:22:02 UTC 2018
Hi Andreas,
On Wed, Jan 10, 2018 at 3:18 PM, Andreas Beckmann <anbe at debian.org> wrote:
> Package: mariadb-plugin-rocksdb,rocksdb-tools
> Severity: serious
[...]
> automatic installation tests of packages that share a file and at the
> same time do not conflict by their package dependency relationships has
> detected the following problem:
>
> Selecting previously unselected package rocksdb-tools.
> Preparing to unpack .../rocksdb-tools_5.9.2-1_amd64.deb ...
> Unpacking rocksdb-tools (5.9.2-1) ...
> dpkg: error processing archive /var/cache/apt/archives/rocksdb-tools_5.9.2-1_amd64.deb (--unpack):
> trying to overwrite '/usr/bin/sst_dump', which is also in package mariadb-plugin-rocksdb 10.3.0-0+exp2
> Errors were encountered while processing:
> /var/cache/apt/archives/rocksdb-tools_5.9.2-1_amd64.deb
While both packages only in experimental, thanks for catching this Andreas!
Ondřej, I made a diff of the two source files
(mariadb-10.3-10.3.0/storage/rocksdb/rocksdb/tools/sst_dump.cc and
rocksdb-5.9.2/tools/sst_dump.cc); found that the only difference is in
the C++ comments section and loos like following.
-- cut --
-// This source code is licensed under the BSD-style license found in the
-// LICENSE file in the root directory of this source tree. An additional grant
-// of patent rights can be found in the PATENTS file in the same directory.
+// This source code is licensed under both the GPLv2 (found in the
+// COPYING file in the root directory) and Apache 2.0 License
+// (found in the LICENSE.Apache file in the root directory).
-- cut --
That is, the compiled binaries are the same. As it's a RocksDB tool,
please remove it from MariaDB and depend on the rocksdb-tools where
you need it.
Thanks,
Laszlo/GCS
More information about the pkg-mysql-maint
mailing list