FS#28475 - Warnings about ignored packages should appear in the log.

Attached to Project: Pacman
Opened by Tim (devzero) - Friday, 17 February 2012, 02:46 GMT
Last edited by Allan McRae (Allan) - Friday, 17 February 2012, 03:20 GMT
Task Type Feature Request
Category Packages: Core
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:

I request that warnings about ignored packages should also appear in the log.

This is motivated by the fact that I use abs to make a custom kernel. I would like to be able to refer to the log to remind me about version numbers. It also just seems generally sensible that warnings should be logged.


Additional info:

Please find attached relevant extracts from my /etc/pacman.conf and /var/log/pacman.log, as well as copy-paste from the actual terminal where pacman was run.


Steps to reproduce:

1. Add a package to the ignored packages list in /etc/pacman.conf.
2. Do a system upgrade (pacman -Syyu).
3. If the ignored package has an update available, pacman provides a warning.
4. This warning does not appear in the log.
This task depends upon

Comment by Allan McRae (Allan) - Friday, 17 February 2012, 03:20 GMT
Surely just using -Su again gives you the warning...


> pacman -Su
:: Starting full system upgrade...
warning: inputproto: ignoring package upgrade (2.0.2-1 => 2.1.99.6-1)
warning: libpciaccess: ignoring package upgrade (0.12.1-1 => 0.12.902-1)
warning: libreoffice-calc: ignoring package upgrade (3.4.5-2 => 3.5.0-1)
warning: libreoffice-common: ignoring package upgrade (3.4.5-2 => 3.5.0-1)
warning: libreoffice-draw: ignoring package upgrade (3.4.5-2 => 3.5.0-1)
warning: libreoffice-en-GB: ignoring package upgrade (3.4.5-2 => 3.5.0-1)
warning: libreoffice-gnome: ignoring package upgrade (3.4.5-2 => 3.5.0-1)
warning: libreoffice-impress: ignoring package upgrade (3.4.5-2 => 3.5.0-1)
warning: libreoffice-math: ignoring package upgrade (3.4.5-2 => 3.5.0-1)
warning: libreoffice-writer: ignoring package upgrade (3.4.5-2 => 3.5.0-1)
warning: libx11: ignoring package upgrade (1.4.4-1 => 1.4.99.1-1)
warning: libxcb: ignoring package upgrade (1.7-2 => 1.8-2)
warning: libxi: ignoring package upgrade (1.4.5-1 => 1.5.99.3-1)
warning: mesa: ignoring package upgrade (7.11.2-1 => 8.0-1)
warning: xcb-proto: ignoring package upgrade (1.6-2 => 1.7-2)
warning: xf86-input-evdev: ignoring package upgrade (2.6.0-4 => 2.6.99.901-1)
warning: xf86-input-synaptics: ignoring package upgrade (1.5.0-1 => 1.5.99-0.1)
warning: xorg-server: ignoring package upgrade (1.11.4-1 => 1.11.99.903-1)
warning: xorg-server-common: ignoring package upgrade (1.11.4-1 => 1.11.99.903-1)
there is nothing to do

That is a lot of lines to add to the log every upgrade.
Comment by Tim (devzero) - Friday, 17 February 2012, 03:33 GMT
Okay, I see your point. How about an option in the config file to either log all warnings, or no warnings? Eg:

# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists
#LogAllWarnings
Comment by Allan McRae (Allan) - Saturday, 09 February 2013, 04:31 GMT
Adding a "VerboseLog" option would also make it acceptable to add stuff like:
https://patchwork.archlinux.org/patch/760/
https://patchwork.archlinux.org/patch/761/

Loading...