[Feisty]apport-retrace fails to retrace bugs.
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | apport (Ubuntu) |
Low
|
Martin Pitt | ||
Bug Description
Binary package hint: apport-retrace
while running apport-retrace on Feisty bugs in a chroot or not i get following output when i run: apport-retrace -s -v bug# 2>&1 | tee retrace.log
WARNING: could not install missing packages: Failed to lock /var/cache/
AND
Backtrace stopped: frame did not save the PC (at the end)
apport-retrace:
Installed: 0.63
Candidate: 0.63
ProblemType: Bug
Architecture: i386
Date: Mon Mar 5 12:42:33 2007
DistroRelease: Ubuntu 7.04
Uname: Linux FeistyFawn 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux
| John Vivirito (gnomefreak) wrote : | #1 |
| Martin Pitt (pitti) wrote : | #2 |
You need to either install the missing packages manually (apport-retrace lists them) or run apport-retrace as root, or in a fakechroot with apport-chroot.
However, the error message could be cleaner, I'll beautify it a bit.
| Changed in apport: | |
| assignee: | nobody → pitti |
| importance: | Undecided → Low |
| status: | Unconfirmed → In Progress |
| John Vivirito (gnomefreak) wrote : | #3 |
Thank you i will try it as root. Will that also fix the Backtrace stopped: frame did not save the PC (at the end) error?
| John Vivirito (gnomefreak) wrote : | #4 |
While running as root i had it crash on me while setting up the packages. Here is the report attached.
| John Vivirito (gnomefreak) wrote : | #5 |
| Martin Pitt (pitti) wrote : | #6 |
Hm, I cannot reproduce the installation error. Does it happen with the option '-u', too?
| Martin Pitt (pitti) wrote : | #7 |
'Better error message' part:
apport (0.64) feisty; urgency=low
.
* bin/apport-chroot: Add 'login' command.
* bin/apport-chroot: Install apport-retrace into a newly created chroot.
* Add debian/
of apport, debootstrap, fake{,ch}root libraries, and a feisty apport
fakechroot. This works OOTB on ronne's amd64 and i386 feisty chroots. The
script is not shipped in any package yet, but it's convenient to ship it
in revision control and in the source.
* apport/report.py, _check_
script name as argument, set ExecutablePath to the script instead of the
interpreter. Add test case. (LP: #88794)
* apport/report.py, search_
urlopen(), not just IOError. Sometimes this fails with funnier errors.
(LP: #89589)
* bin/apport-retrace: Give some additional explanation when installing
packages fails. (LP: #89916)
* apport/
condition. (LP: #89977)
* bin/apport-retrace: Add option -p/--extra-package to install an additional
package for retracing. May be specified multiple times. Document new
option in man/apport-
* bin/apport-chroot: Add a similar option -p/--extra-package and install
those in the 'create' command and simply pass it to apport-retrace in the
'retrace' command. (LP: #90077)
* bin/apport-chroot: Add a -v/--verbose option.
* bin/apport-retrace: Do not complain about missing ddebs for Arch: all
packages.
Setting to needsinfo now for the installation error part.
| Changed in apport: | |
| status: | In Progress → Needs Info |
| John Vivirito (gnomefreak) wrote : | #8 |
ok with the -u flag i keep getting WARNING: could not install missing packages: dpkg failed to unpack archives
I will upload the log file
The command im using is
(Feisty)
| Changed in apport: | |
| status: | Needs Info → Unconfirmed |
| Martin Pitt (pitti) wrote : | #9 |
I have to admit I am clueless about this. It does not happen on my box nor the retracers in the chroot. Is this still an issue on current Feisty?
| Changed in apport: | |
| status: | Unconfirmed → Needs Info |
| John Vivirito (gnomefreak) wrote : | #10 |
i will try as soon as possible and let you know.
| John Vivirito (gnomefreak) wrote : | #11 |
Yes i am still seeing this problem in new apport in feisty. I will attach log file but not sure if it affected retrace or not it looks good but i will test on a few other bugs.
| Changed in apport: | |
| status: | Needs Info → Unconfirmed |
| John Vivirito (gnomefreak) wrote : | #12 |
no longer seeing this problem and Feisty is up for EOS in OCT. Martin if you feel this should stay open please feel free to open it back up.
| Changed in apport: | |
| status: | New → Invalid |


Here is the log file.
Also i was getting hte dpkg error and i removed the lock file and it still does it.