Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "
Tipps und Tricks"-Bereich.
-
gothic-guru
- Beiträge: 17
- Registriert: 22.04.2006 14:17:41
Beitrag
von gothic-guru » 20.06.2011 14:45:36
Hallo,
ich hab mir grade Debian 6 auf meinem Rechner installiert. Wenn ich mit
neue Paketlisten ziehen will bekomme ich nur folgende Meldung:
Code: Alles auswählen
Err http://security.debian.org squeeze/updates Release.gpg
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/main Translation-en
Could not resolve 'security.debian.org'
Err http://security.debian.org/ squeeze/updates/main Translation-en_US
Could not resolve 'security.debian.org'
Err http://ftp.informatik.rwth-aachen.de squeeze Release.gpg
Could not resolve 'ftp.informatik.rwth-aachen.de'
Err http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ squeeze/main Translation-en
Could not resolve 'ftp.informatik.rwth-aachen.de'
Err http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ squeeze/main Translation-en_US
Could not resolve 'ftp.informatik.rwth-aachen.de'
Err http://ftp.informatik.rwth-aachen.de squeeze-updates Release.gpg
Could not resolve 'ftp.informatik.rwth-aachen.de'
Err http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ squeeze-updates/main Translation-en
Could not resolve 'ftp.informatik.rwth-aachen.de'
Err http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/ squeeze-updates/main Translation-en_US
Could not resolve 'ftp.informatik.rwth-aachen.de'
Reading package lists... Done
W: Failed to fetch http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/dists/squeeze/Release.gpg Could not resolve 'ftp.informatik.rwth-aachen.de'
W: Failed to fetch http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/dists/squeeze/main/i18n/Translation-en.gz Could not resolve 'ftp.informatik.rwth-aachen.de'
W: Failed to fetch http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/dists/squeeze/main/i18n/Translation-en_US.gz Could not resolve 'ftp.informatik.rwth-aachen.de'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en_US.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/dists/squeeze-updates/Release.gpg Could not resolve 'ftp.informatik.rwth-aachen.de'
W: Failed to fetch http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/dists/squeeze-updates/main/i18n/Translation-en.gz Could not resolve 'ftp.informatik.rwth-aachen.de'
W: Failed to fetch http://ftp.informatik.rwth-aachen.de/ftp/pub/Linux/debian/dists/squeeze-updates/main/i18n/Translation-en_US.gz Could not resolve 'ftp.informatik.rwth-aachen.de'
W: Some index files failed to download, they have been ignored, or old ones used instead.
mit
kann ich die URLs aber Problemlos aufloesen. Ping geht auch. Ich verstehe das Problem nicht.
Kann mir da einer helfen??
-
syssi
- Beiträge: 2951
- Registriert: 24.12.2010 16:50:59
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Rheinland
Beitrag
von syssi » 20.06.2011 14:55:09
Poste mal den Inhalt deiner /etc/resolv.conf . Außerdem wären die Inhalte von /etc/apt/apt.conf und /etc/apt/apt.conf.d/* interessant.
Gruss syssi
-
gothic-guru
- Beiträge: 17
- Registriert: 22.04.2006 14:17:41
Beitrag
von gothic-guru » 20.06.2011 15:13:21
/etc/resolve.conf:
Code: Alles auswählen
nameserver 217.5.100.185
nameserver 217.5.100.186
nameserver 217.0.43.33
/etc/apt/apt.conf:
Die Datei existiert bei mir nicht.
/etc/apt/apt.conf.d/*:
Code: Alles auswählen
::::::::::::::
00CDMountPoint
::::::::::::::
Acquire::cdrom {
mount "/media/cdrom";
}
Dir::Media::MountPath "/media/cdrom";
::::::::::::::
00trustcdrom
::::::::::::::
APT::Authentication::TrustCDROM "true";
::::::::::::::
01autoremove
::::::::::::::
APT
{
NeverAutoRemove
{
"^firmware-linux.*";
"^linux-firmware$";
"^linux-image.*";
"^kfreebsd-image.*";
"^linux-restricted-modules.*";
"^linux-ubuntu-modules-.*";
};
Never-MarkAuto-Sections
{
"metapackages";
"restricted/metapackages";
"universe/metapackages";
"multiverse/metapackages";
"oldlibs";
"restricted/oldlibs";
"universe/oldlibs";
"multiverse/oldlibs";
};
};
::::::::::::::
20listchanges
::::::::::::::
DPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt || test $? -ne 10"; };
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
::::::::::::::
70debconf
::::::::::::::
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};
-
syssi
- Beiträge: 2951
- Registriert: 24.12.2010 16:50:59
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Rheinland
Beitrag
von syssi » 20.06.2011 15:33:23
Okay, dort liegt der Hund nicht begraben. Als naechste wuerde ich wireshark oder tcpdump anwerfen und beobachten, ob ein apt-get wirklich ordentliche DNS-Requests erzeugt und ob die Telekom nicht zufaellig Unsinn zurueck liefert.
-
KBDCALLS
- Moderator
- Beiträge: 22455
- Registriert: 24.12.2003 21:26:55
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Dortmund
-
Kontaktdaten:
Beitrag
von KBDCALLS » 20.06.2011 16:28:29
Will man alle Optionen sehen dann ist besser wenn man apt-conf dump benutzt. Ist das Paket resolv.conf installiert ? Man könnte vorübergehend auch die IP Adressen anstatt von Namen in sources.list benutzen.
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.
EDV ist die Abkürzung für: Ende der Vernunft
Bevor du einen Beitrag postest:
- Kennst du unsere Verhaltensregeln
- Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.
-
gothic-guru
- Beiträge: 17
- Registriert: 22.04.2006 14:17:41
Beitrag
von gothic-guru » 20.06.2011 17:25:32
@sissy
Wireshark und tcpdump hab ich leider nicht auf dem System installiert. Ich kann sie auch nicht nach installieren, da apt ja nicht funktioniert. Und den Traffic mit ettercap oder aehnlichem ueber ein anderes System umleiten wuerd ich nur sehr ungern.
Die Daten die von den DNS Servern zuruekgelierfert (siehe nslookup) werden sind uebrigens korrekt.
@KBDCALLS
Hier mal der output von apt-config dump:
Code: Alles auswählen
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/cdrom";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
CommandLine "";
CommandLine::AsString "apt-config dump";
Wie kann ich feststellen ob resolv.conf installiert ist. Wenns bei der Installation nicht dabei war dann hab ich es wohl nicht.
-
KBDCALLS
- Moderator
- Beiträge: 22455
- Registriert: 24.12.2003 21:26:55
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Dortmund
-
Kontaktdaten:
Beitrag
von KBDCALLS » 20.06.2011 17:44:24
Nix leichter als das
alternativ
Ersteres liefert immer ne Ausgabe . Sollte als erstes ein
p stehen dann ist es nicht installiert aber in der Datenbank vorhanden. Mit
dpkg steht als erstes falls installiert
ii
Ne vorübergehende Lösung als Würgaround habe ich dir ja schon genannt.
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.
EDV ist die Abkürzung für: Ende der Vernunft
Bevor du einen Beitrag postest:
- Kennst du unsere Verhaltensregeln
- Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.
-
gothic-guru
- Beiträge: 17
- Registriert: 22.04.2006 14:17:41
Beitrag
von gothic-guru » 20.06.2011 23:00:42
Ok, wenn ich die Domainname durch die IPs erstze funktionieren alle Quellen ausser security.debian.org:
Code: Alles auswählen
Ign http://212.211.132.250 squeeze/updates Release.gpg
Ign http://212.211.132.250/ squeeze/updates/main Translation-en
Ign http://212.211.132.250/ squeeze/updates/main Translation-en_US
Ign http://212.211.132.250 squeeze/updates Release
Hit http://137.226.34.227 squeeze Release.gpg
Ign http://137.226.34.227/ftp/pub/Linux/debian/ squeeze/main Translation-en
Ign http://137.226.34.227/ftp/pub/Linux/debian/ squeeze/main Translation-en_US
Hit http://137.226.34.227 squeeze-updates Release.gpg
Ign http://137.226.34.227/ftp/pub/Linux/debian/ squeeze-updates/main Translation-en
Ign http://137.226.34.227/ftp/pub/Linux/debian/ squeeze-updates/main Translation-en_US
Err http://212.211.132.250 squeeze/updates/main Sources
404 Not Found
Hit http://137.226.34.227 squeeze Release
Err http://212.211.132.250 squeeze/updates/main amd64 Packages
404 Not Found
Hit http://137.226.34.227 squeeze-updates Release
Hit http://137.226.34.227 squeeze/main Sources
Hit http://137.226.34.227 squeeze/main amd64 Packages
Hit http://137.226.34.227 squeeze-updates/main Sources/DiffIndex
Hit http://137.226.34.227 squeeze-updates/main amd64 Packages/DiffIndex
Hit http://137.226.34.227 squeeze-updates/main amd64 Packages
W: Failed to fetch http://212.211.132.250/dists/squeeze/updates/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://212.211.132.250/dists/squeeze/updates/main/binary-amd64/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
Ich hab jetzt das Paket
resolveconf installiert und die alte sources.list mit den Domainnamen noch mal getestet. Aendert leider nichts.