Автор Тема: Apt-get няма достъп до интернет  (Прочетена 767 пъти)

sickmind

  • Гост
apt-get няма достъп до интернет, докато firefox няма никакви проблеми...
10х in advance
Активен

Hapkoc

  • Напреднали
  • *****
  • Публикации: 2117
    • Профил
Apt-get няма достъп до интернет
« Отговор #1 -: Aug 15, 2006, 14:39 »
proxy?
Активен

nqkoisi

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Apt-get няма достъп до интернет
« Отговор #2 -: Aug 15, 2006, 14:45 »
apt-setup ,т.е. виж в /etc/apt/sources.list какво има описано ,ако е

deb cdrom:....

стартирай apt-setup, избери http и после си избери хранилище.



Активен

sickmind

  • Гост
Apt-get няма достъп до интернет
« Отговор #3 -: Aug 15, 2006, 14:54 »
ето го sources.list
през firefox отварям сайтовете в него без проблеми...
a apt-setup нямам... или поне не мога да намеря приложение с такова име

deb http://au.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://au.archive.ubuntu.com/ubuntu/ dapper universe
# deb-src http://au.archive.ubuntu.com/ubuntu/ dapper universe

## 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://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
# deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
# Line commented out by installer because it failed to verify:
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
deb http://www.getautomatix.com/apt dapper main



Активен

nqkoisi

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Apt-get няма достъп до интернет
« Отговор #4 -: Aug 15, 2006, 15:27 »
Ако напишеш apt-get update какво става?  Някаква грешка?Както ти е писал Hapkoc , да не би да ползваш прокси за интернет?Пробвай и през synaptic.
Активен

sickmind

  • Гост
Apt-get няма достъп до интернет
« Отговор #5 -: Aug 15, 2006, 15:48 »
Оправих се... оказа се, че този проблем го има доста хора (google)
Проблема най-вероятно е заради рутер'а ми (в моя случай wrt54gs v1.1 @ dd-wrt v23 но го има и при други рутер'и от този клас. Дори някой беше написал, че като изключил Website Blocking by Keyword от рутер'а си и се оправило)
решението е в /etc/apt/apt.conf да се изтрие реда:
Acquire::http::Proxy "false";

в моя случай остава празен apt.conf
10х на всички отзовали се
Активен