2012-05-21 21:44:55 |
Brian Murray |
bug |
|
|
added bug |
2012-05-21 21:45:45 |
Brian Murray |
nominated for series |
|
Ubuntu Precise |
|
2012-05-21 21:45:45 |
Brian Murray |
bug task added |
|
apport (Ubuntu Precise) |
|
2012-05-21 21:45:56 |
Brian Murray |
apport (Ubuntu Precise): status |
New |
Triaged |
|
2012-05-21 21:46:00 |
Brian Murray |
apport (Ubuntu Precise): importance |
Undecided |
Medium |
|
2012-05-21 21:46:03 |
Brian Murray |
apport (Ubuntu Precise): assignee |
|
Brian Murray (brian-murray) |
|
2012-05-21 21:46:08 |
Brian Murray |
apport (Ubuntu): status |
New |
Fix Released |
|
2012-05-21 21:46:12 |
Brian Murray |
apport (Ubuntu): importance |
Undecided |
Medium |
|
2012-05-21 21:46:16 |
Brian Murray |
apport (Ubuntu): assignee |
|
Brian Murray (brian-murray) |
|
2012-05-31 03:38:09 |
Martin Pitt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-05-31 03:38:28 |
Martin Pitt |
apport (Ubuntu Precise): status |
Triaged |
Fix Committed |
|
2012-06-01 04:17:48 |
Martin Pitt |
description |
In bug 1001715 we can see a package installation failure with the message:
dpkg-deb: error: `/var/cache/apt/archives/openjdk-7-jre-lib_7~u3-2.1.1~pre1-1ubuntu2_all.deb' is not a debian format archive
These should not be reportable as they are indicative a corrupt or faulty package. I've committed a fix for this to apport for Quantal:
http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/quantal/apport/ubuntu/revision/1961
However, only 24 of these have been reported so far:
https://bugs.launchpad.net/ubuntu/?field.searchtext=&orderby=-importance&search=Search&field.status%3Alist=NEW&field.status%3Alist=INVALID&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&assignee_option=any&field.assignee=&field.bug_reporter=&field.bug_commenter=&field.subscriber=&field.structural_subscriber=&field.component-empty-marker=1&field.tag=not-debian-format&field.tags_combinator=ANY&field.status_upstream-empty-marker=1&field.has_cve.used=&field.omit_dupes.used=&field.omit_dupes=on&field.affects_me.used=&field.has_no_package.used=&field.has_patch.used=&field.has_branches.used=&field.has_branches=on&field.has_no_branches.used=&field.has_no_branches=on&field.has_blueprints.used=&field.has_blueprints=on&field.has_no_blueprints.used=&field.has_no_blueprints=on
so an SRU may not be worth the work. In the event the we decide it is Steve Langasek came up with the following for recreating the error with a good package:
#!/bin/sh
set -e
for i in "$@"
do
case $i in
/var/cache/apt/archives/*.deb)
cp /bin/bash $i
;;
esac
done
exec /usr/bin/dpkg.real "$@" |
In bug 1001715 we can see a package installation failure with the message:
dpkg-deb: error: `/var/cache/apt/archives/openjdk-7-jre-lib_7~u3-2.1.1~pre1-1ubuntu2_all.deb' is not a debian format archive
These should not be reportable as they are indicative a corrupt or faulty package. I've committed a fix for this to apport for Quantal:
http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/quantal/apport/ubuntu/revision/1961
However, only 24 of these have been reported so far:
https://bugs.launchpad.net/ubuntu/?field.searchtext=&orderby=-importance&search=Search&field.status%3Alist=NEW&field.status%3Alist=INVALID&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&assignee_option=any&field.assignee=&field.bug_reporter=&field.bug_commenter=&field.subscriber=&field.structural_subscriber=&field.component-empty-marker=1&field.tag=not-debian-format&field.tags_combinator=ANY&field.status_upstream-empty-marker=1&field.has_cve.used=&field.omit_dupes.used=&field.omit_dupes=on&field.affects_me.used=&field.has_no_package.used=&field.has_patch.used=&field.has_branches.used=&field.has_branches=on&field.has_no_branches.used=&field.has_no_branches=on&field.has_blueprints.used=&field.has_blueprints=on&field.has_no_blueprints.used=&field.has_no_blueprints=on
so an SRU may not be worth the work. In the event the we decide it is Steve Langasek came up with the following for recreating the error with a good package:
#!/bin/sh
set -e
for i in "$@"
do
case $i in
/var/cache/apt/archives/*.deb)
cp /bin/bash $i
;;
esac
done
exec /usr/bin/dpkg.real "$@"
SRU REGRESSION POTENTIAL: Very low, the new condition is very specific on the error message in dpkg.log. It could potentially prevent real bugs from being reported if a package file "a.deb" is damaged, but you are trying to install a package "b.deb" in the same run which fails for some other reason. That seems to be a corner case, though, and on a system which managed to corrupt .deb files we do not have a lot of faith in any more anyway.
SRU TEST CASE:
- Move dpkg aside: sudo mv /usr/bin/dpkg{,.real}
- Replace /usr/bin/dpkg with the wrapper from above, and make it executable
- Try to install a package, e. g. "sudo apt-get install pmount"
- Confirm that it fails with "is not a debian format archive"
- Apport should pop up; try to report the bug
- It will succeed in the precise version, but will abort with "cannot be reported" with this fix. |
|
2012-06-01 04:18:22 |
Martin Pitt |
description |
In bug 1001715 we can see a package installation failure with the message:
dpkg-deb: error: `/var/cache/apt/archives/openjdk-7-jre-lib_7~u3-2.1.1~pre1-1ubuntu2_all.deb' is not a debian format archive
These should not be reportable as they are indicative a corrupt or faulty package. I've committed a fix for this to apport for Quantal:
http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/quantal/apport/ubuntu/revision/1961
However, only 24 of these have been reported so far:
https://bugs.launchpad.net/ubuntu/?field.searchtext=&orderby=-importance&search=Search&field.status%3Alist=NEW&field.status%3Alist=INVALID&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&assignee_option=any&field.assignee=&field.bug_reporter=&field.bug_commenter=&field.subscriber=&field.structural_subscriber=&field.component-empty-marker=1&field.tag=not-debian-format&field.tags_combinator=ANY&field.status_upstream-empty-marker=1&field.has_cve.used=&field.omit_dupes.used=&field.omit_dupes=on&field.affects_me.used=&field.has_no_package.used=&field.has_patch.used=&field.has_branches.used=&field.has_branches=on&field.has_no_branches.used=&field.has_no_branches=on&field.has_blueprints.used=&field.has_blueprints=on&field.has_no_blueprints.used=&field.has_no_blueprints=on
so an SRU may not be worth the work. In the event the we decide it is Steve Langasek came up with the following for recreating the error with a good package:
#!/bin/sh
set -e
for i in "$@"
do
case $i in
/var/cache/apt/archives/*.deb)
cp /bin/bash $i
;;
esac
done
exec /usr/bin/dpkg.real "$@"
SRU REGRESSION POTENTIAL: Very low, the new condition is very specific on the error message in dpkg.log. It could potentially prevent real bugs from being reported if a package file "a.deb" is damaged, but you are trying to install a package "b.deb" in the same run which fails for some other reason. That seems to be a corner case, though, and on a system which managed to corrupt .deb files we do not have a lot of faith in any more anyway.
SRU TEST CASE:
- Move dpkg aside: sudo mv /usr/bin/dpkg{,.real}
- Replace /usr/bin/dpkg with the wrapper from above, and make it executable
- Try to install a package, e. g. "sudo apt-get install pmount"
- Confirm that it fails with "is not a debian format archive"
- Apport should pop up; try to report the bug
- It will succeed in the precise version, but will abort with "cannot be reported" with this fix. |
In bug 1001715 we can see a package installation failure with the message:
dpkg-deb: error: `/var/cache/apt/archives/openjdk-7-jre-lib_7~u3-2.1.1~pre1-1ubuntu2_all.deb' is not a debian format archive
These should not be reportable as they are indicative a corrupt or faulty package. I've committed a fix for this to apport for Quantal:
http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/quantal/apport/ubuntu/revision/1961
However, only 24 of these have been reported so far:
https://bugs.launchpad.net/ubuntu/?field.searchtext=&orderby=-importance&search=Search&field.status%3Alist=NEW&field.status%3Alist=INVALID&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&assignee_option=any&field.assignee=&field.bug_reporter=&field.bug_commenter=&field.subscriber=&field.structural_subscriber=&field.component-empty-marker=1&field.tag=not-debian-format&field.tags_combinator=ANY&field.status_upstream-empty-marker=1&field.has_cve.used=&field.omit_dupes.used=&field.omit_dupes=on&field.affects_me.used=&field.has_no_package.used=&field.has_patch.used=&field.has_branches.used=&field.has_branches=on&field.has_no_branches.used=&field.has_no_branches=on&field.has_blueprints.used=&field.has_blueprints=on&field.has_no_blueprints.used=&field.has_no_blueprints=on
so an SRU may not be worth the work. In the event the we decide it is Steve Langasek came up with the following for recreating the error with a good package:
#!/bin/sh
set -e
for i in "$@"
do
case $i in
/var/cache/apt/archives/*.deb)
cp /bin/bash $i
;;
esac
done
exec /usr/bin/dpkg.real "$@"
SRU REGRESSION POTENTIAL: Very low, the new condition is very specific on the error message in dpkg.log. It could potentially prevent real bugs from being reported if a package file "a.deb" is damaged, but you are trying to install a package "b.deb" in the same run which fails for some other reason. That seems to be a corner case, though, and on a system which managed to corrupt .deb files we do not have a lot of faith in any more anyway.
SRU TEST CASE:
- Move dpkg aside: sudo mv /usr/bin/dpkg{,.real}
- Replace /usr/bin/dpkg with the wrapper from above, and make it executable
- Try to install a package, e. g. "sudo apt-get install pmount"
- Confirm that it fails with "is not a debian format archive"
- Apport should pop up; try to report the bug
- It will succeed in the precise version, but will abort with "cannot be reported" with this fix.
- After that, don't forget to restore dpkg: sudo mv /usr/bin/dpkg{.real,} |
|
2012-06-04 23:12:23 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2012-06-04 23:12:25 |
Brian Murray |
tags |
|
verification-needed |
|
2012-07-06 05:26:21 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/apport |
|
2012-07-10 20:22:20 |
Brian Murray |
tags |
verification-needed |
verification-failed |
|
2012-07-10 22:48:22 |
Brian Murray |
tags |
verification-failed |
verification-done |
|
2012-07-17 22:47:11 |
Launchpad Janitor |
apport (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|