Ubuntu apt-get Installation Software exception

Source: Internet
Author: User

Ubuntu apt-get installation Software exception 1. Ubuntu has the apt-get: Package has no installation candidate exception as follows: # apt-get install <packagename> Reading package lists... doneBuilding dependency tree... donePackage aptitude is not available, but is referred to by another package. this may mean that the package is missing, has been obsoleted, oris only available from another sourceE: Package <packagename> has no installation The solution to candidate is as follows: # apt-get update note: update the synchronization installation list. You may need to add new sources before this step, such as vim/etc/apt/sources. list I added 2 deb http://mirrors.163.com/ubuntu/ hard main universedeb http://tw.archive.ubuntu.com/ubuntu/ hard main universe # apt-get upgrade [upgrade all installable packages? I did not do this step, you can also] # apt-get install <packagename> 2. E: Dynamic MMap ran out of room. please increase the size of APT: Cache-Limit. current value: 25165824. (man 5 apt. conf) the cause of the exception is that the cache is too small. Run the sudo gedit/etc/apt. conf. d/70 debconfgedit command on the terminal. It is a text editing software and can also be used by emacs or other software. In ubuntu10.04, 70 debconf is the cache configuration file. In other linux systems, the configuration file may exist in the./apt directory. Add an APT: Cache-Limit 33554432 line to the open file, and the last quotation mark 33554432 is the Cache size.

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.