Bug#1000830: /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.

Colin Watson cjwatson at debian.org
Wed Dec 1 20:50:31 GMT 2021


On Thu, Dec 02, 2021 at 02:57:25AM +0800, 積丹尼 Dan Jacobson wrote:
> # ed /var/lib/dpkg/info/grub-pc.postinst
> # dpkg --configure grub-pc
> dpkg: error processing package grub-pc (--configure):
>  package grub-pc is already installed and configured
> Errors were encountered while processing:
>  grub-pc

Sorry for being insufficiently precise.

  # dpkg --unpack /var/cache/apt/archives/grub-pc_2.06-2_amd64.deb
  ... edit /var/lib/dpkg/info/grub-pc.postinst ...
  # dpkg --configure grub-pc

-- 
Colin Watson (he/him)                              [cjwatson at debian.org]



More information about the Pkg-grub-devel mailing list