You are not logged in.
Currently, pacman does this:
[root@yavin4 ~]# pacman -Su
:: Starting full system upgrade...
warning: kdepim-akregator: ignoring package upgrade (4.4.9-1 => 4.7.0-1)
warning: kdepim-kmail: ignoring package upgrade (4.4.9-1 => 4.7.0-1)
warning: kdepim-libkdepim: ignoring package upgrade (4.4.9-1 => 4.7.0-1)
Why, thank you pacman. I added them to IgnorePkg myself, I don't need to see the warning every time. Is there any way to do this, aside from wrapping pacman with grep?
Last edited by tadzik (2011-08-06 12:54:02)
Offline
Nope.
Offline
Acknowlegded. So, for all adventurous/insane Archers, this moves all the annoying warnings in pacman do debug level:
--- src/lib/libalpm/sync.c.orig 2011-08-06 14:25:09.000000000 +0200
+++ src/lib/libalpm/sync.c 2011-08-06 14:56:59.000000000 +0200
@@ -123,7 +123,7 @@
lpkg->name, lpkg->version, spkg->version);
/* check IgnorePkg/IgnoreGroup */
if(_alpm_pkg_should_ignore(spkg) || _alpm_pkg_should_ignore(lpkg)) {
- _alpm_log(PM_LOG_WARNING, _("%s: ignoring package upgrade (%s => %s)\n"),
+ _alpm_log(PM_LOG_DEBUG, _("%s: ignoring package upgrade (%s => %s)\n"),
lpkg->name, lpkg->version, spkg->version);
} else {
_alpm_log(PM_LOG_DEBUG, "adding package %s-%s to the transaction targets\n",
@@ -142,7 +142,7 @@
trans->add = alpm_list_add(trans->add, spkg);
}
} else {
- _alpm_log(PM_LOG_WARNING, _("%s: local (%s) is newer than %s (%s)\n"),
+ _alpm_log(PM_LOG_DEBUG, _("%s: local (%s) is newer than %s (%s)\n"),
lpkg->name, lpkg->version, sdb->treename, spkg->version);
}
}
Applied that on my system pacman and it works like a charm
Last edited by tadzik (2011-08-06 13:03:18)
Offline