Задать вопрос
Levman5
@Levman5
print(“Hello World!”)

Почему ошибка при выполнении apt install software-properties-common?

Привет, я настраиваю сервер и новичок в этом. Для DNS-proxy пишу sudo apt install wget software-properties-common apt-transport-https.

Но получаю ошибку. Как её исправить?
root@v1037972:~# apt install wget software-properties-common apt-transport-https
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wget is already the newest version (1.21-1+deb11u1).
The following package was automatically installed and is no longer required:
  linux-image-5.10.0-10-amd64
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 libappstream4 libdw1 libgirepository-1.0-1 libglib2.0-bin
  libgstreamer1.0-0 libpackagekit-glib2-18 libpolkit-agent-1-0 libpolkit-gobject-1-0 libstemmer0d libunwind8
  libyaml-0-2 packagekit packagekit-tools policykit-1 python3-dbus python3-distro-info python3-gi
  python3-software-properties unattended-upgrades
Suggested packages:
  gstreamer1.0-tools appstream python-dbus-doc python3-dbus-dbg bsd-mailx default-mta | mail-transport-agent
  needrestart powermgmt-base
The following NEW packages will be installed:
  apt-transport-https gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 libappstream4 libdw1 libgirepository-1.0-1
  libglib2.0-bin libgstreamer1.0-0 libpackagekit-glib2-18 libpolkit-agent-1-0 libpolkit-gobject-1-0
  libstemmer0d libunwind8 libyaml-0-2 packagekit packagekit-tools policykit-1 python3-dbus python3-distro-info
  python3-gi python3-software-properties software-properties-common unattended-upgrades
0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,951 kB of archives.
After this operation, 15.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://security.debian.org/debian-security bullseye-security/main amd64 libpolkit-gobject-1-0 amd64 0.105-31+deb11u1
  Temporary failure resolving 'security.debian.org'
Err:2 http://security.debian.org/debian-security bullseye-security/main amd64 libpolkit-agent-1-0 amd64 0.105-31+deb11u1
  Temporary failure resolving 'security.debian.org'
Err:3 http://security.debian.org/debian-security bullseye-security/main amd64 policykit-1 amd64 0.105-31+deb11u1
  Temporary failure resolving 'security.debian.org'
Err:4 http://ftp.debian.org/debian bullseye/main amd64 apt-transport-https all 2.2.4
  Temporary failure resolving 'ftp.debian.org'
Err:5 http://ftp.debian.org/debian bullseye/main amd64 libgirepository-1.0-1 amd64 1.66.1-1+b1
  Temporary failure resolving 'ftp.debian.org'
Err:6 http://ftp.debian.org/debian bullseye/main amd64 gir1.2-glib-2.0 amd64 1.66.1-1+b1
  Temporary failure resolving 'ftp.debian.org'
Err:7 http://ftp.debian.org/debian bullseye/main amd64 libpackagekit-glib2-18 amd64 1.2.2-2
  Temporary failure resolving 'ftp.debian.org'
Err:8 http://ftp.debian.org/debian bullseye/main amd64 gir1.2-packagekitglib-1.0 amd64 1.2.2-2
  Temporary failure resolving 'ftp.debian.org'
Err:9 http://ftp.debian.org/debian bullseye/main amd64 libstemmer0d amd64 2.1.0-1
  Temporary failure resolving 'ftp.debian.org'
Err:10 http://ftp.debian.org/debian bullseye/main amd64 libyaml-0-2 amd64 0.2.2-1
  Temporary failure resolving 'ftp.debian.org'
Err:11 http://ftp.debian.org/debian bullseye/main amd64 libappstream4 amd64 0.14.4-1
  Temporary failure resolving 'ftp.debian.org'
Err:12 http://ftp.debian.org/debian bullseye/main amd64 libdw1 amd64 0.183-1
  Temporary failure resolving 'ftp.debian.org'
Err:13 http://ftp.debian.org/debian bullseye/main amd64 libglib2.0-bin amd64 2.66.8-1
  Temporary failure resolving 'ftp.debian.org'
Err:14 http://ftp.debian.org/debian bullseye/main amd64 libunwind8 amd64 1.3.2-2
  Temporary failure resolving 'ftp.debian.org'
Err:15 http://ftp.debian.org/debian bullseye/main amd64 libgstreamer1.0-0 amd64 1.18.4-2.1
  Temporary failure resolving 'ftp.debian.org'
Err:16 http://ftp.debian.org/debian bullseye/main amd64 packagekit amd64 1.2.2-2
  Temporary failure resolving 'ftp.debian.org'
Err:17 http://ftp.debian.org/debian bullseye/main amd64 packagekit-tools amd64 1.2.2-2
  Temporary failure resolving 'ftp.debian.org'
Err:18 http://ftp.debian.org/debian bullseye/main amd64 python3-dbus amd64 1.2.16-5
  Temporary failure resolving 'ftp.debian.org'
Err:19 http://ftp.debian.org/debian bullseye/main amd64 python3-distro-info all 1.0
  Temporary failure resolving 'ftp.debian.org'
Err:20 http://ftp.debian.org/debian bullseye/main amd64 python3-gi amd64 3.38.0-2
  Temporary failure resolving 'ftp.debian.org'
Err:21 http://ftp.debian.org/debian bullseye/main amd64 python3-software-properties all 0.96.20.2-2.1
  Temporary failure resolving 'ftp.debian.org'
Err:22 http://ftp.debian.org/debian bullseye/main amd64 software-properties-common all 0.96.20.2-2.1
  Temporary failure resolving 'ftp.debian.org'
Err:23 http://ftp.debian.org/debian bullseye/main amd64 unattended-upgrades all 2.8
  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/a/apt/apt-transport-https_2.2.4_all.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/g/gobject-introspection/libgirepository-1.0-1_1.66.1-1%2bb1_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/g/gobject-introspection/gir1.2-glib-2.0_1.66.1-1%2bb1_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/packagekit/libpackagekit-glib2-18_1.2.2-2_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/packagekit/gir1.2-packagekitglib-1.0_1.2.2-2_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/s/snowball/libstemmer0d_2.1.0-1_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/liby/libyaml/libyaml-0-2_0.2.2-1_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/a/appstream/libappstream4_0.14.4-1_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/e/elfutils/libdw1_0.183-1_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/g/glib2.0/libglib2.0-bin_2.66.8-1_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/libu/libunwind/libunwind8_1.3.2-2_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.18.4-2.1_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/policykit-1/libpolkit-gobject-1-0_0.105-31%2bdeb11u1_amd64.deb  Temporary failure resolving 'security.debian.org'
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/policykit-1/libpolkit-agent-1-0_0.105-31%2bdeb11u1_amd64.deb  Temporary failure resolving 'security.debian.org'
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/p/policykit-1/policykit-1_0.105-31%2bdeb11u1_amd64.deb  Temporary failure resolving 'security.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/packagekit/packagekit_1.2.2-2_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/packagekit/packagekit-tools_1.2.2-2_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/d/dbus-python/python3-dbus_1.2.16-5_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/d/distro-info/python3-distro-info_1.0_all.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/p/pygobject/python3-gi_3.38.0-2_amd64.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/s/software-properties/python3-software-properties_0.96.20.2-2.1_all.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/s/software-properties/software-properties-common_0.96.20.2-2.1_all.deb  Temporary failure resolving 'ftp.debian.org'
E: Failed to fetch http://ftp.debian.org/debian/pool/main/u/unattended-upgrades/unattended-upgrades_2.8_all.deb  Temporary failure resolving 'ftp.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@v1037972:~#
  • Вопрос задан
  • 688 просмотров
Подписаться 1 Простой Комментировать
Пригласить эксперта
Ответы на вопрос 1
@freedom1b2830
не находит домены ftp.debian.org security.debian.org
пропишите в /etc/hosts

151.101.110.132 ftp.debian.org
2a04:4e42:1a::644 ftp.debian.org

151.101.66.132 security.debian.org
151.101.194.132 security.debian.org
151.101.2.132 security.debian.org
151.101.130.132 security.debian.org
2a04:4e42:400::644 security.debian.org
2a04:4e42:600::644 security.debian.org
2a04:4e42::644 security.debian.org
2a04:4e42:200::644 security.debian.org
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы