Knowing terminal escape codes, I now see those technically are colors. I
had just expected something more ... colorful.

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.

  fdisk colors are not actually enabled by default

Status in util-linux package in Ubuntu:

Bug description:
  $ lsb_release -rd
  Description:    Ubuntu 22.04.1 LTS
  Release:        22.04

  $ apt-cache policy fdisk
    Installed: 2.37.2-4ubuntu3
    Candidate: 2.37.2-4ubuntu3
    Version table:
   *** 2.37.2-4ubuntu3 500
          500 jammy/main 
amd64 Packages
          100 /var/lib/dpkg/status

  # Expected behavior

  `fdisk -l`'s output should have colors other than white and black.
  Otherwise, `fdisk --help` should not say that colors are enabled by default. says that
  /etc/terminal-colors.d/fdisk.scheme should exist, but it is missing
  from `dpkg-query -L fdisk | grep /etc/terminal-colors.d/fdisk.scheme`.

  # Actual behavior

  `fdisk -l` shows a list of partitions without color.

  $ fdisk --help | grep color
   -L, --color[=<when>]          colorize output (auto, always or never)
                                   colors are ___enabled___ by default
  (emphasis mine)

  $ dpkg-query -L fdisk | grep /etc/terminal-colors.d/fdisk.scheme
  $ # no output
  $ cat /etc/terminal-colors.d/fdisk.scheme
  cat: /etc/terminal-colors.d/fdisk.scheme: No such file or directory

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to