Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@hostname:/# apt-get install apt-utils
- Reading package lists... Done
- Building dependency tree... Done
- The following NEW packages will be installed:
- apt-utils
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 267 kB of archives.
- After this operation, 606 kB of additional disk space will be used.
- Get:1 http://ftp.ch.debian.org/debian/ squeeze/main apt-utils armel 0.8.10.3+squeeze1 [267 kB]
- Fetched 267 kB in 1s (257 kB/s)
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously deselected package apt-utils.
- (Reading database ... 6137 files and directories currently installed.)
- Unpacking apt-utils (from .../apt-utils_0.8.10.3+squeeze1_armel.deb) ...
- Setting up apt-utils (0.8.10.3+squeeze1) ...
- root@hostname:/# apt-get install dialog
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- libgpm2 libncursesw5
- Suggested packages:
- gpm
- The following NEW packages will be installed:
- dialog libgpm2 libncursesw5
- 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
- Need to get 690 kB of archives.
- After this operation, 2261 kB of additional disk space will be used.
- Do you want to continue [Y/n]? Y
- Get:1 http://ftp.ch.debian.org/debian/ squeeze/main libncursesw5 armel 5.7+20100313-5 [368 kB]
- Get:2 http://ftp.ch.debian.org/debian/ squeeze/main libgpm2 armel 1.20.4-3.3 [34.7 kB]
- Get:3 http://ftp.ch.debian.org/debian/ squeeze/main dialog armel 1.1-20100428-1 [287 kB]
- Fetched 690 kB in 2s (275 kB/s)
- 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 75, <> line 3.)
- 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.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 3.)
- debconf: falling back to frontend: Teletype
- Selecting previously deselected package libncursesw5.
- (Reading database ... 6168 files and directories currently installed.)
- Unpacking libncursesw5 (from .../libncursesw5_5.7+20100313-5_armel.deb) ...
- Selecting previously deselected package libgpm2.
- Unpacking libgpm2 (from .../libgpm2_1.20.4-3.3_armel.deb) ...
- Selecting previously deselected package dialog.
- Unpacking dialog (from .../dialog_1.1-20100428-1_armel.deb) ...
- Setting up libncursesw5 (5.7+20100313-5) ...
- Setting up libgpm2 (1.20.4-3.3) ...
- Setting up dialog (1.1-20100428-1) ...
- root@hostname:/# apt-get install locales
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- locales
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 4757 kB of archives.
- After this operation, 13.1 MB of additional disk space will be used.
- Get:1 http://ftp.ch.debian.org/debian/ squeeze/main locales all 2.11.2-10 [4757 kB]
- Fetched 4757 kB in 15s (304 kB/s)
- Preconfiguring packages ...
- Selecting previously deselected package locales.
- (Reading database ... 6347 files and directories currently installed.)
- Unpacking locales (from .../locales_2.11.2-10_all.deb) ...
- Setting up locales (2.11.2-10) ...
- Generating locales (this might take a while)...
- Generation complete.
- root@hostname:/# cat <<END > /etc/apt/apt.conf
- > APT::Install-Recommends "0";
- > APT::Install-Suggests "0";
- > END
- root@hostname:/# dpkg-reconfigure locales
- Package configuration
- ┌─────────────────────────────────────────────────────────Configuring locales────────────────────────────────────────────────────────────┐─
- │ Locales are a framework to switch between multiple languages and allow users to use their language, country, characters, collation │
- │ order, etc. │
- │ │
- │ Please choose which locales to generate. UTF-8 locales should be chosen by default, particularly for new installations. Other │
- │ character sets may be useful for backwards compatibility with older systems and software. │
- │ │
- │ Locales to be generated: │
- │ ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
- │ │ [ ] en_SG ISO-8859-1 │ │
- │ │ [ ] en_SG.UTF-8 UTF-8 │ │
- │ │ [ ] en_US ISO-8859-1 │ │
- │ │ [ ] en_US.ISO-8859-15 ISO-8859-15 │ │
- │ │ [*] en_US.UTF-8 UTF-8 │ │
- │ │ [ ] en_ZA ISO-8859-1 │ │
- │ │ [ ] en_ZA.UTF-8 UTF-8 │ │
- │ │ [ ] en_ZW ISO-8859-1 │ │
- │ │ [ ] en_ZW.UTF-8 UTF-8 │ │
- │ │ [ ] eo ISO-8859-3 │ │
- │ └────────────────────────────────────────────────────v(+)────────────────────────────────────────────────────────────────────32%─────┘ │
- ├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
- │ < OK > <Cancel> │
- └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
- Package configuration
- ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
- ┌─────────────────────────────────────────────────────────Configuring locales────────────────────────────────────────────────────────────┐
- │ Many packages in Debian use locales to display text in the correct language for the user. You can choose a default locale for the │
- │ system from the generated locales. │
- │ │
- │ This will select the default language for the entire system. If this system is a multi-user system where not all users are able to │
- │ speak the default language, they will experience difficulties. │
- │ │
- │ Default locale for the system environment: │
- │ ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
- │ │ None │ │
- │ │ en_US.UTF-8 │ │
- │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ │
- ├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
- │ < OK > <Cancel> │
- └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
- Generating locales (this might take a while)...
- en_US.UTF-8... done
- Generation complete.
- root@hostname:/# export LANG=en_US.UTF-8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement