Why are gdb and fdisk dependencies for this package?

Asked by Atharv Kirtikar

Hi,
I was trying to install percona-toolkit on an ubuntu docker image (jammy). Saving space is important here.

When you directly install percona-toolkit deb package from from percona's website
```
wget https://downloads.percona.com/downloads/percona-toolkit/3.1.0/binary/debian/bionic/x86_64/percona-toolkit_3.1.0-2.bionic_amd64.deb
```
or
```
wget https://downloads.percona.com/downloads/percona-toolkit/3.5.4/binary/debian/jammy/x86_64/percona-toolkit_3.5.4-2.jammy_amd64.deb
```
and run `dpkg -I` on the deb file, the dependencies I get are:

Depends: perl, libdbi-perl (>= 1.13), libdbd-mysql-perl | libdbd-mysql-5.1-perl, libterm-readkey-perl (>= 2.10), libio-socket-ssl-perl

However, the ubuntu package also has gdb and fdisk as extra dependencies.
Why are these dependencies there? As far as I can tell they are not necessary dependencies to the functioning of the package.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu percona-toolkit Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

If you look at the version numbers of the percona-toolkit package in Ubuntu, you will see that the version string does not contain "ubuntu". This indicates that the package was copied from Debian without Ubuntu-specific modification. These dependencies have been defined by Debian, see e.g. https://packages.debian.org/sid/percona-toolkit

I suggest that you ask at Debian.

Revision history for this message
Atharv Kirtikar (atharvk-groww) said :
#2

Thanks Manfred Hampl, that solved my question.