[devstack][ubuntu20.04 focal] Failed to fetch after apt-get install

韩光宇 hanguangyu2 at gmail.com
Wed Mar 23 06:49:57 UTC 2022


Hi all,

I used devstack to deploy OpenStack with ironic in Ubuntu20.4. But I always got
```
Err:1 http://nova.clouds.archive.ubuntu.com/ubuntu focal/universe
amd64 exfat-fuse amd64 1.3.0-1
  Connection failed [IP: 91.189.88.245 80]
Err:2 http://nova.clouds.archive.ubuntu.com/ubuntu focal/universe
amd64 libf2fs5 amd64 1.11.0-1.1ubuntu1
  Connection failed [IP: 91.189.91.121 80]
Err:3 http://nova.clouds.archive.ubuntu.com/ubuntu focal/universe
amd64 libf2fs-format4 amd64 1.11.0-1.1ubuntu1
  Connection failed [IP: 91.189.88.245 80]
Err:4 http://nova.clouds.archive.ubuntu.com/ubuntu focal/universe
amd64 f2fs-tools amd64 1.11.0-1.1ubuntu1
  Connection failed [IP: 91.189.91.121 80]
Err:5 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main
amd64 fonts-noto-mono all 20200323-1build1~ubuntu20.04.1
  Connection failed [IP: 91.189.88.245 80]
Err:6 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64
fonts-urw-base35 all 20170801.1-3
  Connection failed [IP: 91.189.91.121 80]
Err:7 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64
libxi6 amd64 2:1.7.10-0ubuntu1
  Connection failed [IP: 91.189.88.245 80]
Err:8 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64
libxinerama1 amd64 2:1.1.4-2
  Connection failed [IP: 91.189.91.121 80]
E: Failed to fetch
http://nova.clouds.archive.ubuntu.com/ubuntu/pool/universe/f/fuse-exfat/exfat-fuse_1.3.0-1_amd64.deb
 Connection failed [IP: 91.189.88.245 80]
E: Failed to fetch
http://nova.clouds.archive.ubuntu.com/ubuntu/pool/universe/f/f2fs-tools/libf2fs5_1.11.0-1.1ubuntu1_amd64.deb
 Connection failed [IP: 91.189.91.121 80]
E: Failed to fetch
http://nova.clouds.archive.ubuntu.com/ubuntu/pool/universe/f/f2fs-tools/libf2fs-format4_1.11.0-1.1ubuntu1_amd64.deb
 Connection failed [IP: 91.189.88.245 80]
E: Failed to fetch
http://nova.clouds.archive.ubuntu.com/ubuntu/pool/universe/f/f2fs-tools/f2fs-tools_1.11.0-1.1ubuntu1_amd64.deb
 Connection failed [IP: 91.189.91.121 80]
E: Failed to fetch
http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/f/fonts-noto/fonts-noto-mono_20200323-1build1~ubuntu20.04.1_all.deb
 Connection failed [IP: 91.189.88.245 80]
E: Failed to fetch
http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/f/fonts-urw-base35/fonts-urw-base35_20170801.1-3_all.deb
 Connection failed [IP: 91.189.91.121 80]
E: Failed to fetch
http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libx/libxi/libxi6_1.7.10-0ubuntu1_amd64.deb
 Connection failed [IP: 91.189.88.245 80]
E: Failed to fetch
http://nova.clouds.archive.ubuntu.com/ubuntu/pool/main/libx/libxinerama/libxinerama1_1.1.4-2_amd64.deb
 Connection failed [IP: 91.189.91.121 80]
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
```

This is my local.conf:
https://paste.opendev.org/show/bsJYZ7fcLSlAxZkr5fsV/
This is my /etc/apt/sources.list:
https://paste.opendev.org/show/bRAlj2UoeqNv6U7dVdwG/
I have added /etc/resolv.conf:
```
nameserver 127.0.0.53
options edns0 trust-ad
search openstacklocal
nameserver 114.114.114.114
nameserver 8.8.8.8
nameserver 223.5.5.5
nameserver 223.6.6.6
```
$ sudo apt-get update
Hit:1 http://nova.clouds.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
$ sudo apt-get update --fix-missing
Hit:1 http://nova.clouds.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://nova.clouds.archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done

But still got error.
I know this is  a apt install error, But I always can't resolve it. Do
you konw how can I resolve this?

I will very appreciate any help and advice.

HanGuangyu



More information about the openstack-discuss mailing list