Comment 42 for bug 1295440

Revision history for this message
In , Enrico-gueli+kdebug (enrico-gueli+kdebug) wrote :

Here it is.
I've put the commands into a Bash script, and run it with "sudo bash verboselog.sh"

The output is at https://www.dropbox.com/s/wm8gybite4ipsb5/verboselog.tar.xz

#!/bin/sh
set -e

rm -rf verboselog
mkdir verboselog
cd verboselog
touch log
echo "___apt-cache-show___" >> log
apt-cache show primus-libs-ia32 >> log
echo "___apt-cache-policy___" >> log
apt-cache policy primus-libs-ia32 >> log
echo "___dpkg-get-selections___" >> log
dpkg --get-selections '*' >> log
echo "___dpkg-query___" >> log
dpkg-query -W --showformat='${binary:Package};${Version};${Status}\n' \
| grep -v deinstall >> log
echo "___apt-cache-dump___" >> log
apt-cache dump >> log
cp -r /etc/apt etc-apt
cp -r /var/log/dpkg* .
cp -r /var/log/apt .
cd ..
set +e
  rm verboselog.tar verboselog.tar.xz
set -e
tar -cf verboselog.tar verboselog
rm -rf verboselog
xz -9 verboselog.tar
echo "verboselog.tar.xz"