sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
severin
Post subject: sed filtering of apt-get output  PostPosted: Jul 13, 2007 - 11:34 AM



Joined: Dec 04, 2006
Posts: 1238

Status: Offline
OK, listen, this is a rather weird idea. It's not exactly a request either, since I'm willing to try implementing something like this myself, I just don't know if it stands any chance. Here goes:

I've just wondered wether it's possible to have the output from apt-get filtered through sed or something before sending it on screen. The idea is to enhance d-u safety by marking the number of packages to be removed red if > 0. I could come up with a regexp to do so by myself, I just don't see if there's any way to intercept apt-get's output. Let alone i18n'ing the regexp.

Comments anyone? Topic open for discussion

Regards,
Severin
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
h2
Post subject: RE: sed filtering of apt-get output  PostPosted: Jul 13, 2007 - 05:55 PM



Joined: Nov 28, 2006
Posts: 4303

Status: Offline
It's not worth it, but if I can make a suggestion: I've been thinking of this problem too, and I think the best long term strategy is to try to the get the relevant apt maintainer in debian to simply move the packages to be removed list from the top of the list to the bottom, right above the: do you wish to continue [YES][no]

Since this would be utterly trivial to achieve, and would help millions of users long term, I think this is an idea worth pursuing.

Putting the single most critical and important piece of information users need out of sight in console on any large dist-upgrade is not a particularly good idea, and I think with a bit of time and perseverance, this could be changed.

The current method is not unlike putting a stop light on the next block from the street it's intended for - sure if you know about the stop light, and know the one down the street actually means your current street, it's ok, but it really shouldn't rely on users knowing to look for something in general, it should be readily visible and obvious.

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [using rdiff-backup]: rd-h2.sh
 
 View user's profile Send private message  
Reply with quote Back to top
severin
Post subject: RE: sed filtering of apt-get output  PostPosted: Jul 16, 2007 - 08:03 AM



Joined: Dec 04, 2006
Posts: 1238

Status: Offline
good point. I filed a bug
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio