Debian: logging
This might have become a rant too. First of all because it’s not possible to log the “apt-get upgrade”-process in detail with (on-board) debian-tools. What IMO sucks too is the missing documentation for some tools like apt-listchanges and apt-listbugs. So I tried to figure it out via manpage in combination with the provided example-scripts of apt-listbugs. Corresponding to google-output and #debian.de it seems that most of the debian-developers even don’t know of their existence.
Ok – what I was searching for:
* log upgrades in detail to be able to reconstruct possible errors (very important on productive systems)
* check for open/outstanding bugs (also on selected packages only) and list them
* show bug-reports with different severities without using a webbrowser
What’s my solution? First of all I tried to do some logging via strace. Problem: does not work while using the configfiles /etc/apt/apt.conf.d/10apt-listbugs and /etc/apt/apt.conf.d/20listchanges which are calling DPkg::Pre-Install-Pkgs-commands.
So I wrote a small shellscript:
www.michael-prokop.at/computer/config/bin/debstrace
I’m also using some adjusted apt-listbug-examples in my zsh-setup:
www.michael-prokop.at/computer/config/.zsh/zsh_debian
and a ruby-script:
www.michael-prokop.at/computer/config/bin/listbugs.rb
WFM (works for me). Suggestions are welcome.