Skip to content

Instantly share code, notes, and snippets.

@Francesco149
Last active October 27, 2023 08:51
Show Gist options
  • Star 56 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save Francesco149/ce376cd83d42774ed39d34816b9e21db to your computer and use it in GitHub Desktop.
Save Francesco149/ce376cd83d42774ed39d34816b9e21db to your computer and use it in GitHub Desktop.
docker error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
@eggman64
Copy link

👍

@dbuades
Copy link

dbuades commented Nov 27, 2018

Thanks!

@macpijan
Copy link

Excellent. Deserved first google entry.

@ssnelgrove314
Copy link

HAHA! Fixed my issue. +1 internets to you good sir!

@turkishviking
Copy link

❤️

@dimmg
Copy link

dimmg commented Nov 29, 2018

Thanks!

@zinovyev
Copy link

Thanks a lot! 👍

@JarJak
Copy link

JarJak commented Dec 1, 2018

Thank you

@LucaFeger
Copy link

I am using the docker image java:8 and sudo isn't available so I tried to run it without sudo.
Now the output is

tee: /sys/module/overlay/parameters/metacopy: Read-only file system

and the docker build stops with a non-zero exit code (1)

@jtraulle
Copy link

jtraulle commented Dec 2, 2018

Thanks 💕

@mauromsl
Copy link

mauromsl commented Dec 3, 2018

@ashkann
Copy link

ashkann commented Dec 3, 2018

Worked +1

@jamyouss
Copy link

jamyouss commented Dec 6, 2018

Thanks 👍

@MightyPork
Copy link

you're a hero

@meyerson
Copy link

meyerson commented Dec 8, 2018

👍

@tjcim
Copy link

tjcim commented Dec 8, 2018

Thanks!

@ilstam
Copy link

ilstam commented Dec 10, 2018

thanks!!

@dudasaron
Copy link

👍

@swadeshp
Copy link

Thank you! Kind human.
I was wandering in the dark for so long to fix this.

@ZyqGitHub1
Copy link

Thanks!

@Leonz3n
Copy link

Leonz3n commented Dec 15, 2018

Thanks!!!

@bradmccormack
Copy link

I found this straight away. Thank you!

@qmeeus
Copy link

qmeeus commented Dec 17, 2018

YEAH! Just brilliant

@MattBlack85
Copy link

saved my day

@48ca
Copy link

48ca commented Dec 18, 2018

Thank you!

@4goettma
Copy link

4goettma commented Dec 19, 2018

No luck. Ubuntu:16.04 as well as debian:stretch-slim. Any idea?

Step 3/13 : RUN echo N | tee /sys/module/overlay/parameters/metacopy
 ---> Running in xxxxxxxxxxxx
tee: /sys/module/overlay/parameters/metacopy: Read-only file system
N
The command '/bin/sh -c echo N | tee /sys/module/overlay/parameters/metacopy' returned a non-zero code: 1

@antpk
Copy link

antpk commented Dec 19, 2018

No luck. Ubuntu:16.04 as well as debian:stretch-slim. Any idea?

Step 3/13 : RUN echo N | tee /sys/module/overlay/parameters/metacopy
 ---> Running in xxxxxxxxxxxx
tee: /sys/module/overlay/parameters/metacopy: Read-only file system
N
The command '/bin/sh -c echo N | tee /sys/module/overlay/parameters/metacopy' returned a non-zero code: 1

Initially, I thought it was inside the docker image that needed to be placed, but its actually on the host that you need to run the command

@joseluisq
Copy link

For more details: docker/for-linux#480

@snorkellingcactus
Copy link

Capoo

Copy link

ghost commented Apr 11, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment