FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

LinkBack Thread Tools
Old 07-01-2012, 04:40 PM
Default Request of printing warnings at the end of pacman upgrade


Every arch user may experience such a situation--after a system upgrade, the system is totally unusable.
That is neither the problem of that upgrade, nor the user. In fact, during the upgrading process some important warnings (such as `please reinstall your bootloader', or `please reload the modules yourself') are printed but missed by the user. Especially when hundreds of packages are going to be upgraded, thousands of lines of information will wash away the important warnings.

Although in the wiki, arch officially said that you should check every output line during system upgrade, most people will usually do the following things to upgrade the system: turn on the computer, type pacman -Syu, hit Y, then left the computer alone and check back half an hour later. Few will watch the whole upgrading process and see each line of the output.

So, I*recommend*that, why don't we print a single message `Some critical packages have been upgraded and some operations needed to be done by yourself, please check back the /var/log/pacman.conf file for some important information.' AT THE END of a system upgrade which has some packages upgrade marked `important'? Packages itself can specify for a single upgrade related to a specific version whether this is an `important' upgrade, in its *.install file.
And it is totally NOT against KISS rule, is it?


BTW, I suggest that add a character (I, W, or E, for 'info' 'warning' 'error') into every line of output to the log file.
the old style is like this:
**[2012-06-25 20:34] * The way fontconfig is configured has been changed.*
and the new one may be this:
**[2012-06-25 20:34 (W)] * The way fontconfig is configured has been changed.*
So the advantage is that, user can use 'cat /var/log/pacman.log | grep (W)' to see all warning messages or 'grep (E)' to see all errors without any clutter. This can be very useful in*diagnosing after the system becomes unusable.
If you are disagree with me, just type 'cat /var/log/pacman.log' and try to find something useful in a short time. If you cannot do that, why don't you think this is a good suggestion?

Thread Tools

All times are GMT. The time now is 12:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org