Ubuntu11.10 is newly installed, and OracleVMVirtualBox is used for virtual machines. In order to install the LTIB of aeriskar, many uninstalled things will appear in the middle, and apt-get will be used for installation, but half of them (about six) cannot be installed between them, so we only need to download the package and install it. In the end, there are only two of the most difficult packages: ncurses-devel and glibc-devel. On the Internet, I can see "compile the kernel makemenuconfig in Ubuntu ".
The new Ubuntu 11.10 is installed, and the virtual machine uses the Oracle VM VirtualBox. In order to install the LTIB of feiskar, many things will appear in the middle, and apt-get will be used.
Install the package, but half (about six) cannot be installed between them. Therefore, only the download package is installed, and only two of the most difficult packages are left at the end. One is ncurses-devel, and the other is
Glibc-devel, I see on the Internet that "the ncurses-devel solution is missing when the kernel make menuconfig is compiled under Ubuntu sudo apt-get install libncurses5-dev
", I found that it is actually the same problem.
The following problem occurs after you enter the sudo apt-get install libncurses5-dev
Error
E: The package ncurses-devel needs to be reinstalled, but I can't find an archive for it.
Solution
Run the following command
For ncurses-devel Pakage
Dpkg -- remove -- force-remove-reinstreq ncurses-devel
You can replace ncurses-devel to any of your package name which is giving the error
However, after # dpkg -- remove -- force-remove-reinstreq ncurses-devel, the problem will come again. Of course, it is best to solve it directly.
Error
Dpkg: requested operation requires superuser privilege
Solution
# Dpkg -- configure-
# Dpkg -- remove -- force-remove-reinstreq ncurses-devel
# Apt-get install libncurses5-dev
OK !!