Martin, I'm re-opening this bug after having it occur in a jaunty ->
karmic upgrade, as reported in duplicate bug 402115. How this occurred
for me is, if during the early stages of an upgrade when it attempts to
update the apt cache after rewriting /etc/apt/sources.list, if the apt
cache update fails for some reason, the upgrader leaves behind log files
in /var/log/dist-upgrade/YYYYMMDD-HHMM/ and then quits. On a
*subsequent* upgrade, if during a package maintainer script there is a
failure, /usr/share/apport/package_hook gets invoked with /var/log/dist-
upgrade/ as a logdir argument. /usr/share/apport/package_hook attempts
to attach everything in this directory as files, which doesn't work so
well on subdirectories.


** Changed in: apport (Ubuntu)
       Status: Invalid => Triaged

** Changed in: apport (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

-- 
package_hook crashed with IOError in write()
https://bugs.launchpad.net/bugs/332350
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to