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


Groups > linux.debian.user > #184791 > unrolled thread

disable orange progress running apt

Started byFelix Miata <mrmazda@earthlink.net>
First post2017-08-07 10:20 +0200
Last post2017-08-08 12:00 +0200
Articles 20 on this page of 33 — 9 participants

Back to article view | Back to linux.debian.user


Contents

  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

Page 1 of 2  [1] 2  Next page →


#184791 — disable orange progress running apt

FromFelix Miata <mrmazda@earthlink.net>
Date2017-08-07 10:20 +0200
Subjectdisable orange progress running apt
Message-ID<ubLqy-5J4-17@gated-at.bofh.it>
Google and man pages for apt, apt-config and apt.conf have gotten me nowhere in
over an hour of searching how to keep apt output limited to the two screen
colors in which it is running. Something like

	Apt::what-goes "here";

ought to do it in some file in /etc/apt/apt.conf.d/, but by what filename, and
what are the magic strings? Google doesn't seem to want to show anything other
than enabling, which is the apparent default that I want eradicated.
-- 
"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/

[toc] | [next] | [standalone]


#184793

From<tomas@tuxteam.de>
Date2017-08-07 10:30 +0200
Message-ID<ubLAe-5Ov-5@gated-at.bofh.it>
In reply to#184791
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Aug 07, 2017 at 04:16:05AM -0400, Felix Miata wrote:
> Google and man pages for apt, apt-config and apt.conf have gotten me nowhere in
> over an hour of searching how to keep apt output limited to the two screen
> colors in which it is running. Something like
> 
> 	Apt::what-goes "here";

Took me a while to parse that :)

You mean you want apt behaving in a "monochrome" way, i.e. foreground,
background and that's it?

Perhaps setting the TERM variable helps? Like, for example

  TERM=xterm-mono apt

(make sure there is a xterm-mono, typically in /lib/terminfo/x, and
that it is compatible with whatever terminal (emulator?) you are using)

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmII/UACgkQBcgs9XrR2kbSYQCdF3PDX0p+C4x7V7sn8ebIoyH6
7y4Ani3szXcq2zYroxtgwSiyZZb3H1wU
=H5d0
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#184794

FromFelix Miata <mrmazda@earthlink.net>
Date2017-08-07 10:50 +0200
Message-ID<ubLTz-5V4-9@gated-at.bofh.it>
In reply to#184793
tomas@tuxteam.de composed on 2017-08-07 10:25 (UTC+0200):

> On Mon, Aug 07, 2017 at 04:16:05AM -0400, Felix Miata wrote:

>> Google and man pages for apt, apt-config and apt.conf have gotten me nowhere in
>> over an hour of searching how to keep apt output limited to the two screen
>> colors in which it is running. Something like

>> 	Apt::what-goes "here";

> Took me a while to parse that :)

> You mean you want apt behaving in a "monochrome" way, i.e. foreground,
> background and that's it? 

I thought that would be the interpretation of "two screen colors in which it is
running".

> Perhaps setting the TERM variable helps? Like, for example

>   TERM=xterm-mono apt

> (make sure there is a xterm-mono, typically in /lib/terminfo/x, and
> that it is compatible with whatever terminal (emulator?) you are using)

I'm doing this in the vttys, in part to avoid colors other than the two set by
setterm in .bashrc. For those rare occasions I would run apt somewhere in X I'd
still like a two colors only (monochrome) version.
-- 
"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/

[toc] | [prev] | [next] | [standalone]


#184796

From<tomas@tuxteam.de>
Date2017-08-07 11:30 +0200
Message-ID<ubMwh-6nu-11@gated-at.bofh.it>
In reply to#184794
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Aug 07, 2017 at 04:47:08AM -0400, Felix Miata wrote:
> tomas@tuxteam.de composed on 2017-08-07 10:25 (UTC+0200):
> 
> > On Mon, Aug 07, 2017 at 04:16:05AM -0400, Felix Miata wrote:
> 
> >> Google and man pages for apt, apt-config and apt.conf have gotten me nowhere in
> >> over an hour of searching how to keep apt output limited to the two screen
> >> colors in which it is running. Something like
> 
> >> 	Apt::what-goes "here";
> 
> > Took me a while to parse that :)
> 
> > You mean you want apt behaving in a "monochrome" way, i.e. foreground,
> > background and that's it? 
> 
> I thought that would be the interpretation of "two screen colors in which it is
> running".

OK, that's how I parsed it. Good, then :)

> > Perhaps setting the TERM variable helps? Like, for example
> 
> >   TERM=xterm-mono apt

In the meantime I tested with ls, which this one seems to ignore that
variable.

I didn't even know apt did colors. Can you give an example?

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmIMikACgkQBcgs9XrR2kaN9wCdE8ksDuVYvRhYjnwH6w2I1Gav
FDYAnRrIJTXPxrydTin4ehgfs4oU4N2b
=NPlR
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#184801

FromFelix Miata <mrmazda@earthlink.net>
Date2017-08-07 14:00 +0200
Message-ID<ubORs-7Id-25@gated-at.bofh.it>
In reply to#184796
tomas@tuxteam.de composed on 2017-08-07 11:26 (UTC+0200):

> I didn't even know apt did colors. Can you give an example?

	apt update

	apt upgrade

With both, portions of progress reporting use orange or green as foreground
color, depending on what's progressing.
-- 
"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/

[toc] | [prev] | [next] | [standalone]


#184808

From<tomas@tuxteam.de>
Date2017-08-07 15:10 +0200
Message-ID<ubPXe-bV-53@gated-at.bofh.it>
In reply to#184801
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Aug 07, 2017 at 07:52:18AM -0400, Felix Miata wrote:
> tomas@tuxteam.de composed on 2017-08-07 11:26 (UTC+0200):
> 
> > I didn't even know apt did colors. Can you give an example?
> 
> 	apt update
> 
> 	apt upgrade

Ahem... is there also something non-destructive? ;-)

Thanks
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmIZmsACgkQBcgs9XrR2kZF8wCggGQHE99k2j/3TXWZKequsRFw
L3QAnRxlaFZfjeNbXaItPuzoo7PmWtjF
=KU/u
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#184811

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2017-08-07 15:20 +0200
Message-ID<ubQ6S-fz-17@gated-at.bofh.it>
In reply to#184808
On Mon, Aug 07, 2017 at 03:08:59PM +0200, tomas@tuxteam.de wrote:
> > > I didn't even know apt did colors. Can you give an example?
> 
> Ahem... is there also something non-destructive? ;-)

apt search mariadb-server

The package names are written in green (at least in my terminal).

[toc] | [prev] | [next] | [standalone]


#184812

From<tomas@tuxteam.de>
Date2017-08-07 15:40 +0200
Message-ID<ubQqe-nB-17@gated-at.bofh.it>
In reply to#184811
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Aug 07, 2017 at 09:13:42AM -0400, Greg Wooledge wrote:
> On Mon, Aug 07, 2017 at 03:08:59PM +0200, tomas@tuxteam.de wrote:
> > > > I didn't even know apt did colors. Can you give an example?
> > 
> > Ahem... is there also something non-destructive? ;-)
> 
> apt search mariadb-server
> 
> The package names are written in green (at least in my terminal).

Thanks. I can see it now (niiiice ;-)  I'll have a look at the sources
later...

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmIbOAACgkQBcgs9XrR2kYrvgCdGFAE5ujIUcCUyQBI3pM/eglM
J5IAn1BhnupFD/JKLSmqLu9QX5jOaFaw
=Cqwa
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#184814

FromGene Heskett <gheskett@shentel.net>
Date2017-08-07 17:20 +0200
Message-ID<ubRZ0-1OG-31@gated-at.bofh.it>
In reply to#184811
On Monday 07 August 2017 09:13:42 Greg Wooledge wrote:

> On Mon, Aug 07, 2017 at 03:08:59PM +0200, tomas@tuxteam.de wrote:
> > > > I didn't even know apt did colors. Can you give an example?
> >
> > Ahem... is there also something non-destructive? ;-)
>
> apt search mariadb-server
>
> The package names are written in green (at least in my terminal).

As they are here on the raspi. But the user@machinename prompt is a much 
brighter green. And the path where I am cd'ed to is in a medium blue, 
nominally the same brightness as the package names.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#184863

FromFelix Miata <mrmazda@earthlink.net>
Date2017-08-08 01:40 +0200
Message-ID<ubZMR-7qT-5@gated-at.bofh.it>
In reply to#184811
Greg Wooledge composed on 2017-08-07 09:13 (UTC-0400):

>> > > I didn't even know apt did colors. Can you give an example?

>> Ahem... is there also something non-destructive? ;-)

> apt search mariadb-server

> The package names are written in green (at least in my terminal).

Almost same here. 'apt search mariadb-server' returns 0 hits in about 2 seconds.
I'm not sure if any of its brief interim colors deviate from normal vtty colors.

	apt search mariad

produces three lines (including one blank) per hit. The actual package name is
green, the rest is normal vtty fg color.
-- 
"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/

[toc] | [prev] | [next] | [standalone]


#184798

FromDarac Marjal <mailinglist@darac.org.uk>
Date2017-08-07 12:30 +0200
Message-ID<ubNsm-6XO-17@gated-at.bofh.it>
In reply to#184791

[Multipart message — attachments visible in raw view] — view raw

On Mon, Aug 07, 2017 at 04:16:05AM -0400, Felix Miata wrote:
>Google and man pages for apt, apt-config and apt.conf have gotten me nowhere in
>over an hour of searching how to keep apt output limited to the two screen
>colors in which it is running. Something like
>
>	Apt::what-goes "here";
>
>ought to do it in some file in /etc/apt/apt.conf.d/, but by what filename, and
>what are the magic strings? Google doesn't seem to want to show anything other
>than enabling, which is the apparent default that I want eradicated.

Try "APT::Color "false";". If you want to change the colours, there are 
sub-options for "APT::Color:Blue", Cyan, Green, Magenta, Red, White, 
Yellow, "Neutral" and "Hightlight". Each of these takes an ANSI escape 
code (such as "").

>-- 
>"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/
>

-- 
For more information, please reread.

[toc] | [prev] | [next] | [standalone]


#184802

FromFelix Miata <mrmazda@earthlink.net>
Date2017-08-07 14:10 +0200
Message-ID<ubP17-80C-19@gated-at.bofh.it>
In reply to#184798
Darac Marjal composed on 2017-08-07 11:20 (UTC+0100):

> On Mon, Aug 07, 2017 at 04:16:05AM -0400, Felix Miata wrote:

>>Google and man pages for apt, apt-config and apt.conf have gotten me nowhere in
>>over an hour of searching how to keep apt output limited to the two screen
>>colors in which it is running. Something like

>>	Apt::what-goes "here";

>>ought to do it in some file in /etc/apt/apt.conf.d/, but by what filename, and
>>what are the magic strings? Google doesn't seem to want to show anything other
>>than enabling, which is the apparent default that I want eradicated.

> 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.

Could this somehow be coming from bash rather than apt?
-- 
"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/

[toc] | [prev] | [next] | [standalone]


#184804

FromBrian <ad44@cityscape.co.uk>
Date2017-08-07 14:40 +0200
Message-ID<ubPub-8bG-23@gated-at.bofh.it>
In reply to#184802
On Mon 07 Aug 2017 at 08:05:28 -0400, Felix Miata wrote:

> Darac Marjal composed on 2017-08-07 11:20 (UTC+0100):
> 
> > On Mon, Aug 07, 2017 at 04:16:05AM -0400, Felix Miata wrote:
> 
> >>Google and man pages for apt, apt-config and apt.conf have gotten me nowhere in
> >>over an hour of searching how to keep apt output limited to the two screen
> >>colors in which it is running. Something like
> 
> >>	Apt::what-goes "here";
> 
> >>ought to do it in some file in /etc/apt/apt.conf.d/, but by what filename, and
> >>what are the magic strings? Google doesn't seem to want to show anything other
> >>than enabling, which is the apparent default that I want eradicated.
> 
> > 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.
> 
> Could this somehow be coming from bash rather than apt?

Worth reading: /usr/share/doc/apt/examples/configure-index.gz

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

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#184810

From<tomas@tuxteam.de>
Date2017-08-07 15:20 +0200
Message-ID<ubQ6S-fz-3@gated-at.bofh.it>
In reply to#184804
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Aug 07, 2017 at 01:33:20PM +0100, Brian wrote:

[...]

> Worth reading: /usr/share/doc/apt/examples/configure-index.gz
> 
> Try: Dpkg::Progress-Fancy::progress-bg "%1b[40m"

Yikes. Another one reinventing terminfo instead of relying on it.

Those are usually breeding grounds for Orcs and Monsters.

Nevermind

- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmIZtUACgkQBcgs9XrR2kblLQCeKiWukvdWrAOGdK7sfSljjVta
12QAn0roHx/erZ5BUTQWnOy3UAkl6Ygb
=1a6O
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#184833

FromBrian <ad44@cityscape.co.uk>
Date2017-08-07 19:10 +0200
Message-ID<ubTHs-3b4-23@gated-at.bofh.it>
In reply to#184810
On Mon 07 Aug 2017 at 15:10:45 +0200, tomas@tuxteam.de wrote:

> On Mon, Aug 07, 2017 at 01:33:20PM +0100, Brian wrote:
> 
> [...]
> 
> > Worth reading: /usr/share/doc/apt/examples/configure-index.gz
> > 
> > Try: Dpkg::Progress-Fancy::progress-bg "%1b[40m"
> 
> Yikes. Another one reinventing terminfo instead of relying on it.
> 
> Those are usually breeding grounds for Orcs and Monsters.

It works; no complaints from the OP. :)

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#184846

FromFelix Miata <mrmazda@earthlink.net>
Date2017-08-07 21:10 +0200
Message-ID<ubVzA-4s8-25@gated-at.bofh.it>
In reply to#184804
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

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

Where did you spot that? It too does not get rid of orange.
-- 
"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/

[toc] | [prev] | [next] | [standalone]


#184859

FromBrian <ad44@cityscape.co.uk>
Date2017-08-07 23:50 +0200
Message-ID<ubY4q-6ew-3@gated-at.bofh.it>
In reply to#184846
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.

> > 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 and apt's changelog.

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.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#184866

FromFelix Miata <mrmazda@earthlink.net>
Date2017-08-08 03:10 +0200
Message-ID<uc1bY-7m-7@gated-at.bofh.it>
In reply to#184859
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/

[toc] | [prev] | [next] | [standalone]


#184875

FromFrank <zuiderduin@gmx.com>
Date2017-08-08 10:40 +0200
Message-ID<uc8ds-5nN-25@gated-at.bofh.it>
In reply to#184866
Op 08-08-17 om 02:57 schreef Felix Miata:
> Brian composed on 2017-08-07 33:42 (UTC+0100):
>> 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):

It's possible some configuration file already has a line which sets 
Dpkg::Progress-Fancy and/or Dpkg::Progress-Fancy::Progress-Bg. Did you 
check the files in /etc/apt/apt.conf.d?

Regards,
Frank

[toc] | [prev] | [next] | [standalone]


#184878

FromFelix Miata <mrmazda@earthlink.net>
Date2017-08-08 11:40 +0200
Message-ID<uc99w-65V-17@gated-at.bofh.it>
In reply to#184875
Frank composed on 2017-08-08 10:31 (UTC+0200):

> Felix Miata composed:

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

>>> 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):

> It's possible some configuration file already has a line which sets 
> Dpkg::Progress-Fancy and/or Dpkg::Progress-Fancy::Progress-Bg. Did you 
> check the files in /etc/apt/apt.conf.d? 

Yes, then I created a new file there just to install Brian's suggestion, and
after it failed the other permutations I tried.
-- 
"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/

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | linux.debian.user


csiph-web