QiyangContact usnews › How to solve the questions when setting up development environment

How to solve the questions when setting up development environment

Posted 2014/07/03 09:39 AM by Qiyang views: 677

1. Q: Install [wmwaretools], it hints [the guset operating systme has locked CD-ROM door and is probably using the CD-ROM]

A: When installing [ubuntu],the CD locked [ubuntu IOS]file, just disconnect it.

2. Q: How to solve [ubuntu-E:Encountered a section with no Package: header]

A:sudo rm /var/lib/apt/lists/* -vf

sudo apt-get update

3. Q:When installing,it hints [Could not find the package], you could check the source problem.

A: [gedit /etc/apt/soucelist] add the Netease source

eb http://mirrors.163.com/ubuntu/ precise main restricted

deb-src http://mirrors.163.com/ubuntu/ precise main restricted

deb http://mirrors.163.com/ubuntu/ precise-updates main restricted

deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted

deb http://mirrors.163.com/ubuntu/ precise universe

deb-src http://mirrors.163.com/ubuntu/ precise universe

deb http://mirrors.163.com/ubuntu/ precise-updates universe

deb-src http://mirrors.163.com/ubuntu/ precise-updates universe

deb http://mirrors.163.com/ubuntu/ precise multiverse

deb-src http://mirrors.163.com/ubuntu/ precise multiverse

deb http://mirrors.163.com/ubuntu/ precise-updates multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse

deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ precise-security main restricted

deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted

deb http://mirrors.163.com/ubuntu/ precise-security universe

deb-src http://mirrors.163.com/ubuntu/ precise-security universe

deb http://mirrors.163.com/ubuntu/ precise-security multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-security multiverse

deb http://extras.ubuntu.com/ubuntu precise main

deb-src http://extras.ubuntu.com/ubuntu precise main

After saving, [sudo apt-get update] updates the source list.

4. Q:[portmap] has been replaced by [rpcbind], when installing [nfs], it will install [rpcbind] automatically.

A:If the updating is failed, please reboot virtual machine then update, after updating, you could install again.

5. Q:About the [The configuration data for VS2005 is damaged. Please contact with the technical personnel]

A:Delete or backup the directory 1.0 from [C:/Documents and Settings/Administrator/Local Settings/Application Data/Microsoft/CoreCon].(The best way is back-up). Then restart the VS2005,it will generate the 1.0 folder in [VS2005].

6. Q:Why Ubuntu add [root], then log in again, it could not find where did the [root] log?

A:The default of [ubuntu12.04] do not allow to log by[root],you could only find the ordinary user and guest login on logging windows. You many need do some modification when you are using the ordinary ID.

After logging in by ordinary user, when you are modifying system configuration file, you need to switch to super user mode, Input [sudo ?-s] in terminal window. Then input user's login password at ordinary user. press [enter], you could enter into [root] user right mode.

Then execute [vi /etc/lightdm/lightdm.conf.]

Add [greeter-show-manual-login=true ?allow-guest=false]

The modified configuration file :




greeter-show-manual-login=true #Input login system user name and password manually

allow-guest=false ? #Do not allow [Guest Login]

7. Q:Error for make menuconfig:

st@st-virtual-machine:~/work/customer/hztl/linux-3.2.0-$ make menuconfig

HOSTCC scripts/basic/fixdep

HOSTCC scripts/kconfig/conf.o

*** Unable to find the ncurses libraries or the

*** required header files.

*** 'make menuconfig' requires the ncurses libraries.


*** Install ncurses (ncurses-devel) and try again.


make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1

make: *** [menuconfig] Error 2

A: Solution:[sudo apt-get install ncurses-dev]

8. Q:How to solve the visit speed when win7 visit 2003?

A: Modify network card configuration,modify large transmition [IPV4] to [forbidden] in [advance].