[Feisty]apport-retrace fails to retrace bugs.

Bug #89916 reported by John Vivirito on 2007-03-05
2
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/apt/archives/lock (while trying to download -dbgsym packages)
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 :

Here is the log file.

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

Martin Pitt (pitti) wrote :

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 :

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 :

While running as root i had it crash on me while setting up the packages. Here is the report attached.

John Vivirito (gnomefreak) wrote :
Martin Pitt (pitti) wrote :

Hm, I cannot reproduce the installation error. Does it happen with the option '-u', too?

Martin Pitt (pitti) wrote :

'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/local/setup-apport-retracer: Script to install local versions
     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_interpreted(): When calling an interpreter with a
     script name as argument, set ExecutablePath to the script instead of the
     interpreter. Add test case. (LP: #88794)
   * apport/report.py, search_bug_patterns(): Catch all exceptions from
     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/fileutils.py, get_all_{system_,}reports(): Fix file access race
     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-retrace.1. (LP: #90077)
   * 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 :

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)gnomefreak@FeistyFawn:~$ sudo apport-retrace -s -v -u 86637 2>&1 | tee retrace.log

Martin Pitt (pitti) on 2007-03-12
Changed in apport:
status: Needs Info → Unconfirmed
Martin Pitt (pitti) wrote :

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 :

i will try as soon as possible and let you know.

John Vivirito (gnomefreak) wrote :

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.

Martin Pitt (pitti) on 2007-03-23
Changed in apport:
status: Needs Info → Unconfirmed
John Vivirito (gnomefreak) wrote :

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers