DebianPackage management problem-Debian information of the Linux release-details are as follows. First APT use reference: http://www.mayin.org/ajayshah/COMPUTING/debian-principles.html
Because the system is installed on a DVD, the packages information is not updated on the network each time apt-get update is used. As a result, new software cannot be installed, the old ones are installed on the CD.
For example, I want to install javasos5, And the disc is javasos4. Version 4 has obvious security problems.
How can this problem be solved?
$ Cp/etc/apt/sources. list/etc/apt/sources. list. back
$ Vim/etc/apt/sources. list
Delete all previous items and change them:
# See sources. list (5) for more information
Deb http://http.us.debian.org/debian stable main contrib non-free
Deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
Deb http://security.debian.org stable/updates main contrib non-free
Deb http://http.us.debian.org/debian testing main contrib non-free
Deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
Deb http://security.debian.org testing/updates main contrib non-free
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