A
Size: a a a
A
y
Err:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
9 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Пытаюсь исправить сам уже два дня, купил себе vps и не могу сделать обычное обновление, жесть, в тп не отвечаютR.
cat /etc/resolv.conf
R.
N
N
y
# This file is managed by man:systemd-resolved(8). Do not edit.Такс, что значит зарезолвить? Вот вывод\
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "systemd-resolve --status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through th
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver *****
options edns0
R.
sed -i.bac 's@****
*@8.8.8.8@'
y
R.
y
sed: -e expression #1, char 15: Invalid preceding regular expression
R.
y
R.
sed -i.bac 's@*****@8.8.8.8@' /etc/resolv.conf
y
root@example:~# sed -i.bac 's@*****@8.8.8.8@' /etc/resolv.conf
sed: -e expression #1, char 16: Invalid preceding regular expression
R.
R.
y
nameserver *****
? N
R.