jooba
Anmeldungsdatum: 25. Mai 2015
Beiträge: Zähle...
|
Hallo liebes Forum, Vorerst, ich bin relativ neu in Sachen Ubuntu. Für mein Problem habe ich bereits die Lösung gefunden, jedoch muss ich den Vorgang jedes mal machen wenn ich meinen PC neustarte. Deshalb möchte ich gerne wissen, was die Befehle genau machen und ob es eine Möglichkeit gibt, dass ich den Vorgang nicht jedes mal neu machen muss. Zu meinem Problem: Wenn ich übers Terminal (oder auch sonstwo) Updates holen will, bleibt dieser Vorgang hängen. Über das Ausschlussverfahren habe ich herausgefunden, dass es an den Aktualisierungen von "trusty-security" und "trusty-updates" liegt. Es scheint, dass ich keine Verbindung zu deren Servern bekomme. Die Lösung: Sind folge Befehle zuvor ins Terminal einzugeben:
(Abschalten von ipv6 bzw. bevorzugen von ipv4.)(?) echo "#disable ipv6" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p Was genau machen diese Befehle ? Gibt es eine Möglichkeit, dies nicht immer nach einem Neustart durchführen zu müssen? Auf die Lösung bin ich hierdurch gekommen: http://askubuntu.com/questions/272796/connecting-to-archive-ubuntu-com-takes-too-long Vielen Dank, jooba
|
redfoxx13
Anmeldungsdatum: 14. August 2009
Beiträge: 4267
|
jooba schrieb:
Über das Ausschlussverfahren habe ich herausgefunden, dass es an den Aktualisierungen von "trusty-security" und "trusty-updates" liegt.
Zeige doch mal cat /etc/apt/sources.list
|
jooba
(Themenstarter)
Anmeldungsdatum: 25. Mai 2015
Beiträge: 3
|
jooba@jooba:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
## Major bug fix updates produced after the final release of the
## distribution.
## 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.
## 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.
## 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.
## 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 trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
## 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://de.archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ trusty restricted main universe multiverse #Added by software-properties
deb http://security.ubuntu.com/ubuntu/ trusty-security multiverse restricted universe main
deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse restricted universe main
Aber wie gesagt, mein Problem ist ja eigtl "gelöst". Nur möchte ich es nicht immer eingeben müssen.
|
redfoxx13
Anmeldungsdatum: 14. August 2009
Beiträge: 4267
|
Öffne übers Terminal
software-properties-gtk
und stelle vom Deutschen Server auf den Hauptserver um. Anachließend sudo apt-get update && sudo apt-get dist-upgrade Fehlermeldungen bitte posten.
|
Lidux
Anmeldungsdatum: 18. April 2007
Beiträge: 15844
|
Hallo jooba, Und poste den Inhalt von: cat /etc/sysctl.conf PS: Welchen Internetanbieter hast du ? Gruss Lidux
|
Mocke47
Anmeldungsdatum: 7. März 2011
Beiträge: Zähle...
|
Hallo, habe mir Ubuntu Mate 15.04 (64 bit) installiert und hatte genau dieses Problem. Meine Lösung des Problems: 1. Habe einfach in Einstellungen/Sonstiges/Anwendungen&Aktualisierungen bei Herunterladen von: Deutschen Server auf Hauptserver umgestellt, die Paketaktualisierung abgebrochen und Neustart durchgeführt.
2. Nach Neustart wieder in Einstellungen...(siehe erster Schritt) und wieder auf Deutschen Server umgestellt und Neustart.
3. Terminal geöffnet und folgendes eingegeben: sudo apt update
sudo apt dist-upgrade Kann nicht erklären warum, aber so lief es sauber bei mir durch. Mocke47
|
jooba
(Themenstarter)
Anmeldungsdatum: 25. Mai 2015
Beiträge: 3
|
Hallo, Internet-Anbieter ist T-Online. cat /etc/sysctl.conf :
jooba@jooba:~$ cat /etc/sysctl.conf
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3
##############################################################3
# Functions previously found in netbase
#
# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1
# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
#net.ipv4.tcp_syncookies=1
# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1
# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1
###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
#disable ipv6
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
#disable ipv6
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
jooba@jooba:~$ sudo apt-get update && sudo apt-get dist-upgrade : (nach Umstellung auf Hauptserver)
jooba@jooba:~$ sudo apt-get update && sudo apt-get dist-upgrade
[sudo] password for jooba:
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
OK http://ppa.launchpad.net trusty Release.gpg
OK http://ppa.launchpad.net trusty Release.gpg
OK http://repository.spotify.com stable InRelease
OK http://ppa.launchpad.net trusty Release
OK http://repository.spotify.com stable/non-free amd64 Packages
OK http://ppa.launchpad.net trusty Release
OK http://repository.spotify.com stable/non-free i386 Packages
OK http://ppa.launchpad.net trusty/main Sources
OK http://ppa.launchpad.net trusty/main amd64 Packages
OK http://ppa.launchpad.net trusty/main i386 Packages
OK http://ppa.launchpad.net trusty/main Translation-en
OK http://ppa.launchpad.net trusty/main Sources
OK http://ppa.launchpad.net trusty/main amd64 Packages
OK http://ppa.launchpad.net trusty/main i386 Packages
Ign https://private-ppa.launchpad.net trusty InRelease
OK http://ppa.launchpad.net trusty/main Translation-en
Ign http://repository.spotify.com stable/non-free Translation-de_DE
Ign http://repository.spotify.com stable/non-free Translation-de
Ign http://repository.spotify.com stable/non-free Translation-en
OK https://private-ppa.launchpad.net trusty Release.gpg
OK https://private-ppa.launchpad.net trusty Release
OK https://private-ppa.launchpad.net trusty/main amd64 Packages
OK https://private-ppa.launchpad.net trusty/main i386 Packages
Ign https://private-ppa.launchpad.net trusty/main Translation-de_DE
Ign https://private-ppa.launchpad.net trusty/main Translation-de
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign http://extras.ubuntu.com trusty InRelease
OK http://extras.ubuntu.com trusty Release.gpg
OK http://extras.ubuntu.com trusty Release
OK http://extras.ubuntu.com trusty/main Sources
OK http://extras.ubuntu.com trusty/main amd64 Packages
OK http://extras.ubuntu.com trusty/main i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-de_DE
Ign http://extras.ubuntu.com trusty/main Translation-de
Ign http://extras.ubuntu.com trusty/main Translation-en
100% [Verbindung mit archive.canonical.com (2001:67c:1360:8c01::1b)] [Verbindun Er lädt ab da nicht weiter. Gruß
|
redfoxx13
Anmeldungsdatum: 14. August 2009
Beiträge: 4267
|
Hi jooba Beim Einbinden von Fremdquellen sollte man wissen was man macht. Öffne nochmal software-properties und entferne die ppa. Anschließend den Update Befehl wiederholen.
|
Eidolon
Anmeldungsdatum: 19. Oktober 2010
Beiträge: 8
Wohnort: Hamburg Megaplex
|
Fehlt nur noch die Erklärung was er denn genau falsch gemacht hat.
|
lubux
Anmeldungsdatum: 21. November 2012
Beiträge: 13893
|
jooba schrieb: Was genau machen diese Befehle ? Gibt es eine Möglichkeit, dies nicht immer nach einem Neustart durchführen zu müssen?
Diese Befehle deaktivieren IPv6. Jetzt hast Du das schon 5x in deiner sysctl.conf. 1x reicht. Lösche mal die letzten 4:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Das musst Du nicht nach jedem Neustart durchführen. Siehe sofort (d. h. ohne Änderungen) nach dem Neustart, die Ausgabe von:
ifconfig | grep -i inet6
|
Alphavil
Anmeldungsdatum: 24. Oktober 2007
Beiträge: 61
Wohnort: kingslake
|
Ich bin langsam am Verzweifeln, egal was ich mache (habe z.B. die sources.list geändert) ich bekomme immer folgende Meldung: | Get:1 http://de.archive.ubuntu.com trusty Release.gpg [3813 B]
Get:2 http://security.ubuntu.com trusty-security Release.gpg [3813 B]
Get:3 http://security.ubuntu.com trusty-security Release [3813 B]
Get:4 http://extras.ubuntu.com trusty Release.gpg [3813 B]
Get:5 http://extras.ubuntu.com trusty Release [3813 B]
Ign http://security.ubuntu.com trusty-security Release
E: GPG error: http://security.ubuntu.com trusty-security Release: The following signatures were invalid: NODATA 1 NODATA 2
|
Habe schon sämtliche Foren durchsucht aber nichts hat geholfen 😕 Hoffe Ihr könnt mir igendwie helfen, Danke schon mal Version: 12.04.5 LTS sources.list:
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
28
29
30
31
32
33
34
35
36
37
38
39
40 | # deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
## Major bug fix updates produced after the final release of the
## distribution.
## 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.
## 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.
## 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.
## 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 trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
## 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://de.archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ trusty restricted main universe multiverse #Added by software-properties
deb http://security.ubuntu.com/ubuntu/ trusty-security multiverse restricted universe main
deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse restricted universe main
|
|
Mocke47
Anmeldungsdatum: 7. März 2011
Beiträge: 11
|
Hallo jooba, bei mir hing es genau an der selben Stelle: gn http://extras.ubuntu.com trusty/main Translation-de_DE
Ign http://extras.ubuntu.com trusty/main Translation-de
Ign http://extras.ubuntu.com trusty/main Translation-en
100% [Verbindung mit archive.canonical.com (2001:67c:1360:8c01::1b)] [Verbindun Habe Mate (testhalber) nochmal neu installiert und es funktioniert mit einfacher Serverumstellung (Deutscher auf Haupt und zurück) super, auch die erneuten Aktualisierungen laufen dann sauber durch. Mocke47
|
lubux
Anmeldungsdatum: 21. November 2012
Beiträge: 13893
|
Mocke47 schrieb:
100% [Verbindung mit archive.canonical.com (2001:67c:1360:8c01::1b)] [Verbindun
Hast Du Dual Stack oder Dual Stack-lite?
|
Alphavil
Anmeldungsdatum: 24. Oktober 2007
Beiträge: 61
Wohnort: kingslake
|
Oh ist mir gar nicht aufgefallen, wieso nimmt er da eine IPv6 Adresse ? Wo kann ich das den umstellen/abstellen?
|
lubux
Anmeldungsdatum: 21. November 2012
Beiträge: 13893
|
Alphavil schrieb: Oh ist mir gar nicht aufgefallen, wieso nimmt er da eine IPv6 Adresse ?
Weil dein Internet-Anschluss evtl. IPv6-fähig ist, oder etwa nicht?
|