Unable to install/upgrade packages on ubuntu/latest
OS Version/Build :
App Version :
Docker version 18.09.0-ce, build 4d60db472b
Steps to Reproduce:
Run "apt-get upgrade" or "apt-get install <package_name>"
Find below the error:
root@17f0528c6f10:/# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libsystemd0 libudev1 perl-base ubuntu-keyring 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1671 kB of archives. After this operation, 12.3 kB of additional disk space will be used. Do you want to continue? [Y/n] y Fetched 1671 kB in 1s (3189 kB/s) debconf: delaying package configuration, since apt-utils is not installed (Reading database ... 4038 files and directories currently installed.) Preparing to unpack .../perl-base_5.26.1-6ubuntu0.3_amd64.deb ... Unpacking perl-base (5.26.1-6ubuntu0.3) over (5.26.1-6ubuntu0.2) ... dpkg: error processing archive /var/cache/apt/archives/perl-base_5.26.1-6ubuntu0.3_amd64.deb (--unpack): unable to make backup link of './usr/bin/perl' before installing new version: Invalid cross-device link dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) dpkg: error: error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link E: Sub-process /usr/bin/dpkg returned an error code (2)