Activity log for bug #1353171

Date Who What changed Old value New value Message
2014-08-05 23:29:51 Anders Kaseorg bug added bug
2014-08-05 23:29:51 Anders Kaseorg attachment added apt-ProcessDpkgStatusLine-strip.patch https://bugs.launchpad.net/bugs/1353171/+attachment/4170721/+files/apt-ProcessDpkgStatusLine-strip.patch
2014-08-05 23:31:13 Anders Kaseorg description For a while apt has not been writing apport reports for dpkg maintainer script errors. Here’s why: • pkgDPkgPM::ProcessDpkgStatusLine sees a line like "status: cyrus-clients : error : subprocess installed post-installation script returned error exit status 1". • StringSplit splits it into list == {"status", "cyrus-clients ", "error : subprocess installed post-installation script returned error exit status 1"}. • pkgname is set to Strip(list[1]) == "cyrus-clients". • However, the original list[1] == "cyrus-clients " (with a trailing space) is passed to WriteApportReport. • WriteApport fails to find "cyrus-clients " in the cache, and bails out. Patch attached. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: libapt-pkg4.12 1.0.4ubuntu6 ProcVersionSignature: Ubuntu 3.16.0-6.11-generic 3.16.0-rc7 Uname: Linux 3.16.0-6-generic x86_64 NonfreeKernelModules: openafs ApportVersion: 2.14.5-0ubuntu3 Architecture: amd64 Date: Tue Aug 5 19:19:39 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2010-12-05 (1339 days ago) InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202) SourcePackage: apt UpgradeStatus: Upgraded to utopic on 2013-10-31 (278 days ago) For a while apt has not been writing apport reports for dpkg maintainer script errors. Here’s why: • pkgDPkgPM::ProcessDpkgStatusLine sees a line like "status: cyrus-clients : error : subprocess installed post-installation script returned error exit status 1". • StringSplit splits it into list == {"status", "cyrus-clients ", "error ", "subprocess installed post-installation script returned error exit status 1"}. • pkgname is set to Strip(list[1]) == "cyrus-clients". • However, the original list[1] == "cyrus-clients " (with a trailing space) is passed to WriteApportReport. • WriteApport fails to find "cyrus-clients " in the cache, and bails out. Patch attached. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: libapt-pkg4.12 1.0.4ubuntu6 ProcVersionSignature: Ubuntu 3.16.0-6.11-generic 3.16.0-rc7 Uname: Linux 3.16.0-6-generic x86_64 NonfreeKernelModules: openafs ApportVersion: 2.14.5-0ubuntu3 Architecture: amd64 Date: Tue Aug 5 19:19:39 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2010-12-05 (1339 days ago) InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202) SourcePackage: apt UpgradeStatus: Upgraded to utopic on 2013-10-31 (278 days ago)
2014-08-06 00:21:33 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2014-08-29 20:35:11 Brian Murray apt (Ubuntu): status New Triaged
2014-08-29 20:35:13 Brian Murray apt (Ubuntu): importance Undecided High
2014-08-29 20:35:20 Brian Murray nominated for series Ubuntu Trusty
2014-08-29 20:35:20 Brian Murray bug task added apt (Ubuntu Trusty)
2014-08-29 20:35:29 Brian Murray apt (Ubuntu Trusty): status New Triaged
2014-08-29 20:35:32 Brian Murray apt (Ubuntu Trusty): importance Undecided High
2014-08-29 22:36:00 Launchpad Janitor branch linked lp:ubuntu/apt
2014-08-29 23:11:14 Launchpad Janitor branch linked lp:ubuntu/utopic-proposed/apt
2014-08-29 23:39:31 Launchpad Janitor apt (Ubuntu): status Triaged Fix Released
2014-09-08 17:43:01 Brian Murray description For a while apt has not been writing apport reports for dpkg maintainer script errors. Here’s why: • pkgDPkgPM::ProcessDpkgStatusLine sees a line like "status: cyrus-clients : error : subprocess installed post-installation script returned error exit status 1". • StringSplit splits it into list == {"status", "cyrus-clients ", "error ", "subprocess installed post-installation script returned error exit status 1"}. • pkgname is set to Strip(list[1]) == "cyrus-clients". • However, the original list[1] == "cyrus-clients " (with a trailing space) is passed to WriteApportReport. • WriteApport fails to find "cyrus-clients " in the cache, and bails out. Patch attached. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: libapt-pkg4.12 1.0.4ubuntu6 ProcVersionSignature: Ubuntu 3.16.0-6.11-generic 3.16.0-rc7 Uname: Linux 3.16.0-6-generic x86_64 NonfreeKernelModules: openafs ApportVersion: 2.14.5-0ubuntu3 Architecture: amd64 Date: Tue Aug 5 19:19:39 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2010-12-05 (1339 days ago) InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202) SourcePackage: apt UpgradeStatus: Upgraded to utopic on 2013-10-31 (278 days ago) Test Case --------- 1) sudo apt-add-repository ppa:daisy-pluckers/daisy-seeds 2) sudo apt-get update 3) sudo apt-get install crash-in-postinst 4) observe a package installation failure dialog With the version of apt in the archive you will *not* receive a crash file in /var/crash. If you install the version of apt from -proposed you should receive a crash file in /var/crash and an apport dialog should appear. For a while apt has not been writing apport reports for dpkg maintainer script errors. Here’s why: • pkgDPkgPM::ProcessDpkgStatusLine sees a line like "status: cyrus-clients : error : subprocess installed post-installation script returned error exit status 1". • StringSplit splits it into list == {"status", "cyrus-clients ", "error ", "subprocess installed post-installation script returned error exit status 1"}. • pkgname is set to Strip(list[1]) == "cyrus-clients". • However, the original list[1] == "cyrus-clients " (with a trailing space) is passed to WriteApportReport. • WriteApport fails to find "cyrus-clients " in the cache, and bails out. Patch attached. ProblemType: BugDistroRelease: Ubuntu 14.10 Package: libapt-pkg4.12 1.0.4ubuntu6 ProcVersionSignature: Ubuntu 3.16.0-6.11-generic 3.16.0-rc7 Uname: Linux 3.16.0-6-generic x86_64 NonfreeKernelModules: openafs ApportVersion: 2.14.5-0ubuntu3 Architecture: amd64 Date: Tue Aug 5 19:19:39 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2010-12-05 (1339 days ago)InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)SourcePackage: apt UpgradeStatus: Upgraded to utopic on 2013-10-31 (278 days ago)
2014-09-08 17:52:07 Anders Kaseorg description Test Case --------- 1) sudo apt-add-repository ppa:daisy-pluckers/daisy-seeds 2) sudo apt-get update 3) sudo apt-get install crash-in-postinst 4) observe a package installation failure dialog With the version of apt in the archive you will *not* receive a crash file in /var/crash. If you install the version of apt from -proposed you should receive a crash file in /var/crash and an apport dialog should appear. For a while apt has not been writing apport reports for dpkg maintainer script errors. Here’s why: • pkgDPkgPM::ProcessDpkgStatusLine sees a line like "status: cyrus-clients : error : subprocess installed post-installation script returned error exit status 1". • StringSplit splits it into list == {"status", "cyrus-clients ", "error ", "subprocess installed post-installation script returned error exit status 1"}. • pkgname is set to Strip(list[1]) == "cyrus-clients". • However, the original list[1] == "cyrus-clients " (with a trailing space) is passed to WriteApportReport. • WriteApport fails to find "cyrus-clients " in the cache, and bails out. Patch attached. ProblemType: BugDistroRelease: Ubuntu 14.10 Package: libapt-pkg4.12 1.0.4ubuntu6 ProcVersionSignature: Ubuntu 3.16.0-6.11-generic 3.16.0-rc7 Uname: Linux 3.16.0-6-generic x86_64 NonfreeKernelModules: openafs ApportVersion: 2.14.5-0ubuntu3 Architecture: amd64 Date: Tue Aug 5 19:19:39 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2010-12-05 (1339 days ago)InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)SourcePackage: apt UpgradeStatus: Upgraded to utopic on 2013-10-31 (278 days ago) Test Case --------- 1) sudo apt-add-repository ppa:daisy-pluckers/daisy-seeds 2) sudo apt-get update 3) sudo apt-get install crash-in-postinst 4) observe a package installation failure dialog With the version of apt in the archive you will *not* receive a crash file in /var/crash. If you install the version of apt from -proposed you should receive a crash file in /var/crash and an apport dialog should appear. For a while apt has not been writing apport reports for dpkg maintainer script errors. Here’s why: • pkgDPkgPM::ProcessDpkgStatusLine sees a line like "status: cyrus-clients : error : subprocess installed post-installation script returned error exit status 1". • StringSplit splits it into list == {"status", "cyrus-clients ", "error ", "subprocess installed post-installation script returned error exit status 1"}. • pkgname is set to Strip(list[1]) == "cyrus-clients". • However, the original list[1] == "cyrus-clients " (with a trailing space) is passed to WriteApportReport. • WriteApport fails to find "cyrus-clients " in the cache, and bails out. Patch attached. ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: libapt-pkg4.12 1.0.4ubuntu6 ProcVersionSignature: Ubuntu 3.16.0-6.11-generic 3.16.0-rc7 Uname: Linux 3.16.0-6-generic x86_64 NonfreeKernelModules: openafs ApportVersion: 2.14.5-0ubuntu3 Architecture: amd64 Date: Tue Aug 5 19:19:39 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2010-12-05 (1339 days ago) InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202) SourcePackage: apt UpgradeStatus: Upgraded to utopic on 2013-10-31 (278 days ago)
2014-09-09 22:24:50 Launchpad Janitor branch linked lp:debian/apt
2014-10-28 20:53:54 Brian Murray apt (Ubuntu Trusty): status Triaged Fix Committed
2014-10-28 20:53:57 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2014-10-28 20:53:59 Brian Murray bug added subscriber SRU Verification
2014-10-28 20:54:08 Brian Murray tags amd64 apport-bug patch utopic amd64 apport-bug patch utopic verification-needed
2014-10-30 01:46:09 Launchpad Janitor branch linked lp:ubuntu/trusty-proposed/apt
2014-10-31 01:23:41 Mathew Hodson tags amd64 apport-bug patch utopic verification-needed amd64 apport-bug patch utopic verification-done
2014-11-06 21:52:55 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2014-11-06 21:53:12 Launchpad Janitor apt (Ubuntu Trusty): status Fix Committed Fix Released