invalid cross-device link
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc-android-config (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Manually updated my gnexus via APT. Not sure if I broke something or if it is a problem with the package but I got the following problem:
Preparing to unpack .../lxc-
Leaving 'diversion of /usr/share/
Unpacking lxc-android-config (0.135) over (0.126) ...
dpkg: error processing archive /var/cache/
unable to make backup link of `./lib/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Now, I can only boot to Ubuntu via recovery mode and not to Android anymore (had a dual boot). However, I am not sure if the latter is related to this problem.
this expected behavior and the reason why we do not support doing dist-upgrades on the readonly images (even if you make them read-write).
dpkg uses hardlinks when replacing files. the nature of teh readonly image is that the filesystem spans across multiple partitions and bind mounts, the hardlinks do not get along with that.