In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how ubuntu uses sudo apt-get update to update the list. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
The code is as follows:
# University of Electronic Science and Technology
Deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal main restricted universe multiverse
Deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
Deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
Deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
Deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
Deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal main restricted universe multiverse
Deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
Deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
Deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
Deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
# sohu update server:
Deb http://mirrors.sohu.com/ubuntu/ karmic main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ karmic-security main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ karmic-proposed main restricted universe multiverse
Deb http://mirrors.sohu.com/ubuntu/ karmic-backports main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ karmic main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ karmic-security main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ karmic-proposed main restricted universe multiverse
Deb-src http://mirrors.sohu.com/ubuntu/ karmic-backports main restricted universe multiverse
# Brother Bone personally builds and maintains this Ubuntu source (the source is located in the telecom room of 100 megabit shared broadband in Hangzhou, Zhejiang):
Deb http://ubuntu.srt.cn/ubuntu/ karmic main restricted universe multiverse
Deb http://ubuntu.srt.cn/ubuntu/ karmic-security main restricted universe multiverse
Deb http://ubuntu.srt.cn/ubuntu/ karmic-updates main restricted universe multiverse
Deb http://ubuntu.srt.cn/ubuntu/ karmic-proposed main restricted universe multiverse
Deb http://ubuntu.srt.cn/ubuntu/ karmic-backports main restricted universe multiverse
Deb-src http://ubuntu.srt.cn/ubuntu/ karmic main restricted universe multiverse
Deb-src http://ubuntu.srt.cn/ubuntu/ karmic-security main restricted universe multiverse
Deb-src http://ubuntu.srt.cn/ubuntu/ karmic-updates main restricted universe multiverse
Deb-src http://ubuntu.srt.cn/ubuntu/ karmic-proposed main restricted universe multiverse
Deb-src http://ubuntu.srt.cn/ubuntu/ karmic-backports main restricted universe multiverse
Deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn karmic main restricted universe multiverse
# Archive.ubuntu.com update server (Europe, this is the official source, used by Telecom Netcom users):
Deb http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
Deb http://archive.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
Deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
Deb http://archive.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
Deb http://archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
Deb-src http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
Deb-src http://archive.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
Deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
Deb-src http://archive.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
Deb-src http://archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# Mirrors.shlug.org update server (telecom server, Ubuntu China Official Mirror, maintained by Shanghai Linux User Group):
Deb http://cn.archive.ubuntu.com/ubuntu karmic main restricted universe multiverse
Deb http://cn.archive.ubuntu.com/ubuntu karmic-security main restricted universe multiverse
Deb http://cn.archive.ubuntu.com/ubuntu karmic-updates main restricted universe multiverse
Deb http://cn.archive.ubuntu.com/ubuntu karmic-backports main restricted universe multiverse
Deb http://cn.archive.ubuntu.com/ubuntu karmic-proposed main restricted universe multiverse
Deb-src http://cn.archive.ubuntu.com/ubuntu karmic main restricted universe multiverse
Deb-src http://cn.archive.ubuntu.com/ubuntu karmic-security main restricted universe multiverse
Deb-src http://cn.archive.ubuntu.com/ubuntu karmic-updates main restricted universe multiverse
Deb-src http://cn.archive.ubuntu.com/ubuntu karmic-backports main restricted universe multiverse
Deb-src http://cn.archive.ubuntu.com/ubuntu karmic-proposed main restricted universe multiverse
# Mirror.lupaworld.com Update Server (two-line server in Hangzhou, Zhejiang Province):
Deb http://mirror.lupaworld.com/ubuntu karmic main restricted universe multiverse
Deb http://mirror.lupaworld.com/ubuntu karmic-security main restricted universe multiverse
Deb http://mirror.lupaworld.com/ubuntu karmic-updates main restricted universe multiverse
Deb http://mirror.lupaworld.com/ubuntu karmic-backports main restricted universe multiverse
Deb http://mirror.lupaworld.com/ubuntu karmic-proposed main restricted universe multiverse
Deb-src http://mirror.lupaworld.com/ubuntu karmic main restricted universe multiverse
Deb-src http://mirror.lupaworld.com/ubuntu karmic-security main restricted universe multiverse
Deb-src http://mirror.lupaworld.com/ubuntu karmic-updates main restricted universe multiverse
Deb-src http://mirror.lupaworld.com/ubuntu karmic-backports main restricted universe multiverse
Deb-src http://mirror.lupaworld.com/ubuntu karmic-proposed main restricted universe multiverse
Execute command update
The code is as follows:
Sudo apt-get update
Summary of problems using sudo apt-get update
The code is as follows:
Sudo apt-get update
Show as
E: unable to acquire lock / var/lib/apt/lists/lock-open (11 Resource temporarily unavailable)
E: unable to lock the status list directory
Just delete the lock file..
Sudo rm / var/lib/apt/lists/lock
I looked it up on the Internet, and there are the following ways
First check whether there is a program using apt-get, terminal input: ps-aux, find the program using apt-get (the last column), check its PID number, and then kill its process, enter sudo kill PID, and then upgrade the software source, sudo apt-get update,sudo apt-get dist-update.
Ubuntu update software source error problem
When you execute sudo apt-get update to update the software source, the following similar error occurs: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/maverick/Release.gpg Something wicked happened resolving 'cn.archive.ubuntu.com:http' (- 5-No address associated with hostname)
Indicates that there is a problem with DNS parsing, and you should focus on the following aspects:
1. Cat / etc/resolv.conf
Check to see if the domain, search and nameserver configurations are correct.
To surf the Internet through an agent, please check out:
2. Cat / etc/apt/apt.conf
Add settings to it:
Acquire::http::proxy "http://xxxxx.xxxxx.xxxx:1080", notice that it's http, not https.
3. Check "system"-- > "preferences"-- > "Network Agent". Check whether the proxy is set correctly.
This is the end of this article on "ubuntu how to use sudo apt-get update update list". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.