Ubuntu 64bit failed to install with d-i : apt-get[26978] trap divide error ip:7fc64730d4ee sp:7fffa066b2a0 error:0 in libapt-pkg.so.4.11.0[7fc64729b000+114000]

Bug #823277 reported by Jean-Baptiste Lallement
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Critical
Michael Vogt
Oneiric
Fix Released
Critical
Michael Vogt

Bug Description

oneiric server|alternate amd64 20110809

d-i fails when proceeding with kernel installation.

Reproducible in a 64bit VM.

Last lines of the log:
Aug 9 08:30:35 in-target: Building dependency tree...
Aug 9 08:30:35 in-target: The following extra packages will be installed:
Aug 9 08:30:35 in-target: linux-firmware linux-image-3.0.0-8-server linux-image-server wireless-crda
Aug 9 08:30:35 in-target: Suggested packages:
Aug 9 08:30:35 in-target: fdutils linux-doc-3.0.0 linux-source-3.0.0 linux-tools
Aug 9 08:30:35 in-target: Recommended packages:
Aug 9 08:30:35 in-target: grub-pc grub-efi-amd64 grub lilo
Aug 9 08:30:35 in-target: The following NEW packages will be installed:
Aug 9 08:30:35 in-target: linux-firmware linux-image-3.0.0-8-server linux-image-server linux-server
Aug 9 08:30:35 in-target: wireless-crda
Aug 9 08:30:35 in-target: debconf (developer): <-- STOP
Aug 9 08:30:35 kernel: [ 99.410630] apt-get[26895] trap divide error ip:7f17692fe4ee sp:7fff1d540ce0 error:0 in libapt-pkg.so.4.11.0[7f176928c000+114000]
Aug 9 08:30:35 debconf: --> GET base-installer/kernel/headers
Aug 9 08:30:35 debconf: <-- 0 true
Aug 9 08:30:35 debconf: --> PROGRESS SET 131
Aug 9 08:30:35 debconf: <-- 0 OK
Aug 9 08:30:35 debconf: --> SUBST base-installer/section/install_kernel_package SUBST0 linux-headers-server
Aug 9 08:30:35 debconf: Adding [SUBST0] -> [linux-headers-server]
Aug 9 08:30:35 debconf: <-- 0
Aug 9 08:30:35 debconf: --> PROGRESS INFO base-installer/section/install_kernel_package
Aug 9 08:30:35 debconf: <-- 0 OK
Aug 9 08:30:35 debconf: --> GET base-installer/install-recommends
Aug 9 08:30:35 debconf: <-- 0 true
Aug 9 08:30:35 debconf: --> GET mirror/protocol
Aug 9 08:30:35 debconf: <-- 0 http
Aug 9 08:30:35 debconf: --> GET mirror/http/proxy
Aug 9 08:30:35 debconf: <-- 0 http://192.168.123.1:3142
Aug 9 08:30:35 debconf: --> GET debconf/priority
Aug 9 08:30:35 debconf: <-- 0 critical
Aug 9 08:30:35 debconf: --> GET debian-installer/locale
Aug 9 08:30:35 debconf: <-- 0 en_CA.UTF-8
Aug 9 08:30:35 in-target: debconf (developer): frontend started
Aug 9 08:30:35 in-target: debconf (developer): Trying to find a templates file..
Aug 9 08:30:35 in-target: debconf (developer): Trying /usr/bin/debconf-apt-progress.templates
Aug 9 08:30:35 in-target: debconf (developer): Trying /usr/share/debconf/templates/debconf-apt-progress.templates
Aug 9 08:30:35 in-target: debconf (developer): Couldn't find a templates file.
Aug 9 08:30:35 in-target: debconf (developer): frontend running, package name is
Aug 9 08:30:35 in-target: debconf (developer): starting /usr/bin/debconf-apt-progress --no-progress --logstderr -- apt-get -q -y --no-remove install linux-headers-server
Aug 9 08:30:35 in-target: debconf (developer): <-- GET debconf/priority
Aug 9 08:30:35 in-target: debconf (developer): --> 0 high
Aug 9 08:30:35 in-target: Reading package lists...
Aug 9 08:30:35 in-target:
Aug 9 08:30:35 in-target: Building dependency tree...
Aug 9 08:30:35 in-target: The following extra packages will be installed:
Aug 9 08:30:35 in-target: linux-headers-3.0.0-8 linux-headers-3.0.0-8-server
Aug 9 08:30:35 in-target: The following NEW packages will be installed:
Aug 9 08:30:35 in-target: linux-headers-3.0.0-8 linux-headers-3.0.0-8-server linux-headers-server
Aug 9 08:30:35 in-target: debconf (developer): <-- STOP
Aug 9 08:30:35 kernel: [ 99.672103] apt-get[26978] trap divide error ip:7fc64730d4ee sp:7fffa066b2a0 error:0 in libapt-pkg.so.4.11.0[7fc64729b000+114000]
Aug 9 08:30:35 debconf: --> GET base-installer/kernel/backports-modules
Aug 9 08:30:35 debconf: <-- 0
Aug 9 08:30:35 debconf: --> PROGRESS SET 133
Aug 9 08:30:35 debconf: <-- 0 OK
Aug 9 08:30:35 debconf: --> SUBST base-installer/kernel/failed-install KERNEL linux-server
Aug 9 08:30:35 debconf: Adding [KERNEL] -> [linux-server]
Aug 9 08:30:35 debconf: <-- 0
Aug 9 08:30:35 base-installer: error: exiting on error base-installer/kernel/failed-install
Aug 9 08:30:35 debconf: --> PROGRESS stop
Aug 9 08:30:35 debconf: <-- 0 OK
Aug 9 08:30:35 debconf: --> INPUT critical base-installer/kernel/failed-install
Aug 9 08:30:35 debconf: <-- 0 question will be asked
Aug 9 08:30:35 debconf: --> GO

Full log attached

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apt 0.8.15.5ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
Uname: Linux 3.0.0-7-generic i686
Architecture: i386
Date: Tue Aug 9 14:49:44 2011
EcryptfsInUse: Yes
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: Upgraded to oneiric on 2011-07-12 (28 days ago)

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in apt (Ubuntu):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
importance: Undecided → Critical
status: New → Confirmed
Colin Watson (cjwatson)
Changed in apt (Ubuntu Oneiric):
assignee: Canonical Foundations Team (canonical-foundations) → Michael Vogt (mvo)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

apt-get only crashes when called as a debconf-apt-progress argument
/usr/bin/debconf-apt-progress --no-progress --logstderr -- apt-get -q -y --no-remove install linux-server

It doesn't if called directly.

Michael Vogt (mvo)
Changed in apt (Ubuntu Oneiric):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt - 0.8.16~exp5ubuntu3

---------------
apt (0.8.16~exp5ubuntu3) oneiric; urgency=low

  * apt-pkg/acquire.cc:
    - fix potential divide-by-zero (LP: #823277)
 -- Michael Vogt <email address hidden> Tue, 09 Aug 2011 15:56:44 +0200

Changed in apt (Ubuntu Oneiric):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.