I'm trying to upgrade some package in a VM, but I dpkg refuses to apply the upgrades due the following:
dpkg: error processing /var/cache/apt/archives/ifupdown_0.7.5ubuntu2.2_amd64.deb (--unpack):
unable to make backup link of `./sbin/ifquery' before installing new version: No such file or directory
Preparing to replace unzip 6.0-8ubuntu1 (using .../unzip_6.0-8ubuntu2_amd64.deb) ...
Unpacking replacement unzip ...
dpkg: error processing /var/cache/apt/archives/unzip_6.0-8ubuntu2_amd64.deb (--unpack):
unable to make backup link of `./usr/bin/unzip' before installing new version: No such file or directory
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
What it means? The permissions are fine and the file definitively exist:
ls -l /sbin/ifquery
-rwxr-xr-x 1 1500000 1500000 58496 dic 12 2012 /sbin/ifquery
./usr/bin/unzip
; It would seem that you can't make a backup link of *$(pwd)/usr/bin/unzip
* - is$(pwd)
*/.
* ? I'm unfamiliar withdpkg
but it seems strange that it wouldcd /
before working. – mikeserv Mar 23 '14 at 07:19