ubuntuusers.de

apt update wirft errors

Status: Ungelöst | Ubuntu-Version: Ubuntu 16.04 (Xenial Xerus)
Antworten |

christofj

Anmeldungsdatum:
13. Dezember 2017

Beiträge: Zähle...

Hallo zusammen,

ich habe hier diese Kiste: http://www.orangepi.org/orange%20pi%203g-iot-256mb%20-A/

Auf dieser habe ich Ubuntu 16.04. installiert und per W-Lan ist der Orange mit meiner Fritz-Box verbunden.

Wenn ich ein update starte gibt es nur Fehler:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
root@localhost:~# apt update 
Err:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Err:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Err:3 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Err:4 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
  Temporary failure resolving 'ports.ubuntu.com'
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-backports/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial-security/InRelease  Temporary failure resolving 'ports.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

ip add liefert das:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
root@localhost:~# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether 1a:26:86:5e:77:ea brd ff:ff:ff:ff:ff:ff
3: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
    link/ether 4e:a0:ea:27:41:62 brd ff:ff:ff:ff:ff:ff
4: tunl0: <NOARP> mtu 1480 qdisc noop state DOWN group default 
    link/ipip 0.0.0.0 brd 0.0.0.0
5: sit0: <NOARP> mtu 1480 qdisc noop state DOWN group default 
    link/sit 0.0.0.0 brd 0.0.0.0
6: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN group default 
    link/tunnel6 :: brd ::
7: ccmni0: <NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 26:47:d8:50:67:89 brd ff:ff:ff:ff:ff:ff
8: ccmni1: <NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 7e:03:e7:f8:e0:3e brd ff:ff:ff:ff:ff:ff
9: ccmni2: <NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether c2:85:76:c5:e0:73 brd ff:ff:ff:ff:ff:ff
10: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:08:22:cc:9c:fb brd ff:ff:ff:ff:ff:ff
    inet 192.168.178.53/24 brd 192.168.178.255 scope global wlan0
    inet6 fe80::208:22ff:fecc:9cfb/64 scope link 
       valid_lft forever preferred_lft forever

Somit würde ich sagen die W-Lanverbindung steht.

Wenn ich versuche zu pingen bekomme ich diese Meldung:

1
2
root@localhost:~# ping 8.8.8.8
-bash: ping: command not found

cat /proc/version liefert das:

1
Linux version 3.4.67 (pmm@pmm) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Thu Nov 29 11:11:10 CST 2018

Hat jemand eine Idee wie ich die Verbindung testen kann?

Danke schonmal

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 18220

Wohnort: in deinem Browser, hier auf dem Bildschirm

Zeige

cat /etc/resolv.conf
nslookup heise.de 192.168.178.1
ip route show

christofj

(Themenstarter)

Anmeldungsdatum:
13. Dezember 2017

Beiträge: 20

cat /etc/resolv.conf:

1
2
3
domain fritz.box
search fritz.box
nameserver 192.168.178.1

nslookup heise.de 192.168.178.1:

1
-bash: nslookup: command not found

ip route show:

1
2
default via 192.168.178.1 dev wlan0
192.168.178.0/24 dev wlan0  proto kernel  scope link  src 192.168.178.53 

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 18220

Wohnort: in deinem Browser, hier auf dem Bildschirm

Da fehlen essentielle Dinge. Lade mal bitte das Paket dnsutils für xenial von packages.ubuntu.com runter und installiere es. https://packages.ubuntu.com/xenial-updates/dnsutils

Antworten |