installing canonical-certification-server pulls in mysql, 159Mb of pkgs
Bug #1276832 reported by
Mark Brown
This bug report was converted into a question: question #243429: installing canonical-certification-server pulls in mysql, 159Mb of pkgs.
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Provider for Plainbox - Canonical Certification (Legacy) |
Fix Released
|
Low
|
Sylvain Pineau |
Bug Description
I created a minimal server using the daily Trusty build from 5 February. I chose "OpenSSH Server" and nothing else to be installed.
After the install, I did:
sudo add-apt-repository ppa:checkbox-
sudo apt-get update
sudo apt-get install canonical-
At this point 159Mb of packages were installed, including MySQL server (which then asked me for a password, etc). This was somewhat unexpected.
So we really have that many dependencies?
affects: | checkbox → plainbox-provider-canonical-certification |
Changed in plainbox-provider-canonical-certification: | |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
status: | Confirmed → In Progress |
milestone: | none → 0.22 |
Changed in plainbox-provider-canonical-certification: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-canonical-certification: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello!
Our purpose-specific testing utilities usually specify as dependencies all the packages required by related tests. The rationale is that if we define a mysql test that can conceivably be used while testing a server, but our package doesn't take care of installing mysql for you, thus causing the test to not run, it will just be confusing and result in more work for you.
We're definitely open to discussing the list of dependencies, but since they're handled as .deb package dependencies, it's usually an all-or-nothing approach, and in our experience it's best to provide as much as possible, rather than have testers do a lot of extra work to get stuff installed.
To properly handle this bug I'll move it to an incomplete state awaiting your feedback. We have 2 options:
1- It was just a question, my answer clarified things and there's no further action to take. Bug would become "Invalid".
2- You'd like to have a smaller list of dependencies. This would imply extra work for the user but we can certainly discuss an organization that makes sense. Please let me know and we can outline the work to do, then the bug would become "Triaged" pending implementation.
Here's some reference information about where this comes from.
We have one server-related test that does require mysql:
name: services/lamp_test mod-php5'
requires:
package.name == 'apache2'
package.name == 'php5-mysql'
package.name == 'libapache2-
package.name == 'mysql-server'
This test is not included in our "whitelist" of server tests (which does seem like an oversight; perhaps we could repurpose this bug into "add all these services tests to a whitelist").
The dependencies for canonical- certification- server (expressed as Recommends) are:
Recommends: apache2,
bonnie+ +,
cpu- checker,
dnsutils, 00-0ubuntu1) ,
ipmitool,
libapache2 -mod-php5,
mysql- server,
php5- mysql,
qemu- kvm,
qemu- utils,
tomcat6,
bind9,
cups,
fwts (>=13.09.
iperf,
samba,
ssh,
stress,
winbind