package libcups2-dev 1.5.3-0ubuntu8 failed to install/upgrade: ErrorMessage: unable to move aside `./usr/include/cups/i18n.h' to install new version: Invalid cross-device link

Bug #1272285 reported by Jean-Baptiste Lallement
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Found during automated upgrade test from Precise to Trusty amd64 with all of main installed.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: libcups2-dev 1.5.3-0ubuntu8
Uname: Linux 3.11.0-15-generic x86_64
Architecture: amd64
Date: Fri Jan 24 11:17:44 2014
ErrorMessage: ErrorMessage: unable to move aside `./usr/include/cups/i18n.h' to install new version: Invalid cross-device link
MarkForUpload: True
SourcePackage: cups
Title: package libcups2-dev 1.5.3-0ubuntu8 failed to install/upgrade: ErrorMessage: unable to move aside `./usr/include/cups/i18n.h' to install new version: Invalid cross-device link

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Similar to bug 1220681: this is a bug with overlayfs when replacing a directory with a file in dpkg.

Changed in cups (Ubuntu):
status: New → Triaged
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

pitti, can you apply the workaround of bug 1220681 also to the CUPS package?

Revision history for this message
Martin Pitt (pitti) wrote :

Yes, I'll do that.

Changed in cups (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: Triaged → In Progress
Martin Pitt (pitti)
Changed in cups (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups - 1.7.1-2git1

---------------
cups (1.7.1-2git1) trusty; urgency=medium

  Backport from Debian packaging git:
  * debian/libcups2-dev.preinst: Move aside a /usr/include/cups/i18n.h
    directory during upgrades (from wheezy/precise); this directory got
    replaced with a file, and triggers a bug in overlayfs when dist-upgrading
    schroots/containers/similar. This is a hackish workaround and can be
    dropped again in jessie+1/trusty+1. (LP: #1272285)
 -- Martin Pitt <email address hidden> Mon, 27 Jan 2014 08:42:51 +0100

Changed in cups (Ubuntu):
status: Fix Committed → Fix Released
Martin Pitt (pitti)
tags: added: qa-daily-testing
removed: qa-daiy-testing
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.