命令:sudo apt-get update
执行细节:
Get:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease [247 kB]
Ign:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
Get:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease [109 kB]
Ign:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease
Get:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease [107 kB]
Ign:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease
Get:4 http://mirrors.cloud.aliyuncs.com/ubuntu xenial Release [246 kB]
Ign:4 http://mirrors.cloud.aliyuncs.com/ubuntu xenial Release
Get:5 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates Release [108 kB]
Ign:5 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates Release
Get:6 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security Release [106 kB]
Ign:6 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security Release
Get:7 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main Sources [868 kB]
Ign:7 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main Sources
Get:8 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe Sources [7,728 kB]
Ign:8 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe Sources
Get:9 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main amd64 Packages [1,201 kB]
Ign:9 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main amd64 Packages
Get:10 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main i386 Packages [1,196 kB]
Ign:10 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main i386 Packages
Ign:11 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main all Packages
Ign:12 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main Translation-en_US
Get:13 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main Translation-en [568 kB]
Ign:13 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/main Translation-en
Get:14 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
Ign:14 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe amd64 Packages
Get:15 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe i386 Packages [7,512 kB]
Ign:15 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe i386 Packages
Ign:16 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe all Packages
Ign:17 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe Translation-en_US
Get:18 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe Translation-en [4,354 kB]
Ign:18 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe Translation-en
Get:19 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main Sources [327 kB]
Ign:19 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main Sources
Get:20 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe Sources [237 kB]
Ign:20 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe Sources
Get:21 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 Packages [900 kB]
Ign:21 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 PackagesIgn:14 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe amd64 Packages
Ign:15 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe i386 Packages
Ign:16 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe all Packages
Ign:17 http://mirrors.cloud.aliyuncs.com/ubuntu xenial/universe Translation-en_US
Err:19 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main Sources
Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)
Ign:20 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe Sources
Ign:21 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 Packages
Ign:22 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main i386 Packages
Ign:23 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main all Packages
Ign:24 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main Translation-en_US
Ign:25 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main Translation-en
Ign:26 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe amd64 Packages
Ign:27 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe i386 Packages
Ign:28 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe all Packages
Ign:29 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe Translation-en_US
Err:31 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main Sources
Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)
Ign:32 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/universe Sources
Ign:33 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main amd64 Packages
Ign:34 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main i386 Packages
Ign:35 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main all Packages
Ign:36 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main Translation-en_US
Ign:37 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main Translation-en
Ign:38 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/universe amd64 Packages
Ign:39 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/universe i386 Packages
Ign:40 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/universe all Packages
Ign:41 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/universe Translation-en_US
Reading package lists...
W: The repository 'http://mirrors.cloud.aliyuncs.com/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/dists/xenial/main/source/Sources Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)
E: Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/dists/xenial-updates/main/source/Sources Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)
E: Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/dists/xenial-security/main/source/Sources Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)
E: Some index files failed to download. They have been ignored, or old ones used instead.
sources.list文件内容
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial main
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial main
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates main
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates main
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial universe
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial universe
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates universe
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial multiverse
# deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial multiverse
# deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates multiverse
# deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security main
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security main
deb http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security universe
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security universe
# deb http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security multiverse
# deb-src http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security multiverse
其他说明:
1.同区域的另外一台同样系统同样配置的ECS更新是成功的,并且sources.list文件是一模一样的,服务都在深圳C区
2.尝试执行以下命令修复,结果是失败的
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update