reportbug --template aptitude misses vital configuration details.
Here I am e.g., preparing a bug report about config files remaining:
# set libapt-pkg4.13
# aptitude purge $@
The following packages will be REMOVED:
libapt-pkg4.13{p}
0 packages upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
Need to get 0 B of archives. After unpacking 2,698 kB will be freed.
The following packages have unmet dependencies:
libapt-inst1.5 : Depends: libapt-pkg4.13 (>= 1.1~exp1) but it is not going to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
1) libapt-inst1.5
2) python-apt
Accept this solution? [Y/n/q/?]
The following packages will be REMOVED:
libapt-inst1.5{a} (D: libapt-pkg4.13) libapt-pkg4.13{p} python-apt{a} (D: libapt-inst1.5)
0 packages upgraded, 0 newly installed, 3 to remove and 5 not upgraded.
Need to get 0 B of archives. After unpacking 4,027 kB will be freed.
Do you want to continue? [Y/n/?]
(Reading database ... 115036 files and directories currently installed.)
Removing python-apt (0.9.3.10) ...
Removing libapt-inst1.5:i386 (1.1~exp1) ...
Processing triggers for libc-bin (2.19-11) ...
(Reading database ... 114958 files and directories currently installed.)
Removing libapt-pkg4.13:i386 (1.1~exp3) ...
Purging configuration files for libapt-pkg4.13:i386 (1.1~exp3) ...
Processing triggers for libc-bin (2.19-11) ...
Current status: 3891 new [-1].
# aptitude search ~c
c libapt-inst1.5 - deb package format runtime library
And reportbug --template aptitude has this
Hi Dan, 積丹尼 Dan Jacobson wrote: But you don't list _what_ you are missing, just what you got -- which looks quite a lot to me, hence it's not obvious what you miss. Regards, Axel
E.g., in my bug example there was a something probably affected by one of them, but I had to remember to append them by hand to the bug report!
Hi, 2014-10-14 04:14 積丹尼 Dan Jacobson: One of the problems to solve this is that reportbug should not be used as root, while aptitude's Aptitude:: config values often come from ~root/.aptitude/config, and sometimes people launch aptitude as regular user and then become root as part of running aptitude, or run through sudo, etc. So if the person uses reportbug as normal user, it cannot read the root's config, and if one uses root (which reportbug doesn't recomment) then it's not known which user's config should be appended as well. I don't know if the problem can be solvable in general. Unless we only capture the reporting user's config, I don't know if we can do much better. Cheers.
vital supplementary information.