Apt-Get install in Ubuntu cannot install software 10

Source: Internet
Author: User

In ubuntu9.10, it is found that common software cannot be installed when the apt-Get install command is used, such as G ++. It seems that the log is too old for the source list, so on the website: http://ubuntu.srt.cn/find a group of source lists (9.10 is used if there is no 8.04 ):

deb http://ubuntu.srt.cn/ubuntu/ hardy main restricted universe multiversedeb http://ubuntu.srt.cn/ubuntu/ hardy-security main restricted universe multiversedeb http://ubuntu.srt.cn/ubuntu/ hardy-updates main restricted universe multiversedeb http://ubuntu.srt.cn/ubuntu/ hardy-proposed main restricted universe multiversedeb http://ubuntu.srt.cn/ubuntu/ hardy-backports main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ hardy main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ hardy-security main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ hardy-updates main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ hardy-proposed main restricted universe multiversedeb-src http://ubuntu.srt.cn/ubuntu/ hardy-backports main restricted universe multiverse

Run the command # sudo gedit/etc/APT/sources. List to open sources. List, delete all its contents, copy the top edge address, save and exit.
Run the command # sudo apt-Get update to update the source list.

In this way, you can install the software normally.

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.