Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / bug / apt / | server ip : 104.21.89.46 your ip : 172.70.194.160 H O M E |
Filename | /usr/share/bug/apt/script |
Size | 834 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 27-Mar-2014 18:59 |
Last accessed | 06-Jul-2025 19:27 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/bash -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 et al)? [Y/n] " yep
if [ "$REPLY" = "yep" ]; then
echo -e "\n-- apt-config dump --\n" >&3
apt-config dump >&3 2>&1
fi
for config in /etc/apt/preferences /etc/apt/sources.list; do
if [ -f $config ]; then
yesno "May I include your $config configuration file? [Y/n] " yep
if [ "$REPLY" = "yep" ]; then
echo -e "\n-- $config --\n" >&3
cat $config >&3
else
echo -e "\n-- ($config present, but not submitted) --\n" >&3
fi
else
echo -e "\n-- (no $config present) --\n" >&3
fi
done
# 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 et al)? [Y/n] " yep
if [ "$REPLY" = "yep" ]; then
echo -e "\n-- apt-config dump --\n" >&3
apt-config dump >&3 2>&1
fi
for config in /etc/apt/preferences /etc/apt/sources.list; do
if [ -f $config ]; then
yesno "May I include your $config configuration file? [Y/n] " yep
if [ "$REPLY" = "yep" ]; then
echo -e "\n-- $config --\n" >&3
cat $config >&3
else
echo -e "\n-- ($config present, but not submitted) --\n" >&3
fi
else
echo -e "\n-- (no $config present) --\n" >&3
fi
done