On Thu, 12 Feb 2026, Davidson wrote:
$ wget https://archive.ubuntu.com/ubuntu/pool/main/c/cdebconf/cdebconf-newt-udeb_0.251ubuntu1_amd64.udeb
$ dpkg-deb -x cdebconf-newt-udeb_0.251ubuntu1_amd64.udeb ./

I inspected ./etc/newt/palette.dark,

# mkdir /etc/newt/

copied ./etc/newt/palette.dark to /etc/newt/, changed its owner from
the downloading user to root:root, checked that its permissions were
sane

and then tested with

# NEWT_COLORS_FILE=/etc/newt/palette.dark dpkg-reconfigure locales

which looked satisfactory to me.

So I then did

# ln -Tv /etc/newt/palette.dark /etc/newt/palette

It now occurs to me that this hard linking could bite me later, if
anything clobbers

  /etc/newt/palette

because palatte.dark, which is data I do not want to lose, would get
clobbered too. So I have done

  # ln -Tvsf /etc/newt/palette.dark /etc/newt/palette

to make palette a soft link instead.

Reply via email to