DebianLNMP installation error summary and solution

Source: Internet
Author: User
Error 1: Debian is installed by default. the apt-get source is selected. the default security.debian.org cannot be used in China. Similar address: debhttp: // deployment error Problem 1: The default Debian is installed, and the apt-get source is selected. the default security.debian.org cannot be used in China.
The address is as follows:
Deb http://security.debian.org/stable/updates main
Deb-src http://security.debian.org/debian/ squeeze main
At this time, check the vim/etc/apt/sources. list source address solution:
Change the apt-get address for domestic servers
Fast apt-get address list in China:
# Vim/etc/apt/sources. list

# Deb cdrom: [Debian GNU/Linux 6.0.5 _ Squeeze _-Official i386 NETINST Binary-1 20120512-20:43]/squeeze main

Deb http://cdn.debian.net/debian/ squeeze main
Deb-src http://cdn.debian.net/debian/ squeeze main

# Squeeze-updates, previously known as 'volatile'
Deb http://cdn.debian.net/debian/ squeeze-updates main
Deb-src http://cdn.debian.net/debian/ squeeze-updates main
Prompt soon
Reading package lists... Done
End error prompt:
Perl: warning: Setting locale failed.
Perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN: zh ",
LC_ALL = (unset ),
LANG = "zh_CN.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 Problem 2: DebianLNMP installation prompts to overwrite the configuration file
Directly select "Y" Question 3:
Dotdeb. gpg source apt-key add dotdeb. gpg cannot be downloaded because there is no problem with the official network source, so apt-key cannot be obtained.
DebianLNMP cannot be installed successfully. Error message:
Root @ debian :~ # Wget http://www.dotdeb.org/dotdeb.gpg
-- 00:52:26 -- http://www.dotdeb.org/dotdeb.gpg
Parsing host www.dotdeb.org... failed: unknown name or service.
Wget: unable to resolve host address "www.dotdeb.org"
Root @ debian :~ # Apt-key add dotdeb. gpg
Gpg: unable to open 'dotdeb. gpg': no file or directory. solution:
Ping www.dotdeb.org before installation
Manual Download
Wget http://www.dotdeb.org/dotdeb.gpg
Apt-key add dotdeb. gpg
Then run it several times until the operation is successful and the prompt "OK" is displayed ".

This article is from the "Jimmy Li I stand on the shoulders of giants" blog, please be sure to keep this source http://jimmyli.blog.51cto.com/3190309/1098332

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.