aufs fails for certain packages

Bug #342451 reported by Michael Vogt on 2009-03-13
4
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: update-manager

When the aufs code is enabled certain packages fail to install:

dpkg: error processing /var/cache/apt/archives/libthunar-vfs-1-2_1.0.0-1ubuntu1_amd64.deb (--unpack):
 unable to move aside `./usr/share/lintian/overrides/libthunar-vfs-1-2' to install new version: Invalid cross-device link

This happens when a directory is replaced with a file, this triggers code in dpkg that runs:
      /* One of the two is a directory - can't do atomic install. */
      debug(dbg_eachfiledetail,"tarobject directory, nonatomic");
      nifd->namenode->flags |= fnnf_no_atomic_overwrite;
      if (rename(fnamevb.buf,fnametmpvb.buf))
        ohshite(_("unable to move aside `%.255s' to install new version"),ti->Name);
This operation is not supported with aufs:
http://<email address hidden>/msg01056.html

This either needs a workaround in dpkg or in aufs.

Michael Vogt (mvo) on 2009-03-13
Changed in update-manager:
importance: Undecided → Medium
status: New → Confirmed
Changed in update-manager (Ubuntu):
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers