Ubuntu11.10 ncurses-devel installation solution note

Source: Internet
Author: User
Tags oracle vm virtualbox vm virtualbox
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 !!

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.