aufs fails for certain packages

Bug #342451 reported by Michael Vogt
4
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Triaged
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)
Changed in update-manager:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :
Changed in update-manager (Ubuntu):
status: Confirmed → Triaged
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.