Linux Debian und Ubuntu können keine Pakete installieren
Basti2 (Level 1) - Jetzt verbinden
05.02.2016, aktualisiert 19:46 Uhr, 3598 Aufrufe, 18 Kommentare, 1 Danke
Guten Abend zusammen,
Ich habe heute meinen Home Server Neu aufgesetzt(Debian). Nach dem neu aufsetzten wollte Ich mit "apt-get install xrdp", xrdp installieren dies hat leider nicht funktioniert,
deshalb habe Ich als alternative versucht sshd zu installieren, bei beidem kam Die Meldung das, dass Paket nicht gefunden werden konnte.
Da sich keine Lösung finden ließ, wurde Ubuntu Server installiert. Jedoch traten die selben Probleme auf.
Internet Verbindung besteht(hab Sie einmal mit ping und einmal mit wget ausprobiert).
Als Hinweiß noch , bei Ubuntu konnte während der Installation Openssh installiert werden, dies funktioniert auch ohne Probleme.
Mit Freundlichen Grüßen
Basti
Ich habe heute meinen Home Server Neu aufgesetzt(Debian). Nach dem neu aufsetzten wollte Ich mit "apt-get install xrdp", xrdp installieren dies hat leider nicht funktioniert,
deshalb habe Ich als alternative versucht sshd zu installieren, bei beidem kam Die Meldung das, dass Paket nicht gefunden werden konnte.
Da sich keine Lösung finden ließ, wurde Ubuntu Server installiert. Jedoch traten die selben Probleme auf.
Internet Verbindung besteht(hab Sie einmal mit ping und einmal mit wget ausprobiert).
Als Hinweiß noch , bei Ubuntu konnte während der Installation Openssh installiert werden, dies funktioniert auch ohne Probleme.
Mit Freundlichen Grüßen
Basti
18 Antworten
- LÖSUNG BirdyB schreibt am 05.02.2016 um 19:06:12 Uhr
- LÖSUNG michi1983 schreibt am 05.02.2016 um 19:10:27 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:22:06 Uhr
- LÖSUNG BirdyB schreibt am 05.02.2016 um 19:25:36 Uhr
- LÖSUNG michi1983 schreibt am 05.02.2016 um 19:40:14 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:42:32 Uhr
- LÖSUNG michi1983 schreibt am 05.02.2016 um 19:40:14 Uhr
- LÖSUNG BirdyB schreibt am 05.02.2016 um 19:25:36 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:23:51 Uhr
- LÖSUNG BirdyB schreibt am 05.02.2016 um 19:28:17 Uhr
- LÖSUNG BirdyB schreibt am 05.02.2016 um 19:30:43 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:33:52 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:36:55 Uhr
- LÖSUNG LordGurke schreibt am 05.02.2016 um 19:38:10 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:39:55 Uhr
- LÖSUNG LordGurke schreibt am 05.02.2016 um 19:41:58 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:43:52 Uhr
- LÖSUNG michi1983 schreibt am 05.02.2016 um 19:44:27 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:46:13 Uhr
- LÖSUNG michi1983 schreibt am 05.02.2016 um 22:26:42 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:46:13 Uhr
- LÖSUNG LordGurke schreibt am 05.02.2016 um 19:41:58 Uhr
- LÖSUNG Basti2 schreibt am 05.02.2016 um 19:39:55 Uhr
- LÖSUNG BirdyB schreibt am 05.02.2016 um 19:30:43 Uhr
- LÖSUNG BirdyB schreibt am 05.02.2016 um 19:28:17 Uhr
LÖSUNG 05.02.2016 um 19:06 Uhr
Hi Basti,
hast du vorher mal ein apt-get update gemacht?
Beste Grüße!
Berthold
hast du vorher mal ein apt-get update gemacht?
Beste Grüße!
Berthold
LÖSUNG 05.02.2016, aktualisiert um 19:11 Uhr
Hallo,
wie gelangt der Server denn ins Internet?
Hast du das ganze mit root ausgeführt?
Bitte die Ausgaben von
Gruß
wie gelangt der Server denn ins Internet?
Hast du das ganze mit root ausgeführt?
sudo apt-get update && sudo apt-get upgrade
Bitte die Ausgaben von
ifconfig -a
cat /etc/network/interfaces
ping 8.8.8.8
ping www.heise.de
nslookup www.heise.de
tracert www.heiße.de
cat /etc/apt/sources.lst
Gruß
LÖSUNG 05.02.2016 um 19:22 Uhr
Ja ich habe zuvor ein apt-get Update und auch ein upgrade gemacht,
ich war auch als root eingeloggt und habe es zusätzlich mit sudo ausgeführt
basti@135404:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:18:38:02:02:f6
inet addr:192.168.2.125 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: 2003:40:6f6c:ea35:218:38ff:fe02:2f6/64 Scope:Global
inet6 addr: fe80::218:38ff:fe02:2f6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:199 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15450 (15.4 KB) TX bytes:8621 (8.6 KB)
Interrupt:47 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
basti@135404:~$ cat /etc/network/interfaces
iface lo inet loopback
iface eth0 inet dhcp
basti@135404:ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=53 time=31.1 ms
basti@135404:~$ ping www.heise.de
PING www.heise.de (193.99.144.85) 56(84) bytes of data.
64 bytes from www.heise.de (193.99.144.85): icmp_req=1 ttl=248 time=24.7 ms
64 bytes from www.heise.de (193.99.144.85): icmp_req=2 ttl=248 time=35.1 ms
basti@135404:~$ nslookup www.heise.de
Server: 192.168.2.1
Address: 192.168.2.1#53
Non-authoritative answer:
Name: www.heise.de
Address: 193.99.144.85
basti@135404:~$ tracert www.heiße.de
No command 'tracert' found, did you mean:
Command 'tracert6' from package 'ndisc6' (universe)
Command 'tracer' from package 'pvm-dev' (universe)
tracert: command not found
basti@135404:~$ cat /etc/apt/sources.lst
cat: /etc/apt/sources.lst: No such file or directory
ich war auch als root eingeloggt und habe es zusätzlich mit sudo ausgeführt
basti@135404:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:18:38:02:02:f6
inet addr:192.168.2.125 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: 2003:40:6f6c:ea35:218:38ff:fe02:2f6/64 Scope:Global
inet6 addr: fe80::218:38ff:fe02:2f6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:199 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15450 (15.4 KB) TX bytes:8621 (8.6 KB)
Interrupt:47 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
basti@135404:~$ cat /etc/network/interfaces
- This file describes the network interfaces available on your system
- and how to activate them. For more information, see interfaces(5).
- The loopback network interface
iface lo inet loopback
- The primary network interface
iface eth0 inet dhcp
basti@135404:ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=53 time=31.1 ms
basti@135404:~$ ping www.heise.de
PING www.heise.de (193.99.144.85) 56(84) bytes of data.
64 bytes from www.heise.de (193.99.144.85): icmp_req=1 ttl=248 time=24.7 ms
64 bytes from www.heise.de (193.99.144.85): icmp_req=2 ttl=248 time=35.1 ms
basti@135404:~$ nslookup www.heise.de
Server: 192.168.2.1
Address: 192.168.2.1#53
Non-authoritative answer:
Name: www.heise.de
Address: 193.99.144.85
basti@135404:~$ tracert www.heiße.de
No command 'tracert' found, did you mean:
Command 'tracert6' from package 'ndisc6' (universe)
Command 'tracer' from package 'pvm-dev' (universe)
tracert: command not found
basti@135404:~$ cat /etc/apt/sources.lst
cat: /etc/apt/sources.lst: No such file or directory
LÖSUNG 05.02.2016 um 19:23 Uhr
ach ja wenn ich apt-get update mache kommen viele solcher fehler"W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/natty-security/restricted/sourc ... 404 Not Found [IP: 2001:67c:1562::17 80]
"
"
LÖSUNG 05.02.2016 um 19:25 Uhr
Gab es bei apt-get update schon Fehlermeldungen?
Ansonsten: cat /etc/apt/sources.list
da hatte michi einen Typo drin...
Ansonsten: cat /etc/apt/sources.list
da hatte michi einen Typo drin...
LÖSUNG 05.02.2016 um 19:28 Uhr
Zitat von @Basti2:
ach ja wenn ich apt-get update mache kommen viele solcher fehler"W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/natty-security/restricted/sourc ... 404 Not Found [IP: 2001:67c:1562::17 80]
"
Aha, die Info wäre am Anfang sehr hilfreich gewesen...ach ja wenn ich apt-get update mache kommen viele solcher fehler"W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/natty-security/restricted/sourc ... 404 Not Found [IP: 2001:67c:1562::17 80]
"
Dein Rechner möchte die Verbindung gerne über IPv6 aufbauen. Hast du IPv6-Konnektivität? Falls nein (wahrscheinlich) haben wir das Problem gefunden...
LÖSUNG 05.02.2016 um 19:30 Uhr
Probier mal bitte:
apt-get -o Acquire::ForceIPv4=true update
apt-get -o Acquire::ForceIPv4=true update
LÖSUNG 05.02.2016 um 19:33 Uhr
da kommen wieder Verbindungs Fehler..
LÖSUNG 05.02.2016 um 19:36 Uhr
achso . tut mir leid an die info hab ich leider nicht gedacht. Was soll ich jetzt tun?
LÖSUNG 05.02.2016 um 19:38 Uhr
Zitat von @BirdyB:
Dein Rechner möchte die Verbindung gerne über IPv6 aufbauen. Hast du IPv6-Konnektivität? Falls nein (wahrscheinlich) haben wir das Problem gefunden...
Dein Rechner möchte die Verbindung gerne über IPv6 aufbauen. Hast du IPv6-Konnektivität? Falls nein (wahrscheinlich) haben wir das Problem gefunden...
Dann käme aber kein 404-Fehler, sondern ein Timeout oder "Network unreachable"...
LÖSUNG 05.02.2016 um 19:39 Uhr
Es tritt doch ein 404 Fehler auf oder nicht: "W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/natty-security/restricted/sourc ... 404 Not Found [IP: 2001:67c:1562::17 80]"
LÖSUNG 05.02.2016 um 19:40 Uhr
Zitat von @BirdyB:
Gab es bei apt-get update schon Fehlermeldungen?
Ansonsten: cat /etc/apt/sources.list
da hatte michi einen Typo drin...
Jap, mein Fehler.Gab es bei apt-get update schon Fehlermeldungen?
Ansonsten: cat /etc/apt/sources.list
da hatte michi einen Typo drin...
Die Liste wäre trotzdem interessant.
LÖSUNG 05.02.2016, aktualisiert 09.02.2016
Ähhh... Mal unter uns... Aus welcher alten Kiste hat dir dein Opa denn das Installationsmedium vermacht?
Der Support für Ubuntu Natty ist 2012 (!!!) ausgelaufen. Deshalb findest du heute auch diese Pakete nicht mehr auf den Ubuntu-Servern. Daher auch Fehler 404.

Es liegt eben NICHT am Netzwerk, sondern daran dass die Daten auf den eingestellten Mirror-Servern schlicht und ergreifend nicht vorhanden sind.
Der Support für Ubuntu Natty ist 2012 (!!!) ausgelaufen. Deshalb findest du heute auch diese Pakete nicht mehr auf den Ubuntu-Servern. Daher auch Fehler 404.
Es tritt doch ein 404 Fehler auf oder nicht: "W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/natty-security/restricted/sourc ... 404 Not Found [IP: 2001:67c:1562::17 80]"
Ja, genau das war doch meine Feststellung? Es liegt eben NICHT am Netzwerk, sondern daran dass die Daten auf den eingestellten Mirror-Servern schlicht und ergreifend nicht vorhanden sind.
LÖSUNG 05.02.2016 um 19:42 Uhr
root@135404:/home/basti# cat /etc/apt/sources.list
- deb cdrom:[Ubuntu-Server 11.04 _Natty Narwhal_ - Release i386 (20110426)]/ natty main restricted
#deb cdrom:[Ubuntu-Server 11.04 _Natty Narwhal_ - Release i386 (20110426)]/ natty main restricted
- See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
- newer versions of the distribution.
deb-src http://de.archive.ubuntu.com/ubuntu/ natty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ natty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://de.archive.ubuntu.com/ubuntu/ natty universe
deb http://de.archive.ubuntu.com/ubuntu/ natty-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ natty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ natty multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ natty multiverse
deb http://de.archive.ubuntu.com/ubuntu/ natty-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ natty-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
- deb http://de.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
- deb-src http://de.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu natty-security main restricted
deb http://security.ubuntu.com/ubuntu natty-security universe
deb-src http://security.ubuntu.com/ubuntu natty-security universe
deb http://security.ubuntu.com/ubuntu natty-security multiverse
deb-src http://security.ubuntu.com/ubuntu natty-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
- deb http://archive.canonical.com/ubuntu natty partner
- deb-src http://archive.canonical.com/ubuntu natty partner
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
- deb http://extras.ubuntu.com/ubuntu natty main
- deb-src http://extras.ubuntu.com/ubuntu natty main
LÖSUNG 05.02.2016 um 19:43 Uhr
Zitat von @LordGurke:
Ähhh... Mal unter uns... Aus welcher alten Kiste hat dir dein Opa denn das Installationsmedium vermacht?
Der Support für Ubuntu Natty ist 2012 (!!!) ausgelaufen. Deshalb findest du heute auch diese Pakete nicht mehr auf den Ubuntu-Servern. Daher auch Fehler 404.
Ähhh... Mal unter uns... Aus welcher alten Kiste hat dir dein Opa denn das Installationsmedium vermacht?
Der Support für Ubuntu Natty ist 2012 (!!!) ausgelaufen. Deshalb findest du heute auch diese Pakete nicht mehr auf den Ubuntu-Servern. Daher auch Fehler 404.
Ich dachte ich hätte eine aktuelle Version . bzw dachte ich das bei einem Upgrade alle Daten erneuert werden
LÖSUNG 05.02.2016, aktualisiert um 19:46 Uhr
Zitat von @LordGurke:
Ähhh... Mal unter uns... Aus welcher alten Kiste hat dir dein Opa denn das Installationsmedium vermacht?
Der Support für Ubuntu Natty ist 2012 (!!!) ausgelaufen. Deshalb findest du heute auch diese Pakete nicht mehr auf den Ubuntu-Servern. Daher auch Fehler 404.
Korrekt.Ähhh... Mal unter uns... Aus welcher alten Kiste hat dir dein Opa denn das Installationsmedium vermacht?
Der Support für Ubuntu Natty ist 2012 (!!!) ausgelaufen. Deshalb findest du heute auch diese Pakete nicht mehr auf den Ubuntu-Servern. Daher auch Fehler 404.
Ändere alle (xx.)archive.ubuntu.com Einträge in der sources.list auf old-releases.ubuntu.com, dann klappts mit dem Update.
Aber da kannst du dir gleich eine aktuelle Distribution laden und installieren
LÖSUNG 05.02.2016 um 19:46 Uhr
Ändere alle (xx.)archive.ubuntu.com Einträge in der sources.list auf old-releases.ubuntu.com, dann klappts mit dem Update.
Aber da kannst du dir gleich eine aktuelle Distribution laden und installieren
Aber da kannst du dir gleich eine aktuelle Distribution laden und installieren
ok ,vielen Danke. Ich hätte eigentlich gedacht die DVD sei noch aktuell, hab sie wohl vertauscht.
Dann werd ich morgen mal eine Neue Version Herunterladen und hoffen das alles geht.
LÖSUNG 05.02.2016 um 22:26 Uhr
Mach das, ist sicher die beste Lösung 
Fairerweise solltest du den Hinweis auf die veraltete Version von @LordGurke auch als Lösung markieren.
Schönen Abend allesamt.
Gruß
Fairerweise solltest du den Hinweis auf die veraltete Version von @LordGurke auch als Lösung markieren.
Schönen Abend allesamt.
Gruß