apt should use color output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
New
|
Unknown
|
|||
dpkg (Ubuntu) |
New
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: apt
If somebody has ever used gentoo, one will see the difference between "emerge" and "apt-get" (and friends) immediately:
emerge highlights useful information like package names or errors with color (on color terminals), apt-get does not.
Especially for longer output like that one:
-------
maxauthority@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdvdnav4 libenca0 libfaac0 libfreebob0 libggi2 libgii1 libgii1-target-x libjack0 libsvga1
libx264-57 libxvidcore4
Suggested packages:
libggi-target-emu libggi-
w32codecs
Recommended packages:
libggi-target-x libggi-target
The following NEW packages will be installed:
libdvdnav4 libenca0 libfaac0 libfreebob0 libggi2 libgii1 libgii1-target-x libjack0 libsvga1
libx264-57 libxvidcore4 mplayer-nogui
0 upgraded, 12 newly installed, 0 to remove and 5 not upgraded.
Need to get 5856kB of archives.
After this operation, 14.6MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Fetched 5856kB in 2min12s (44.2kB/s)
Selecting previously deselected package libdvdnav4.
(Reading database ... 129716 files and directories currently installed.)
Unpacking libdvdnav4 (from .../libdvdnav4_
Selecting previously deselected package libenca0.
Unpacking libenca0 (from .../libenca0_
Selecting previously deselected package libfaac0.
Unpacking libfaac0 (from .../libfaac0_
Selecting previously deselected package libfreebob0.
Unpacking libfreebob0 (from .../libfreebob0
Selecting previously deselected package libgii1-target-x.
Unpacking libgii1-target-x (from .../libgii1-
Selecting previously deselected package libgii1.
Unpacking libgii1 (from .../libgii1_
Selecting previously deselected package libggi2.
Unpacking libggi2 (from .../libggi2_
Selecting previously deselected package libjack0.
Unpacking libjack0 (from .../libjack0_
Selecting previously deselected package libsvga1.
Unpacking libsvga1 (from .../libsvga1_
Selecting previously deselected package libx264-57.
Unpacking libx264-57 (from .../libx264-
Selecting previously deselected package libxvidcore4.
Unpacking libxvidcore4 (from .../libxvidcore
Selecting previously deselected package mplayer-nogui.
Unpacking mplayer-nogui (from .../mplayer-
Setting up libdvdnav4 (0.1.10-0.2) ...
-------
I would propose the following:
1.) All packages like libdvdnav4 or libenca0 should be colored e.g. green
2.) Filenames like .../mplayer-
3.) Some other structural text like "Suggested packages:" could be done in red or maybe just in bold
These are just suggestions, of course there could be done more/better colors for other things, but you get my point.
Of course things could/should be easily made non-colorized by a config option and/or environment variable.
There is an upstream bug in debian: http://
Also look at the screenshots there: http://
This bug should of course also include colored output for dpkg, apt-cache, etc.
description: | updated |
Changed in apt: | |
importance: | Undecided → Wishlist |
Changed in apt: | |
status: | Unknown → New |
Changed in apt (Ubuntu): | |
status: | New → Confirmed |
Many times when doing "apt-get dist-upgrade" is not easy to distinguish
packages to be installed, updated or removed, so it's possible to do the
"apt-get dist-upgrade" and delete some important packages.
Using colors could do it easier.