Moving to the correct package: 'util-linux'
which includes fdisk in Ubuntu 22.04.


** Package changed: gnu-fdisk (Ubuntu) => util-linux (Ubuntu)

** Tags added: jammy

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1990691

Title:
  fdisk colors are not actually enabled by default

Status in util-linux package in Ubuntu:
  New

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

  $ apt-cache policy fdisk
  fdisk:
    Installed: 2.37.2-4ubuntu3
    Candidate: 2.37.2-4ubuntu3
    Version table:
   *** 2.37.2-4ubuntu3 500
          500 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu 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.

  https://unix.stackexchange.com/a/385973/524752 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:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1990691/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to