Error processing base-files,base-passwd (memory exhausted)

Bug #954387 reported by Yaman Battikhi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

This installer fails when try to start the install base files. I have seen similar bug but different reasons

https://bugs.launchpad.net/ubuntu/maverick/+source/grub-installer/+bug/695842

Here the error msg:

Mar 2 12:33:02 debootstrap: (Reading database ... 0 files and directories currently installed.)
Mar 2 12:33:02 debootstrap: Unpacking base-files (from .../base-files_5.0.0ubuntu20_i386.deb) ...
Mar 2 12:33:02 debootstrap: dpkg: regarding .../base-files_5.0.0ubuntu20_i386.deb containing base-files, pre-dependency problem:
Mar 2 12:33:02 debootstrap: base-files pre-depends on awk
Mar 2 12:33:02 debootstrap: awk is not installed.
Mar 2 12:33:02 debootstrap: dpkg: warning: ignoring pre-dependency problem!
Mar 2 12:33:04 debootstrap: Selecting previously deselected package base-passwd.
Mar 2 12:33:04 debootstrap: Unpacking base-passwd (from .../base-passwd_3.5.22_i386.deb) ...
Mar 2 12:33:04 debootstrap: Setting up base-passwd (3.5.22) ...
Mar 2 12:33:04 debootstrap: dpkg: base-passwd: dependency problems, but configuring anyway as you requested:
Mar 2 12:33:04 debootstrap: base-passwd depends on libc6 (>= 2.8); however:
Mar 2 12:33:04 debootstrap: Package libc6 is not installed.
Mar 2 12:33:05 debootstrap: cp:
Mar 2 12:33:05 debootstrap: memory exhausted
Mar 2 12:33:05 debootstrap:
Mar 2 12:33:05 debootstrap: Setting up base-files (5.0.0ubuntu20) ...
Mar 2 12:33:05 debootstrap: dpkg: error processing base-passwd (--install):
Mar 2 12:33:05 debootstrap: subprocess installed post-installation script returned error exit status 1
Mar 2 12:33:05 debootstrap: dpkg: base-files: dependency problems, but configuring anyway as you requested:
Mar 2 12:33:05 debootstrap: base-files depends on awk; however:
Mar 2 12:33:05 debootstrap: Package awk is not installed.
Mar 2 12:33:05 debootstrap: base-files depends on base-passwd (>= 2.0.3.4); however:
Mar 2 12:33:05 debootstrap: Package base-passwd is not configured yet.
Mar 2 12:33:05 debootstrap: base-files depends on libpam-modules (>= 0.79-3ubuntu3); however:
Mar 2 12:33:05 debootstrap: Package libpam-modules is not installed.
Mar 2 12:33:05 debootstrap: cp:
Mar 2 12:33:05 debootstrap: memory exhausted
Mar 2 12:33:05 debootstrap:
Mar 2 12:33:05 debootstrap: dpkg: error processing base-files (--install):
Mar 2 12:33:05 debootstrap: subprocess installed post-installation script returned error exit status 1
Mar 2 12:33:05 debootstrap: Errors were encountered while processing:
Mar 2 12:33:05 debootstrap: base-passwd
Mar 2 12:33:05 debootstrap: base-files
Mar 2 12:36:53 init: starting pid 317, tty '/dev/tty3': '-/bin/sh'
Mar 2 12:39:27 base-installer: error: exiting on error base-installer/debootstrap-failed
Mar 2 12:39:28 main-menu[337]: WARNING **: Configuring 'bootstrap-base' failed with error code 1
Mar 2 12:39:28 main-menu[337]: WARNING **: Menu item 'bootstrap-base' failed.

Revision history for this message
Yaman Battikhi (yaman-bat) wrote :
Revision history for this message
Yaman Battikhi (yaman-bat) wrote :

Add another log with DEBCONF_DEBUG=developer option

Revision history for this message
Yaman Battikhi (yaman-bat) wrote :

After doing more debugging it turn out that chroot /target cp file1 file2 command fails to execute and report cp: memory exhausted

When running the copy command without using chroot it worked

I have tried this running the postinst script after i unpacked the base-file deb package, then I try to runt the command using tty2 terminal after the installation failed

Revision history for this message
Yaman Battikhi (yaman-bat) wrote :

it appear that /target/bin/cp file got corrupted during the installation process. I try to work around this by copying the /bin/cp to target/bin/cp using tty2 terminal during installation process. This cause the base-file and baise-password to install successfully, hoever the installation process failed again later in for the same reason after it progress to 46%!!

The installation image is clean as it did install successfully on other machines.

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.