broken package init-system-helpers: attempt to rewrite other package files

Bug #1458630 reported by George Shuklin
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
init-system-helpers (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

During upgrade from trusty to wily on my lab server, got:

Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 62901 files and directories currently installed.)
Preparing to unpack .../init-system-helpers_1.23ubuntu2_all.deb ...
Unpacking init-system-helpers (1.23ubuntu2) over (1.14) ...
dpkg: error processing archive /var/cache/apt/archives/init-system-helpers_1.23ubuntu2_all.deb (--unpack):
 trying to overwrite '/lib/init/apparmor-profile-load', which is also in package upstart 1.12.1-0ubuntu4
Selecting previously unselected package libfdisk1:amd64.
Preparing to unpack .../libfdisk1_2.26.2-3ubuntu1_amd64.deb ...
Unpacking libfdisk1:amd64 (2.26.2-3ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/init-system-helpers_1.23ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1458630/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → init-system-helpers (Ubuntu)
Revision history for this message
Brian Murray (brian-murray) wrote :

Release upgrades are supported from LTS to LTS or from release to release. By going from 14.04 to 15.10 you have skipped a couple of Ubuntu releases. Was that deliberate?

Revision history for this message
Robie Basak (racb) wrote :

This should have been fixed by:

init-system-helpers (1.22ubuntu7) vivid; urgency=medium

  * Declare Breaks/Replaces against both upstart and upstart-bin since
    /lib/init/apparmor-profile-load briefly appeared in both packages
    (LP: #1439988).

 -- Robie Basak <email address hidden> Tue, 07 Apr 2015 16:21:23 +0100

Has this change accidentally been dropped in a subsequent merge? I don't see it there any more.

Revision history for this message
Robie Basak (racb) wrote :

21:53 <rbasak> pitti: see bug 1458630. We deliberately moved apparmor-profile-load into init-system-helpers because it isn't necessarily upstart-specific. So I'm not sure why you say "Temporarily"? In any case the Breaks/Replaces needs to continue to be present.

Changed in init-system-helpers (Ubuntu):
status: New → Triaged
importance: Undecided → High
Martin Pitt (pitti)
Changed in init-system-helpers (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Martin Pitt (pitti)
Martin Pitt (pitti)
Changed in init-system-helpers (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package init-system-helpers - 1.23ubuntu3

---------------
init-system-helpers (1.23ubuntu3) wily; urgency=medium

  * Put back Breaks:/Replaces for upstart/upstart-bin until
    we drop apparmor-profile-load again (#see 1432683). (LP: #1458630)

 -- Martin Pitt <email address hidden> Mon, 01 Jun 2015 08:26:25 +0200

Changed in init-system-helpers (Ubuntu):
status: Fix Committed → Fix Released
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.