View Single Post
kinchan's Avatar
Posts: 27 | Thanked: 57 times | Joined on May 2012 @ France
#38
ok. after many try, on three different OS, with differents options, i have got the same issue at the same point. all go fine until this :

+ cat
+ mount -t proc /proc /mnt/proc
+ mount -o bind /dev /mnt/dev
+ mount -o bind /dev/pts /mnt/dev/pts
+ mount -o bind /sys /mnt/sys
+ cp /usr/bin/qemu-arm-static /mnt/usr/bin/
+ cp options/target_partition_suffix_root /mnt/tmp/
+ cp install-chroot-part.sh /mnt/tmp/
+ chmod +x /mnt/tmp/install-chroot-part.sh
+ cp options/additional_packages options/boot_parameters options/dist_upgrade options/fdisk_command_stack.file options/nemo_packages options/selected_firmware_source options/selected_image_source options/selected_kernel options/selected_target options/selected_target_type options/target_partition_suffix_root /mnt/tmp
+ [[ nemo != \n\e\m\o ]]
+ sed -i 's/^# \(deb.*universe\)/\1/g' /mnt/etc/apt/sources.list
+ sed -i 's/^# \(deb.*multiverse\)/\1/g' /mnt/etc/apt/sources.list
+ chroot /mnt/ /tmp/install-chroot-part.sh
Generating locales...
en_US.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "fr_FR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Ign http://ports.ubuntu.com quantal InRelease
Ign http://ports.ubuntu.com quantal-updates InRelease
Ign http://ports.ubuntu.com quantal-security InRelease
Get:1 http://ports.ubuntu.com quantal Release.gpg [933 B]
Get:2 http://ports.ubuntu.com quantal-updates Release.gpg [198 B]
Get:3 http://ports.ubuntu.com quantal-security Release.gpg [198 B]
Get:4 http://ports.ubuntu.com quantal Release [49.6 kB]
Get:5 http://ports.ubuntu.com quantal-updates Release [49.6 kB]
Get:6 http://ports.ubuntu.com quantal-security Release [49.6 kB]
Get:7 http://ports.ubuntu.com quantal/main Sources [869 kB]
Get:8 http://ports.ubuntu.com quantal/restricted Sources [5,617 B]
Get:9 http://ports.ubuntu.com quantal/universe Sources [5,544 kB]
Get:10 http://ports.ubuntu.com quantal/main armhf Packages [1,117 kB]
Get:11 http://ports.ubuntu.com quantal/restricted armhf Packages [1,131 B]
Get:12 http://ports.ubuntu.com quantal/universe armhf Packages [5,187 kB]
Get:13 http://ports.ubuntu.com quantal/main Translation-en [659 kB]
Get:14 http://ports.ubuntu.com quantal/restricted Translation-en [2,568 B]
Get:15 http://ports.ubuntu.com quantal/universe Translation-en [3,667 kB]
Get:16 http://ports.ubuntu.com quantal-updates/main Sources [14 B]
Get:17 http://ports.ubuntu.com quantal-updates/restricted Sources [14 B]
Get:18 http://ports.ubuntu.com quantal-updates/universe Sources [14 B]
Get:19 http://ports.ubuntu.com quantal-updates/main armhf Packages [14 B]
Get:20 http://ports.ubuntu.com quantal-updates/restricted armhf Packages [14 B]
Get:21 http://ports.ubuntu.com quantal-updates/universe armhf Packages [14 B]
Get:22 http://ports.ubuntu.com quantal-updates/main Translation-en [14 B]
Get:23 http://ports.ubuntu.com quantal-updates/restricted Translation-en [14 B]
Get:24 http://ports.ubuntu.com quantal-updates/universe Translation-en [14 B]
Get:25 http://ports.ubuntu.com quantal-security/main Sources [14 B]
Get:26 http://ports.ubuntu.com quantal-security/restricted Sources [14 B]
Get:27 http://ports.ubuntu.com quantal-security/universe Sources [14 B]
Get:28 http://ports.ubuntu.com quantal-security/multiverse Sources [14 B]
Get:29 http://ports.ubuntu.com quantal-security/main armhf Packages [14 B]
Get:30 http://ports.ubuntu.com quantal-security/restricted armhf Packages [14 B]
Get:31 http://ports.ubuntu.com quantal-security/universe armhf Packages [14 B]
Get:32 http://ports.ubuntu.com quantal-security/multiverse armhf Packages [14 B]
Get:33 http://ports.ubuntu.com quantal-security/main Translation-en [14 B]
Get:34 http://ports.ubuntu.com quantal-security/multiverse Translation-en [14 B]
Get:35 http://ports.ubuntu.com quantal-security/restricted Translation-en [14 B]
Get:36 http://ports.ubuntu.com quantal-security/universe Translation-en [14 B]
Ign http://ports.ubuntu.com quantal/main Translation-en_US
Ign http://ports.ubuntu.com quantal/main Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal/restricted Translation-en_US
Ign http://ports.ubuntu.com quantal/restricted Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal/universe Translation-en_US
Ign http://ports.ubuntu.com quantal/universe Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-updates/main Translation-en_US
Ign http://ports.ubuntu.com quantal-updates/main Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://ports.ubuntu.com quantal-updates/restricted Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://ports.ubuntu.com quantal-updates/universe Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-security/main Translation-en_US
Ign http://ports.ubuntu.com quantal-security/main Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-security/multiverse Translation-en_US
Ign http://ports.ubuntu.com quantal-security/multiverse Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-security/restricted Translation-en_US
Ign http://ports.ubuntu.com quantal-security/restricted Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-security/universe Translation-en_US
Ign http://ports.ubuntu.com quantal-security/universe Translation-en_US.UTF-8
Fetched 17.2 MB in 57s (299 kB/s)
Reading package lists... Error!
E: Problem syncing the file - sync (5: Input/output error)
E: Problem syncing the file - sync (5: Input/output error)
E: The package lists or status file could not be parsed or opened.
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libapt-inst1.5
Suggested packages:
xz-utils
The following NEW packages will be installed:
apt-utils dialog libapt-inst1.5
0 upgraded, 3 newly installed, 0 to remove and 42 not upgraded.
Need to get 491 kB of archives.
After this operation, 2,303 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports/ quantal/main libapt-inst1.5 armhf 0.9.7.5ubuntu2 [72.4 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ quantal/main apt-utils armhf 0.9.7.5ubuntu2 [170 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ quantal/universe dialog armhf 1.1-20120215-2 [249 kB]
Fetched 491 kB in 1s (377 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libapt-inst1.5:armhf.
(Reading database ... 7504 files and directories currently installed.)
Unpacking libapt-inst1.5:armhf (from .../libapt-inst1.5_0.9.7.5ubuntu2_armhf.deb) ...
Selecting previously unselected package apt-utils.
Unpacking apt-utils (from .../apt-utils_0.9.7.5ubuntu2_armhf.deb) ...
dpkg: unrecoverable fatal error, aborting:
unable to fsync updated status of `apt-utils': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
/tmp/install-chroot-part.sh: line 24: /tmp/selected_locale: Read-only file system
/bin/cat: /tmp/selected_locale: No such file or directory
/tmp/install-chroot-part.sh: line 27: /etc/default/locale: Read-only file system
/tmp/install-chroot-part.sh: line 28: /etc/environment: Read-only file system
/tmp/install-chroot-part.sh: line 29: /etc/locale.gen: Read-only file system
Generating locales...
en_US.UTF-8... cannot open locale archive "/usr/lib/locale/locale-archive": Read-only file system
failed
Generation complete.
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.


Something went wrong while installing acpid, see the errors above, ensure that dpkg isn't broken with commands 'apt-get install -f' and 'dpkg --configure -a' and type exit or Ctrl+D to continue. If some package doesn't install, just 'apt-get purge' it.
every package have the same issue and end with this :

/bin/sed: can't read debian/control: No such file or directory
dpkg: error: unable to access dpkg status area: Read-only file system


Something went wrong while installing *.deb, see the errors above, ensure that dpkg isn't broken with commands 'apt-get install -f' and 'dpkg --configure -a' and type exit or Ctrl+D to continue.
root@kinchan-G60JX:/tmp# exit
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
/tmp/install-chroot-part.sh: line 64: dialog: command not found
/tmp/install-chroot-part.sh: line 85: mkimage: command not found
/tmp/install-chroot-part.sh: line 86: mkimage: command not found
/bin/cp: cannot stat `/boot/uImage': No such file or directory
/tmp/install-chroot-part.sh: line 95: /boot/boot.script: Read-only file system
/tmp/install-chroot-part.sh: line 101: mkimage: command not found
/tmp/install-chroot-part.sh: line 103: /ubuntu.item: Read-only file system
/uImage or /boot.scr missing, dropping to a chroot bash. The script will continue after you exit bash.
of course, all necessary software are installed, i actually run the script on ubuntu 12.04 64bits, already try on 12.04 32bits, 10.04 32 bits and debian on two differents computers.

whatever the install options it doesn't make any difference. i'm tired of searching internet, where is my mistake???
 

The Following User Says Thank You to kinchan For This Useful Post: