M BUZZ CRAZE NEWS
// news

Apt-get update failed to fetch Ubuntu Server 20.04 Raspberry Pi 3 b+ [closed]

By Jessica Wood

[CLOSED]

I'm using ubuntu server 32bit 20.04 on Raspberry pi 3 b+. When I try to install mariadb-server this is the output

 ubuntu@ubuntu:~$ sudo apt-get install mariadb-server
sudo: unable to resolve host ubuntu: Name or service not known
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies: mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.28+maria~bionic) but it is not installable
E: Unable to correct problems, you have held broken packages.

So I tried to update with sudo apt-get update but this is the output:

 sudo: unable to resolve host ubuntu: Name or service not known
Hit:1 bionic InRelease
Err:2 focal InRelease Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Could not connect to ports.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to ports.ubuntu.com:80 (91.189.88.152), connection timed out
Err:3 focal-updates InRelease Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
Err:4 focal-backports InRelease Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
Err:5 focal-security InRelease Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
Reading package lists... Done
W: Failed to fetch Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Could not connect to ports.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to ports.ubuntu.com:80 (91.189.88.152), connection timed out
W: Failed to fetch Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
W: Failed to fetch Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
W: Failed to fetch Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
W: Some index files failed to download. They have been ignored, or old ones used instead.

That's all. Thanks for help!

5 Reset to default