No way to install canonical-certification-submit on a 12.04 system with checkbox installed

Bug #1504601 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Next Generation Checkbox (CLI)
Won't Fix
Low
Unassigned

Bug Description

Because checkbox-ng is broken on 12.04 (it doesn't run on 12.04.5 and also has issues with emtpy data in submissions anyway), I have to use checkbox-certification-server for testing.

However, when I then try to install canonical-certification-submit, the installation chokes because of conflicts between checkbox-cli an checkbox-ng.

So the only way to get the submit tools onboard is to purge checkbox-cli and checkbox-certification-server packages and then install canonical-certification-submit (which pulls in checkbox-ng).

Here's the apt trace:
root@x9scd-f:~# apt-get install --force-yes canonical-certification-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  checkbox-ng
The following NEW packages will be installed:
  canonical-certification-server checkbox-ng
0 upgraded, 2 newly installed, 0 to remove and 99 not upgraded.
Need to get 0 B/18.5 kB of archives.
After this operation, 95.2 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously unselected package checkbox-ng.
(Reading database ... 97645 files and directories currently installed.)
Unpacking checkbox-ng (from .../checkbox-ng_0.21~ppa~ubuntu12.04.1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/checkbox-ng_0.21~ppa~ubuntu12.04.1_all.deb (--unpack):
 trying to overwrite '/usr/bin/checkbox-cli', which is also in package checkbox-cli 0.17.9.1~ubuntu12.04.1
Selecting previously unselected package canonical-certification-server.
Unpacking canonical-certification-server (from .../canonical-certification-server_0.19-1_all.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/checkbox-ng_0.21~ppa~ubuntu12.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Jeff Lane  (bladernr) wrote :
Download full text (6.4 KiB)

Ugh... wrong trace... but the error is exactly the same. Here is another were I recreated this in a VM by installing checkbox-certification-server and then trying to get the submit tool installed:

root@checkboxtest:~# apt-get install canonical-certification-submit
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  checkbox-ng plainbox-secure-policy python3-chardet python3-checkbox-ng
  python3-checkbox-support python3-guacamole python3-jinja2 python3-markupsafe
  python3-padme python3-pkg-resources python3-plainbox python3-pyparsing
  python3-requests python3-six python3-urllib3 python3-xlsxwriter
Suggested packages:
  python-jinja2-doc python3-setuptools
The following NEW packages will be installed:
  canonical-certification-submit checkbox-ng plainbox-secure-policy
  python3-chardet python3-checkbox-ng python3-checkbox-support
  python3-guacamole python3-jinja2 python3-markupsafe python3-padme
  python3-pkg-resources python3-plainbox python3-pyparsing python3-requests
  python3-six python3-urllib3 python3-xlsxwriter
0 upgraded, 17 newly installed, 0 to remove and 70 not upgraded.
Need to get 2,492 kB of archives.
After this operation, 16.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrors.digitalocean.com/ubuntu/ precise/main python3-markupsafe amd64 0.15-1 [13.2 kB]
Get:2 http://mirrors.digitalocean.com/ubuntu/ precise/main python3-pkg-resources all 0.6.24-1ubuntu1 [32.1 kB]
Get:3 http://mirrors.digitalocean.com/ubuntu/ precise/universe python3-chardet all 2.0.1-1 [169 kB]
Get:4 http://mirrors.digitalocean.com/ubuntu/ precise/universe python3-six all 1.1.0-2 [5,894 B]
Get:5 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-pyparsing all 2.0.1+dfsg1-ubuntu1~precise1 [40.3 kB]
Get:6 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-checkbox-support all 0.21~ppa~ubuntu12.04.1 [621 kB]
Get:7 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-guacamole all 0.9.2-1~ppa1 [24.1 kB]
Get:8 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main plainbox-secure-policy all 0.23+ppa~ubuntu12.04.1 [6,542 B]
Get:9 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-jinja2 all 2.7.3-0.1ubuntu1 [159 kB]
Get:10 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-padme all 1.1.1-1ubuntu1~ubuntu12.04 [19.7 kB]
Get:11 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-urllib3 all 1.5-0ubuntu1~precise1 [30.5 kB]
Get:12 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-requests all 1.1.0-1ubuntu1~precise1 [44.1 kB]
Get:13 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-xlsxwriter all 0.5.2-1precise1 [182 kB]
Get:14 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-plainbox all 0.23+ppa~ubuntu12.04.1 [1,069 kB]
Get:15 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ precise/main python3-checkb...

Read more...

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

It's a pure packaging issue where checkbox-ng should break/replace checkbox-cli as per debian policy:

https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

Changed in checkbox:
importance: Undecided → Low
status: New → Triaged
affects: checkbox → checkbox-ng
Changed in checkbox-ng:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.