Re: Is the "Debian IA32 chroot system" installation currently broken ?
Lennart Sorensen a écrit :
On Fri, Sep 02, 2005 at 08:32:24AM +0200, Yannick - Debian/Linux wrote:
I got this error trying apt-get install openoffice.org :
The following extra packages will be installed:
libc6
Suggested packages:
locales glibc-doc
The following NEW packages will be installed:
libc6
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/4899kB of archives.
After unpacking 15.9MB 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 = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
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
E: Cannot get debconf version. Is debconf installed?
(Reading database ... 249 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.3.2.ds1-22_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing
/var/cache/apt/archives/libc6_2.3.2.ds1-22_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.2.ds1-22_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Did you configure and generate locales in the chroot using
dpkg-reconfigure locales ?
Make sure you do and that what you pick matches what you picked outside
the chroot.
Len Sorensen
package "locales" is *not* installed.
# apt-get install locales
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
debconf debconf-i18n libc6 libdb1-compat liblocale-gettext-perl
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl
perl-base
Suggested packages:
debconf-doc debconf-utils whiptail dialog gnome-utils
libterm-readline-gnu-perl libgnome2-perl libqt-perl
libnet-ldap-perl glibc-doc
Recommended packages:
apt-utils
The following NEW packages will be installed:
debconf debconf-i18n libc6 libdb1-compat liblocale-gettext-perl
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl
locales perl-base
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/9912kB of archives.
After unpacking 31.0MB 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 = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
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
E: Cannot get debconf version. Is debconf installed?
Selecting previously deselected package libdb1-compat.
(Reading database ... 243 files and directories currently installed.)
Unpacking libdb1-compat (from .../libdb1-compat_2.1.3-7_i386.deb) ...
Unpacking libc6 (from .../libc6_2.3.2.ds1-22_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing
/var/cache/apt/archives/libc6_2.3.2.ds1-22_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.2.ds1-22_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Well, as "E: Cannot get debconf version. Is debconf installed?",
i tried this :
# apt-get install debconf
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
debconf: Depends: debconf-i18n but it is not going to be installedor
debconf-english but it is not going to be installed
PreDepends: perl-base (>= 5.6.1-4) but it is not going tobe
installed
libdb1-compat: Depends: libc6 (>= 2.2.5-13) but it is not going tobe
installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages
(orspecify a solution).
# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
Suggested packages:
locales glibc-doc
The following NEW packages will be installed:
libc6
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/4899kB of archives.
After unpacking 15.9MB 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 = "fr_FR:fr:en_GB:en",
LC_ALL = (unset),
LANG = "fr_FR@euro"
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
E: Cannot get debconf version. Is debconf installed?
(Reading database ... 249 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.3.2.ds1-22_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing
/var/cache/apt/archives/libc6_2.3.2.ds1-22_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.2.ds1-22_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Back to same problem... I'm lost !
SUMMARY :
locales depends libc6 and debconf
debconf depends libc6
libc6 DEPENDS debconf because lack of right locales apt-get said !!
Thank you for paying attention to my problem,
Yannick
Reply to: