You are not logged in.
Pages: 1
Split from https://forums.bunsenlabs.org/viewtopic … 031#p26031
Even better, get a sweet progress bar by using apt...
sudo apt install -t jessie-backports --no-install-recommends mate-panel mate-applets
mate-panel isn't actually in jessie-backports, it's just an example.
When using apt(8), the repositories are targeted like this:
sudo apt install mate-panel/jessie-backports
See apt(8)
To get the progress bar & colours with `apt-get`, add these lines to a file called /etc/apt/apt.conf.d/99fancy
DPkg::Progress-Fancy "1";
APT::Color "1";
EDIT: changed after post below -- thanks geekosupremo!
Last edited by Head_on_a_Stick (2016-05-04 19:37:11)
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
To get the progress bar & colours with `apt-get`, add these lines to /etc/apt/apt.conf
DPkg::Progress-Fancy APT::Color
I am batting 1000 at these little mods. :\ I also looked up the apt.conf(5) But having little luck.
APT{
GET{
DPkg::Progress-Fancy;
APT::Color;
};
};
Doesn't give show color or progress bar. But if I just run "apt" I get color.
I found the example file in /usr/share/doc/apt/examples/ but it doesn't seem to fit the pattern H_o_a_S put up ... :sigh:
Offline
I made a mistake in my post, the values must be set as well. I have updated the post.
Try:
sudo -i
echo -e 'Dpkg::Progress-Fancy "1";\nAPT::Color "1";' > /etc/apt/apt.conf.d/99geekosupremo
exit
I don't have a Debian system handy to check this but it should work
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
Glad I'm being helpful and not just annoying.
I edited the file using your updated command, and I now get a colored "activity" line when "apt-get" runs. But not seeing a "progress bar". Not a big deal ... the colored "activity" line is plenty useful.
Offline
^ I have never actually tried it so I don't know how it's supposed to work, I just saw the section in the apt(8) man page:
DIFFERENCES TO APT-GET(8)
The apt command is meant to be pleasant for end users and does not need
to be backward compatible like apt-get(8). Therefore some options are
different:o The option DPkg::Progress-Fancy is enabled.
o The option APT::Color is enabled.
o A new list command is available similar to dpkg --list.
o The option upgrade has --with-new-pkgs enabled by default.
“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.
Offline
I LIKE IT!
colour for apt-get as well!
Thank you HoaS & geekosupremo
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
Addendem/Correction:
All works as described!
When I tried it earlier I didn't have any packages that needed upgrading or installing, thus no progress bar. :facepalm:
This new 'apt' command is kinda nice. It seems like a blending of the more readable commands of 'aptitude' and the functionality of 'apt-get' and making a new command out of them. Is it "better"? Hard to say but it is kinda nice.
Offline
Pages: 1