El 01/06/11 11:30, Quiliro Ordóñez escribió:
I have followed the steps in http://trisquel.info/en/wiki/customizing-trisquel-iso . I have updated successfully all packages except the kernel. When I try to update the kernel I get this error:

root@cao-estacion:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  trisquel-base trisquel-base-recommended
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "es_EC:es_ES:C:en",
    LC_ALL = (unset),
    LANG = "es_EC.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up linux-image-2.6.35-28-generic (2.6.35-28.50trisquel2) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "es_EC:es_ES:C:en",
    LC_ALL = (unset),
    LANG = "es_EC.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I solved the problem with the localesby the following procedure:

export LANGUAGE=es_EC.UTF-8
export LANG=es_EC.UTF-8
locale-gen es_EC.UTF-8
dpkg-reconfigure locales

but the problem with grub and /dev when installing linux-image-2.6.35-28-generic persists:
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.35-28-generic /boot/vmlinuz-2.6.35-28-generic /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.35-28-generic.postinst line 1010.
dpkg: error processing linux-image-2.6.35-28-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-2.6.35-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@cao-estacion:/#

How can I have a customized iso with the newest version of the kernel?

--
Quiliro Ordóñez
08 836 2718
02 340 1517

Reply via email to