Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #184866

Re: disable orange progress running apt

From Felix Miata <mrmazda@earthlink.net>
Newsgroups linux.debian.user
Subject Re: disable orange progress running apt
Date 2017-08-08 03:10 +0200
Message-ID <uc1bY-7m-7@gated-at.bofh.it> (permalink)
References (1 earlier) <ubNsm-6XO-17@gated-at.bofh.it> <ubP17-80C-19@gated-at.bofh.it> <ubPub-8bG-23@gated-at.bofh.it> <ubVzA-4s8-25@gated-at.bofh.it> <ubY4q-6ew-3@gated-at.bofh.it>
Organization less than infinite

Show all headers | View raw


Brian composed on 2017-08-07 33:42 (UTC+0100):

> On Mon 07 Aug 2017 at 15:02:28 -0400, Felix Miata wrote:

>> Brian composed on 2017-08-07 13:33 (UTC+0100):

>> > On Mon 07 Aug 2017 at 08:05:28 -0400, Felix Miata wrote:

>> >> Darac Marjal composed on 2017-08-07 11:20 (UTC+0100):
>> ...
>> >> > Try "APT::Color "false";".
>> >> That was the last I tried with Stretch before giving up and posting here, in
>> >> /etc/apt/apt.conf.d/99mono. Also fails in Sid.
>> ...
>> > Worth reading: /usr/share/doc/apt/examples/configure-index.gz 

>> Only promising thing I could find there is

>> 	dpkg::progress-fancy "<BOOL>";

>> 'Dpkg::Progress-Fancy "false";' & 'dpkg::progress-fancy "false";' do not work

> Of course they work. They just do not fit your purpose. 

Work how? Do what? How do I find evidence that either actually do anything? So
far all I've seen is that you've said so, here, & earlier, 2017-08-07 18:03
(UTC+0100):

>> > Try: Dpkg::Progress-Fancy::progress-bg "%1b[40m" 

>> Where did you spot that? It too does not get rid of orange.

> /usr/share/doc/apt/examples/configure-index.gz
Booted to what?

# ls -gG /usr/share/doc/apt/examples/configure-index.gz
-rw-r--r-- 1 7145 Jun  1 04:50 /usr/share/doc/apt/examples/configure-index.gz
# zgrep Progress /usr/share/doc/apt/examples/configure-index.gz
quiet::NoProgress "<BOOL>"; // disables the 0% รข 100% progress on cache
generation and stuff
  pkgDPkgProgressReporting "<BOOL>";
  Acquire::Progress "<BOOL>";
  InstallProgress::Fancy "<BOOL>";
  APT::Progress::PackageManagerFd "<BOOL>";

> and apt's changelog. 

At the 1.0 change I see

	Dpkg::Progress-Fancy::progress-{bg,fg}="%1b[30m"

I put your

	Dpkg::Progress-Fancy::progress-bg "%1b[40m";

into /etc/apt/apt.conf.d/99mono. It produces no apparent color differences in
apt update or apt upgrade output. Next I tried (per changelog):

	Dpkg::Progress-Fancy::progress-bg="%1b[30m";

That too produces no apparent difference, as does:

	Dpkg::Progress-Fancy::progress-fg "%1b[30m";

> Perhaps you would be more detailed and describe the colours you see
> when you use apt and where orange crops up? A repeatable example
> would be of most use.

Orange might be red. My eyes are old and hastily deteriorating. That's why color
contrast and text size control are important here, and why less than middle-aged
programmers' ideas of "improvements" aren't always positive change. The bad
color is the foreground color for the progress info in apt update and apt
upgrade that quickly scrolls away and is absent from screen when apt command has
completed.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-07 10:20 +0200
  Re: disable orange progress running apt <tomas@tuxteam.de> - 2017-08-07 10:30 +0200
    Re: disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-07 10:50 +0200
      Re: disable orange progress running apt <tomas@tuxteam.de> - 2017-08-07 11:30 +0200
        Re: disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-07 14:00 +0200
          Re: disable orange progress running apt <tomas@tuxteam.de> - 2017-08-07 15:10 +0200
            Re: disable orange progress running apt Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-07 15:20 +0200
              Re: disable orange progress running apt <tomas@tuxteam.de> - 2017-08-07 15:40 +0200
              Re: disable orange progress running apt Gene Heskett <gheskett@shentel.net> - 2017-08-07 17:20 +0200
              Re: disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-08 01:40 +0200
  Re: disable orange progress running apt Darac Marjal <mailinglist@darac.org.uk> - 2017-08-07 12:30 +0200
    Re: disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-07 14:10 +0200
      Re: disable orange progress running apt Brian <ad44@cityscape.co.uk> - 2017-08-07 14:40 +0200
        Re: disable orange progress running apt <tomas@tuxteam.de> - 2017-08-07 15:20 +0200
          Re: disable orange progress running apt Brian <ad44@cityscape.co.uk> - 2017-08-07 19:10 +0200
        Re: disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-07 21:10 +0200
          Re: disable orange progress running apt Brian <ad44@cityscape.co.uk> - 2017-08-07 23:50 +0200
            Re: disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-08 03:10 +0200
              Re: disable orange progress running apt Frank <zuiderduin@gmx.com> - 2017-08-08 10:40 +0200
                Re: disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-08 11:40 +0200
                Re: disable orange progress running apt Brian <ad44@cityscape.co.uk> - 2017-08-08 15:00 +0200
                Re: disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-08 20:10 +0200
                Re: disable orange progress running apt Brian <ad44@cityscape.co.uk> - 2017-08-09 19:20 +0200
                Re: disable orange progress running apt Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-09 19:30 +0200
                Re: disable orange progress running apt Brian <ad44@cityscape.co.uk> - 2017-08-09 20:40 +0200
      Re: disable orange progress running apt Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-07 14:50 +0200
        Re: disable orange progress running apt Gene Heskett <gheskett@shentel.net> - 2017-08-07 17:10 +0200
          Re: disable orange progress running apt Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-07 17:30 +0200
            Re: disable orange progress running apt Gene Heskett <gheskett@shentel.net> - 2017-08-07 22:20 +0200
              Re: disable orange progress running apt Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-07 22:30 +0200
            Re: disable orange progress running apt Erik Christiansen <dvalin@internode.on.net> - 2017-08-08 08:00 +0200
      Re: disable orange progress running apt Curt <curty@free.fr> - 2017-08-08 10:20 +0200
        Re: disable orange progress running apt Felix Miata <mrmazda@earthlink.net> - 2017-08-08 12:00 +0200

csiph-web