Portál AbcLinuxu, 12. května 2025 11:38
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: php5-mysql 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 76.8 kB of archives. After this operation, 299 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! php5-mysql Install these packages without verification [y/N]? y Err http://security.debian.org/ squeeze/updates/main php5-mysql amd64 5.3.3-7+squeeze1 Could not resolve 'security.debiaFailReason: ResolveFailure Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-mysql_5.3.3-7+squeeze1_amd64.deb Could not resolve 'security.debiaFailReason: ResolveFailure E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Řešení dotazu:
Err http://ftp.cz.debian.org squeeze Release.gpg Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Err http://ftp.cz.debian.org/debian/ squeeze/main Translation-en Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Err http://ftp.cz.debian.org squeeze-updates Release.gpg Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Err http://ftp.cz.debian.org/debian/ squeeze-updates/contrib Translation-en Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Err http://security.debian.org squeeze/updates Release.gpg Could not resolve 'security.debiaFailReason: ResolveFailure Err http://security.debian.org/ squeeze/updates/contrib Translation-en Could not resolve 'security.debiaFailReason: ResolveFailure Err http://security.debian.org/ squeeze/updates/main Translation-en Could not resolve 'security.debiaFailReason: ResolveFailure Err http://ftp.cz.debian.org/debian/ squeeze-updates/main Translation-en Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05] squeeze Release.gpg Ign http://security.debian.org squeeze/updates Release Ign http://ftp.cz.debian.org squeeze Release Ign http://ftp.cz.debian.org squeeze-updates Release Ign http://security.debian.org squeeze/updates/main Sources/DiffIndex Ign http://security.debian.org squeeze/updates/contrib Sources/DiffIndex Ign http://security.debian.org squeeze/updates/main amd64 Packages/DiffIndex Ign http://security.debian.org squeeze/updates/contrib amd64 Packages/DiffIndex Ign http://ftp.cz.debian.org squeeze/main Sources/DiffIndex Ign http://ftp.cz.debian.org squeeze/main amd64 Packages/DiffIndex Err http://security.debian.org squeeze/updates/main Sources Could not resolve 'security.debiaFailReason: ResolveFailure Err http://security.debian.org squeeze/updates/contrib Sources Could not resolve 'security.debiaFailReason: ResolveFailure Err http://security.debian.org squeeze/updates/main amd64 Packages Could not resolve 'security.debiaFailReason: ResolveFailure Ign http://ftp.cz.debian.org squeeze-updates/main Sources/DiffIndex Ign http://ftp.cz.debian.org squeeze-updates/contrib Sources/DiffIndex Ign http://ftp.cz.debian.org squeeze-updates/main amd64 Packages/DiffIndex Ign http://ftp.cz.debian.org squeeze-updates/contrib amd64 Packages/DiffIndex Err http://ftp.cz.debian.org squeeze/main Sources Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Err http://security.debian.org squeeze/updates/contrib amd64 Packages Could not resolve 'security.debiaFailReason: ResolveFailure Err http://ftp.cz.debian.org squeeze/main amd64 Packages Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Err http://ftp.cz.debian.org squeeze-updates/main Sources Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Err http://ftp.cz.debian.org squeeze-updates/contrib Sources Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Err http://ftp.cz.debian.org squeeze-updates/main amd64 Packages Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Err http://ftp.cz.debian.org squeeze-updates/contrib amd64 Packages Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05]/ squeeze/contrib Translation-en Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05]/ squeeze/main Translation-en Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05] squeeze Release Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05] squeeze/contrib amd64 Packages/DiffIndex Ign cdrom://[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 DVD Binary-1 20110322-16:05] squeeze/main amd64 Packages/DiffIndex W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze/Release.gpg Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze/main/i18n/Translation-en.gz Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg Could not resolve 'security.debiaFailReason: ResolveFailure W: Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en.gz Could not resolve 'security.debiaFailReason: ResolveFailure W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en.gz Could not resolve 'security.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/Release.gpg Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/contrib/i18n/Translation-en.gz Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en.gz Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/source/Sources.gz Could not resolve 'security.debiaFailReason: ResolveFailure W: Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/source/Sources.gz Could not resolve 'security.debiaFailReason: ResolveFailure W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/binary-amd64/Packages.gz Could not resolve 'security.debiaFailReason: ResolveFailure W: Failed to fetch http://security.debian.org/dists/squeeze/updates/contrib/binary-amd64/Packages.gz Could not resolve 'security.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze/main/source/Sources.gz Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/main/source/Sources.gz Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/contrib/source/Sources.gz Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/main/binary-amd64/Packages.gz Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure W: Failed to fetch http://ftp.cz.debian.org/debian/dists/squeeze-updates/contrib/binary-amd64/Packages.gz Could not resolve 'ftp.cz.debiaFailReason: ResolveFailure E: Some index files failed to download, they have been ignored, or old ones used instead.Pokud použiju apt-get install php-mysql --fix-missing
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php-mysql
ping www.seznam.cz
?
ping: unknown host www.seznam.cz
nameserver 8.8.8.8
# 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 auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.0.138 nameserver 192.168.0.138192.168.0.2 to je ip serveru 192.168.0.138 to je ip modemu V pc kde mám windows používám taky jen tyto ip (samozřejmě ip pc je jiná), ale jde to jak má. Co se týče DNS serverů, tak ty mám v modemu nastaveny na google.
connect: Network is unreachable
Aha, ten soubor interfaces je poněkud špatně. Chybí tam výchozí brána.
Předpokládám, že toto
network 192.168.0.138
mělo být spíše
gateway 192.168.0.138 network 192.168.0.0
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.