Package: dpkg
Version: 1.20.7.1
Severity: wishlist
X-Debbugs-Cc: rvandegr...@debian.org

dpkg-divert is too sensitive to the order of the command line parameters.
Since I only use it rarely, I almost always run into:

  # dpkg-divert --add /wooo --divert /yeah --rename
  dpkg-divert: warning: please specify --no-rename explicitly, the default will 
change to --rename in 1.20.x
  dpkg-divert: error: --add needs a single argument
  
  Use --help for help about diverting files.

The fix is to move --add last.  But neither the error nor the manpage makes
that clear.

Ross


-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'testing'), (40, 'unstable'), (30, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-4
ii  libc6        2.31-9
ii  liblzma5     5.2.5-1.0
ii  libselinux1  3.1-3
ii  tar          1.34+dfsg-1
ii  zlib1g       1:1.2.11.dfsg-2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            2.2.0
pn  debsig-verify  <none>

-- no debconf information

Reply via email to