Page 17 of 25 FirstFirst ... 71516171819 ... LastLast
Results 161 to 170 of 250

Thread: 32-Bit Chroot How-To

  1. #161
    Join Date
    Apr 2006
    Location
    Norway
    Beans
    26
    Distro
    Dapper Drake Testing/

    Re: 32-Bit Chroot How-To

    Error:
    Code:
    I have no name!@shapeir:/# dpkg-reconfigure locales
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
            LANGUAGE = "en_NO:en_US:en_GB:en",
            LC_ALL = (unset),
            LANG = "en_US.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
    Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/Config.pm line 16.
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 66.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 5.)
    debconf: falling back to frontend: Teletype
    dpkg-query: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory
    /usr/sbin/dpkg-reconfigure: locales is not installed
    I have no name!@shapeir:/#

    Could be this is just too much for me right now, but I gave it a try.
    It would be great if someone knew what this is, and I'd appreciate any help.
    But I'm willing to let it go for now anyway - do I have to uninstall this whole thing, or can I keep it here? And what steps do I have to take in order to uninstall it? Thank you.'

    Oh btw, I'm using Dapper Drake, is there an incompatibility issue, perhaps?
    Last edited by BjornHaland; April 9th, 2006 at 11:43 AM.
    "For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life. For God did not send his Son into the world to condemn the world, but to save the world through him."

  2. #162
    Join Date
    Mar 2006
    Beans
    7

    Re: 32-Bit Chroot How-To

    Ok, fixed the last error by changing it to Breezy, but now I'm getting
    W: Failure trying to run: chroot /chroot mount -t proc proc /proc
    after I run

    sudo debootstrap --arch i386 breezy /chroot/ http://archive.ubuntu.com/ubuntu

    This is with an Athlon X2.

  3. #163
    Join Date
    Oct 2004
    Beans
    Hidden!
    Distro
    Ubuntu Karmic Koala (testing)

    Re: 32-Bit Chroot How-To

    Ok script works and is fully tested. It makes chrooting trivial.
    http://www.ubuntuforums.org/showpost...20&postcount=1
    Last edited by BoyOfDestiny; April 12th, 2006 at 10:40 PM.
    The idea of copyright did not exist in ancient times, when authors frequently copied other authors at length in works of non-fiction. This practice was useful, and is the only way many authors' works have survived even in part. -- Richard Stallman

  4. #164
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: HOWTO: 32-Bit Chroot on 64-Bit Installs

    Thanks for making chrooting so straight forward. There was one problem I couldn't access my cd drive in the chroot. I think this is becouse when the cd drive is used it's mounted over the binding "/media/cdrom0 /chroot32/media/cdrom0 none bind 0 0" in fstab effectivly hiding this binding.
    I made the cd drive accessible in the chroot by mounting the cdrom drive on /chroot/media/cdrom0 (instead of /media/chdrom0) and then makeing /media/cdrom0 a symlink to /chroot/media/cdrom0.
    To do this remove or comment out the following line from fstab
    • /media/cdrom0 /chroot/media/cdrom0 none bind 0 0
    then modify the line for the cdrom device to:
    • /dev/hdc /chroot/media/cdrom0 udf,iso9660 user,noauto 0 0
    Make sure that /chroot/media/cdrom0 is part of the file group cdrom
    • ~$ sudo chgrp cdrom /chroot/media/cdrom0
    Then make the symlink
    • ~$ sudo ln -s /chroot/media/cdrom0 /media/cdrom0
    This worked for me hope it helps anyone with a similar problem.
    Last edited by mystictim; April 17th, 2006 at 08:12 PM.

  5. #165
    Join Date
    Apr 2006
    Beans
    4

    Unhappy Re: 32-Bit Chroot How-To

    I have the same problem and also I'm working with Dapper Drake (AMD64). I've got stuck in same place. I tried twice without any luck. Does some one got it running with dapper?

    Thanks!

    Quote Originally Posted by BjornHaland
    Error:
    Code:
    I have no name!@shapeir:/# dpkg-reconfigure locales
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
            LANGUAGE = "en_NO:en_US:en_GB:en",
            LC_ALL = (unset),
            LANG = "en_US.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
    Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/Config.pm line 16.
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 66.)
    debconf: falling back to frontend: Readline
    debconf: unable to initialize frontend: Readline
    debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 5.)
    debconf: falling back to frontend: Teletype
    dpkg-query: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory
    /usr/sbin/dpkg-reconfigure: locales is not installed
    I have no name!@shapeir:/#

    Could be this is just too much for me right now, but I gave it a try.
    It would be great if someone knew what this is, and I'd appreciate any help.
    But I'm willing to let it go for now anyway - do I have to uninstall this whole thing, or can I keep it here? And what steps do I have to take in order to uninstall it? Thank you.'

    Oh btw, I'm using Dapper Drake, is there an incompatibility issue, perhaps?

  6. #166
    Join Date
    Jan 2005
    Beans
    Hidden!

    Re: 32-Bit Chroot How-To

    This worked for me:
    http://ubuntuforums.org/showthread.p..._CTYPE+default

    (the last suggestion)

    incubus

  7. #167
    Join Date
    Apr 2006
    Beans
    4

    Talking Re: 32-Bit Chroot How-To

    Many thanks Incubus, it worked just fine!!!

    Quote Originally Posted by incubus
    This worked for me:
    http://ubuntuforums.org/showthread.p..._CTYPE+default

    (the last suggestion)

    incubus

  8. #168
    Join Date
    Apr 2006
    Beans
    3
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: 32-Bit Chroot on 64-Bit Installs

    It works until i get to installing synaptic, then this happens:

    searden@ubuntuamd64:~$ dchroot -d
    Executing shell in 'hoary' chroot.
    searden@ubuntuamd64:~$ sudo apt-get install synaptic Reading package lists... Done
    Building dependency tree... Done
    The following extra packages will be installed:
    defoma docbook-xml fontconfig laptop-detect libatk1.0-0 libexpat1
    libfontconfig1 libfreetype6 libglade2-0 libglib2.0-0 libgtk2.0-0
    libgtk2.0-bin libgtk2.0-common libjpeg62 libpango1.0-0 libpango1.0-common
    libpng12-0 libscrollkeeper0 libtiff4 libvte-common libvte4 libx11-6
    libxcursor1 libxext6 libxft2 libxi6 libxinerama1 libxml2 libxrandr2
    libxrender1 libxslt1.1 perl perl-modules scrollkeeper sgml-base sgml-data
    ttf-bitstream-vera ucf xlibs-data xml-core xorg-common
    Suggested packages:
    defoma-doc psfontmgr x-ttcidfont-conf dfontmgr docbook docbook-doc
    docbook-dsssl docbook-xsl libfreetype6-dev ttf-kochi-gothic ttf-kochi-mincho
    ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp
    ttf-arphic-gkai00mp ttf-arphic-bkai00mp perl-doc libterm-readline-perl-perl
    sgml-base-doc perlsgml doc-html-w3 opensp libxml2-utils debhelper
    x-window-system-core x-window-system
    Recommended packages:
    libft-perl libatk1.0-data libglib2.0-data hicolor-icon-theme gksu deborphan
    libgnome2-perl
    The following NEW packages will be installed:
    defoma docbook-xml fontconfig laptop-detect libatk1.0-0 libexpat1
    libfontconfig1 libfreetype6 libglade2-0 libglib2.0-0 libgtk2.0-0
    libgtk2.0-bin libgtk2.0-common libjpeg62 libpango1.0-0 libpango1.0-common
    libpng12-0 libscrollkeeper0 libtiff4 libvte-common libvte4 libx11-6
    libxcursor1 libxext6 libxft2 libxi6 libxinerama1 libxml2 libxrandr2
    libxrender1 libxslt1.1 perl perl-modules scrollkeeper sgml-base sgml-data
    synaptic ttf-bitstream-vera ucf xlibs-data xml-core xorg-common
    0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/19.4MB of archives.
    After unpacking 70.7MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: syntax error: unknown group `postdrop' in statusoverride file
    E: Sub-process /usr/bin/dpkg returned an error code (2)

    Any suggestions? i guess i'm pretty screwed without it as i'll get dependancy probs when i try to install other apps in chroot.

  9. #169
    Join Date
    Oct 2005
    Location
    Salem, OR
    Beans
    16
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: 32-Bit Chroot How-To

    I just installed some updates today in the 64-bit environment, and now the chroot is dropping network packets like crazy. I have had to switch back to 64-bit firefox.

  10. #170
    Join Date
    Jun 2006
    Beans
    3

    Re: HOWTO: 32-Bit Chroot on 64-Bit Installs

    Quote Originally Posted by searden
    It works until i get to installing synaptic, then this happens:

    searden@ubuntuamd64:~$ dchroot -d
    Executing shell in 'hoary' chroot.
    searden@ubuntuamd64:~$ sudo apt-get install synaptic Reading package lists... Done
    Building dependency tree... Done
    The following extra packages will be installed:
    defoma docbook-xml fontconfig laptop-detect libatk1.0-0 libexpat1
    libfontconfig1 libfreetype6 libglade2-0 libglib2.0-0 libgtk2.0-0
    libgtk2.0-bin libgtk2.0-common libjpeg62 libpango1.0-0 libpango1.0-common
    libpng12-0 libscrollkeeper0 libtiff4 libvte-common libvte4 libx11-6
    libxcursor1 libxext6 libxft2 libxi6 libxinerama1 libxml2 libxrandr2
    libxrender1 libxslt1.1 perl perl-modules scrollkeeper sgml-base sgml-data
    ttf-bitstream-vera ucf xlibs-data xml-core xorg-common
    Suggested packages:
    defoma-doc psfontmgr x-ttcidfont-conf dfontmgr docbook docbook-doc
    docbook-dsssl docbook-xsl libfreetype6-dev ttf-kochi-gothic ttf-kochi-mincho
    ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp
    ttf-arphic-gkai00mp ttf-arphic-bkai00mp perl-doc libterm-readline-perl-perl
    sgml-base-doc perlsgml doc-html-w3 opensp libxml2-utils debhelper
    x-window-system-core x-window-system
    Recommended packages:
    libft-perl libatk1.0-data libglib2.0-data hicolor-icon-theme gksu deborphan
    libgnome2-perl
    The following NEW packages will be installed:
    defoma docbook-xml fontconfig laptop-detect libatk1.0-0 libexpat1
    libfontconfig1 libfreetype6 libglade2-0 libglib2.0-0 libgtk2.0-0
    libgtk2.0-bin libgtk2.0-common libjpeg62 libpango1.0-0 libpango1.0-common
    libpng12-0 libscrollkeeper0 libtiff4 libvte-common libvte4 libx11-6
    libxcursor1 libxext6 libxft2 libxi6 libxinerama1 libxml2 libxrandr2
    libxrender1 libxslt1.1 perl perl-modules scrollkeeper sgml-base sgml-data
    synaptic ttf-bitstream-vera ucf xlibs-data xml-core xorg-common
    0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/19.4MB of archives.
    After unpacking 70.7MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: syntax error: unknown group `postdrop' in statusoverride file
    E: Sub-process /usr/bin/dpkg returned an error code (2)

    Any suggestions? i guess i'm pretty screwed without it as i'll get dependancy probs when i try to install other apps in chroot.
    Not sure if you've worked it out, but after beating my head in and trolling countless forums (in german is where i found the answer), I've found that under /chroot/var/lib/dpkg/statoverride (a text file), there are some references there that dpkg doesn't find.

    Therefore, I backed up the file, and removed ALL entries in it. Worked after that. I also read somewhere that you could do dpkg --clean or something along those lines, but my version of dpkg did not support any command similar to that.

    Hope it helps.

Page 17 of 25 FirstFirst ... 71516171819 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •