--- /dev/null
+#!/bin/sh -e
+
+# reportbug #169495
+if [ -z "$YESNO" ]; then
+ YESNO=$"yYnN"
+fi
+
+cat <<EOF
+I can automatically include various information about your apt configuration in
+your bug report. This information may help to diagnose your problem.
+
+EOF
+
+yesno "May I include your apt configuration (/etc/apt/apt.conf)? [Y/n] " yep
+
+if [ "$REPLY" = "yep" ]; then
+ echo -e "\n-- apt-config dump --\n" >&3
+ apt-config dump >&3 2>&1
+fi
+
+if [ -f /etc/apt/preferences ]; then
+ yesno "May I include your apt preferences (/etc/apt/preferences)? [Y/n] " yep
+
+ if [ "$REPLY" = "yep" ]; then
+ echo -e "\n-- /etc/apt/preferences --\n" >&3
+ cat /etc/apt/preferences >&3
+ fi
+fi
+
+if [ -f /etc/apt/sources.list ]; then
+ yesno "May I include your sources.list (/etc/apt/sources.list)? [Y/n] " yep
+
+ if [ "$REPLY" = "yep" ]; then
+ echo -e "\n-- /etc/apt/sources.list --\n"
+ cat /etc/apt/sources.list >&3
+ fi
+fi
(Closes: #193336)
- Fix SGML validation errors in apt-cache.8.sgml introduced in 0.5.5 or so
- Add a simple example to apt-ftparchive(1) (Closes: #95257)
+ - Add bug script for collecting configuration info (Closes: #176482)
- -- Matt Zimmerman <mdz@debian.org> Mon, 21 Jul 2003 01:53:07 -0400
+ -- Matt Zimmerman <mdz@debian.org> Mon, 21 Jul 2003 01:59:43 -0400
apt (0.5.5.1) unstable; urgency=low
# Made with the aid of dh_make, by Craig Small
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Some lines taken from debmake, by Christoph Lameter.
-# $Id: rules,v 1.49 2003/04/27 06:20:40 doogie Exp $
+# $Id: rules,v 1.50 2003/07/21 06:09:12 mdz Exp $
# LD_LIBRARY_PATH=pwd/debian/apt/usr/lib dh_shlibdeps -papt
# dpkg: /home/jgg/work/apt2/debian/apt/usr/lib/libapt-pkg.so.2.9 not found.
dh_testdir -p$@
dh_testroot -p$@
dh_clean -p$@ -k
- dh_installdirs -p$@ /usr/share
+ dh_installdirs -p$@ /usr/share/bug/$@
#
# apt install
#
cp $(BLD)/scripts/dselect/* debian/apt/usr/lib/dpkg/methods/apt/
cp -r $(BLD)/locale debian/apt/usr/share/
+ cp debian/bugscript debian/apt/usr/share/bug/apt/script
+
# head -n 500 ChangeLog > debian/ChangeLog
dh_installexamples -p$@ $(BLD)/docs/examples/*