Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1183618

Bug#1061612: coreutils: cp -n deprecation warning gives questionable advice

From Sven Joachim <svenjoac@gmx.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1061612: coreutils: cp -n deprecation warning gives questionable advice
Date 2024-01-27 14:10 +0100
Message-ID <I0QBA-5VRQ-29@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: coreutils
Version: 9.4-3+b1

,----
| $ cp -n /bin/true tmp
| cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
`----

The advice to use the --update=none option is highly questionable,
because this option is even less portable than -n.  It is not available
in coreutils older than 9.3 or in other cp implementations.

The result is that package maintainers follow the deprecation advice
likely without also introducing a versioned dependency on coreutils,
causing problems for backports and partial upgrades.  There is also one
Debian port (hurd-i386) which does not even have a recent enough
coreutils version.

See 1061610 in debhelper, which I have just opened.

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1061612: coreutils: cp -n deprecation warning gives questionable advice Sven Joachim <svenjoac@gmx.de> - 2024-01-27 14:10 +0100
  Bug#1061612: coreutils: cp -n deprecation warning gives questionable advice Michael Stone <mstone@debian.org> - 2024-01-27 17:10 +0100
    Bug#1061612: coreutils: cp -n deprecation warning gives questionable advice Pádraig Brady <P@draigBrady.com> - 2024-01-28 13:30 +0100
      Bug#1061612: coreutils: cp -n deprecation warning gives questionable advice Michael Stone <mstone@debian.org> - 2024-01-28 18:00 +0100

csiph-web