Closed antifa-ev closed 5 years ago
I've tried this just now. First two steps work, but 3 fails:
Step 3/29 : RUN apt-get update && apt-get install apt-transport-https ---> Running in 7e5c4e364061 Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB] Ign:2 http://deb.debian.org/debian stretch InRelease Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB] Get:4 http://deb.debian.org/debian stretch Release [118 kB] Get:5 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [573 kB] Get:6 http://deb.debian.org/debian stretch Release.gpg [2434 B] Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [6148 B] Get:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2018-07-20-2027.50.pdiff [1134 B] Get:9 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2018-07-31-2010.17.pdiff [1388 B] Get:10 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2018-10-20-2016.48.pdiff [1577 B] Get:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2018-10-28-1408.37.pdiff [335 B] Get:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages 2018-10-28-1408.37.pdiff [335 B] Get:12 http://deb.debian.org/debian stretch/main amd64 Packages [9488 kB] Fetched 10.4 MB in 2s (3966 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: apt-transport-https 0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded. Need to get 171 kB of archives. After this operation, 243 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian stretch/main amd64 apt-transport-https amd64 1.4.8 [171 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 171 kB in 0s (780 kB/s) Selecting previously unselected package apt-transport-https. (Reading database ... 12521 files and directories currently installed.) Preparing to unpack .../apt-transport-https_1.4.8_amd64.deb ... Unpacking apt-transport-https (1.4.8) ... 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) The command '/bin/sh -c apt-get update && apt-get install apt-transport-https' returned a non-zero code: 100
Hi @antifa-ev,
I have never seen this error. But it might be related to the OS kernels you are using: https://github.com/docker/for-linux/issues/480
@rosbo: Thanks for your advice, you may close this error.
I've tried this just now. First two steps work, but 3 fails: