cp: warning: behavior of -n is non-portable and may change in future
- This topic is empty.
January 2025 promo! Join our Discord free of charge.
seeing this on new installs
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
I think -n
is for GNU, since cp
was ported from POSIX. But pretty sure Ubuntu and Debian have supported that flag for many years already?
According to mailing lists,
https://www.mail-archive.com/[email protected]/msg33577.html
The new --update=none
doesn’t even work correctly and is overwriting files so I don’t think it’s a good idea to use that flag either!
weird, as cp
has been around forever…
Some of the Debian maintainers discussed this on Reddit a few months ago. They are saying it seems to be a bug and should be fixed in future versions. I don’t know how such a verbose warning message could be a bug, but if I understand correctly that’s what they are saying:
Some of the Debian maintainers discussed this on Reddit a few months ago. They are saying it seems to be a bug and should be fixed in future versions.
On second reading, I’m not sure they are saying it’s a bug.
But maybe just that apt
using cp -n
is a bug. It’s not really clear.
what are they asking for? cp --update=none
instead of cp -n
is that?
DO NOT DO WHAT THIS WARNING TELLS YOU TO DO!!!
YOU MIGHT BREAK YOUR STACK OR LOSE DATA THIS WARNING IS A BUG
Friends, the time has come for us to ask for your financial support. After 5+ years of (growing) expenses, and taking time away from consulting and services, we must start generating donations in order to continue this level of rapid project development. Please consider donating, so that we can keep SlickStack free and open source. Thank you! 🙏 😍
We champion core values like free speech, transparency, and portability, and welcome anyone else who does too.
Here is a non-exhaustive list of plugins, themes, and other services that we recommend checking out.
Every stack script and server deployment platform is a bit different, so check to see how SlickStack compares.
Subscribe to our free newsletter to receive occassional updates, we respect your privacy and do not sell your information.
Here’s some of the incredible performance features you can expect after launching your SlickStack cloud VPS.
If you are wondering what specific problems SlickStack can help solve, browse some of the solutions below.
In lieu of donations, please show your support by mentioning SlickStack on your blog or write a review. Thank you!