Решено: aptitude update не обновляет.

Knoppix

Модераторы: Warderer, Модераторы разделов

Alex K.
Сообщения: 249
ОС: Debian GNU/Linux (squeeze)

Решено: aptitude update не обновляет.

Сообщение Alex K. »

Aptitude update не работает. Запускаю от root.
Пишет: соединение с 192.162.2.1(не уверен что такой адрес), далее пытается некоторое(2 минуты) время, потом пишет , что не отвечает.
Интернет при этом работает прекрасно.
То же происходит и с apt-get update.
И соответственно, если пытаться что-то установить с помощью aptitude или apt-get, отправляет делать Aptitude update или apt-get update.
Система: Linux version 2.6.26-2-682(Debian 2.6.26-15lenny2)
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
Спасибо сказали:
Аватара пользователя
genacid
Сообщения: 194
ОС: debian testing

Re: Решено: aptitude update не обновляет.

Сообщение genacid »

А что у тебя в sources.list?
testing is testing
Спасибо сказали:
Alex K.
Сообщения: 249
ОС: Debian GNU/Linux (squeeze)

Re: Решено: aptitude update не обновляет.

Сообщение Alex K. »

genacid писал(а):
08.01.2010 10:15
А что у тебя в sources.list?

Вот sources.list.

# /etc/apt/sources.list for Knoppix
# If you want to do a "full upgrade", you should first
# upgrade the Packages from Debian/unstable (KDE & Co.)
# before doing a (dist-)upgrade for Debian/testing.
#
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

# Security updates for "stable"
deb http://security.debian.org stable/updates main contrib non-free
deb-src http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
deb-src http://security.debian.org testing/updates main contrib non-free

# Stable
deb http://ftp.de.debian.org/pub/debian stable main contrib non-free

# the non-US branch doesn't exist anymore since sarge. -KK
# deb http://ftp.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

# Stable Sources
deb-src http://ftp.de.debian.org/pub/debian stable main contrib non-free
# deb-src http://ftp.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

# Testing
deb http://ftp.de.debian.org/pub/debian testing main contrib non-free
# deb http://ftp.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Testing Sources
deb-src http://ftp.de.debian.org/pub/debian testing main contrib non-free
# deb-src http://ftp.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Unstable
deb http://ftp.de.debian.org/debian unstable main contrib non-free
# deb http://ftp.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Unstable Sources
deb-src http://ftp.de.debian.org/debian unstable main contrib non-free
# deb-src http://ftp.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Experimental
deb http://ftp.de.debian.org/debian experimental main contrib non-free

# Experimental Sources
deb-src http://ftp.de.debian.org/debian ../project/experimental main contrib non-free

# KDE4 from kubuntu
# See http://kubuntu.org/announcements/kde-4.0.php
deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main
deb-src http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main

# ndiswrapper source (disappeared, only source.tar available)
# deb http://ndiswrapper.sourceforge.net/debian ./

# KDE 3.5 (not in sarge)
# deb http://pkg-kde.alioth.debian.org/kde-3.5.0/ ./
# deb-src http://pkg-kde.alioth.debian.org/kde-3.5.0/ ./
# deb http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./
# deb-src http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./

# Wine
# deb http://wine.sourceforge.net/apt/ binary/
# deb-src http://wine.sourceforge.net/apt/ source/

# Virtualbox (non-free version)
# deb http://www.virtualbox.org/debian etch non-free
# deb-src http://www.virtualbox.org/debian etch non-free

# Wine
deb http://wine.budgetdedicated.com/apt etch main
# deb-src http://wine.budgetdedicated.com/apt etch main

# Compiz-fusion
# deb http://download.tuxfamily.org/shames/debia...esktopfx/stable /
deb http://download.tuxfamily.org/shames/debia...ktopfx/unstable /
# deb-src http://download.tuxfamily.org/shames/debia...esktopfx/stable /

# Unichrome graphics driver
# deb http://www.physik.fu-berlin.de/~glaweh/debian/ unichrome/
# deb-src http://www.physik.fu-berlin.de/~glaweh/debian/ unichrome/

# NX stuff
# deb http://www.kalyxo.org/debian/ experimental main
# deb http://www.kalyxo.org/debian/ unstable main

# ndiswrapper
# deb http://rigtorp.se/debian unstable/
# deb-src http://rigtorp.se/debian unstable/

# Blades Repository (pppoeconf & co)
# deb http://people.debian.org/~blade/testing ./
# deb-src http://people.debian.org/~blade/testing ./

# deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-1 (20010427)]/ unstable contrib main non-US/contrib non-US/main

# Knoppix special packages resource at LinuxTag HQ
# deb http://developer.linuxtag.net/knoppix ./
# deb-src http://developer.linuxtag.net/knoppix ./

# deb http://snapshot.debian.net/archive pool lzo
# deb-src http://snapshot.debian.net/archive pool lzo

# From the Kanotix archives
# deb http://kanotix.com/files/debian/ ./
# deb-src http://kanotix.com/files/debian/ ./

# NX Server
# deb http://debian.tu-bs.de/project/kanotix/unstable/ sid nx
# deb-src http://debian.tu-bs.de/project/kanotix/unstable/ sid nx

# NX Client (binary-only, non-free)
# deb http://kanotix.com/files/debian/ sid main contrib non-free

# Packages from ubuntu. CAUTION, they don't mix well with Debian
# deb http://de.archive.ubuntu.com/ubuntu hoary main universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu hoary main universe multiverse

# Unofficial packages, like JAVA
# deb ftp://ftp.debian-unofficial.org/debian/ stable main contrib non-free restricted
# deb-src ftp://ftp.debian-unofficial.org/debian/ stable main contrib non-free restricted
# deb ftp://ftp.debian-unofficial.org/debian/ testing main contrib non-free restricted
# deb-src ftp://ftp.debian-unofficial.org/debian/ testing main contrib non-free restricted
# deb ftp://ftp.debian-unofficial.org/debian/ unstable main contrib non-free restricted
# deb-src ftp://ftp.debian-unofficial.org/debian unstable main contrib non-free restricted

# Open-Xchange and JavaMail packages
# deb http://ox.cs.bme.hu/ox-stable sarge contrib

# Open-Xchange development version (currently 0.8.1.2-1) and JavaMail packages
# deb http://ox.cs.bme.hu/ox-devel sarge contrib

# Various Projects

# Thunderbird
# deb http://people.debian.org/~asac/experimental ./
# deb-src http://people.debian.org/~asac/experimental ./

# Beryl/Compiz from Ubuntu
# deb http://www.beerorkid.com/compiz dapper main
# deb-src http://www.beerorkid.com/compiz dapper main

# NX
# deb http://sidux.com/debian/ sid nx
# deb-src http://sidux.com/debian/ sid nx

# whereto - automatic detection of country/language
# http://www.iki.fi/karvinen/wheretero.html
# http://myy.helia.fi/~a0600207/terodeb

# Local FTP-KL
# deb http://ftp.uni-kl.de/debian-local sid main

# Old and stable kvm versions for i386
# deb http://snapshot.debian.net/archive pool kvm

# imu's Beryl-SVN Debian-unstable Repository
# GPG key: 81836EBF
# deb http://download.tuxfamily.org/3v1deb debian-unstable beryl-svn
# deb-src http://download.tuxfamily.org/3v1deb debian-unstable beryl-svn

# Beryl is gone, use compiz instead
# deb http://download.tuxfamily.org/shames/debia...topfx/snapshot/ ./
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
Спасибо сказали:
smiftee
Сообщения: 265
ОС: Debian 5.03+ testing

Re: Решено: aptitude update не обновляет.

Сообщение smiftee »

Код: Выделить всё

# Security updates for "stable"
deb http://security.debian.org stable/updates main contrib non-free
deb-src http://security.debian.org stable/updates main contrib non-free
оставить только это.
Не дерзИ!
Спасибо сказали:
Alex K.
Сообщения: 249
ОС: Debian GNU/Linux (squeeze)

Re: Решено: aptitude update не обновляет.

Сообщение Alex K. »

Пишет: соединение с 172.19.2.1, далее пытается некоторое(2 минуты) время, потом пишет , что не отвечает.
Приношу свои извинения, но я не тот лист скопировал.
Вот нормальный.


# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main

deb http://ftp.de.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.de.debian.org/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main non-free
deb-src http://security.debian.org/ lenny/updates main non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main non-free contrib
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main non-free contrib
deb http://www.debian-multimedia.org/ stable main non-free contrib
deb-src http://www.debian-multimedia.org/ stable main non-free contrib
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
Спасибо сказали:
Аватара пользователя
genacid
Сообщения: 194
ОС: debian testing

Re: Решено: aptitude update не обновляет.

Сообщение genacid »

С другими зеркалами то же самое?
testing is testing
Спасибо сказали:
Alex K.
Сообщения: 249
ОС: Debian GNU/Linux (squeeze)

Re: Решено: aptitude update не обновляет.

Сообщение Alex K. »

genacid писал(а):
08.01.2010 13:04
С другими зеркалами то же самое?



Пожалуйста, подробнее.
Что такое - С другими зеркалами?
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
Спасибо сказали:
Аватара пользователя
genacid
Сообщения: 194
ОС: debian testing

Re: Решено: aptitude update не обновляет.

Сообщение genacid »

Вот тут перечислены зеркала, откуда можно качать софт и обновления. Попробуй заменить 'de' в

Код: Выделить всё

deb http://ftp.de.debian.org/debian/ lenny main non-free contrib

на 'ru' или 'us' или же вообще попробовать другие зеркала, например

Код: Выделить всё

http://mirror.yandex.ru/debian/
testing is testing
Спасибо сказали:
romeo45
Сообщения: 1

Re: Решено: aptitude update не обновляет.

Сообщение romeo45 »

Уменя в source.list вот что:

deb ftp://ftp.ru.debian.org/debian/ lenny main contrib non-free
deb-src ftp://ftp.ru.debian.org/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main non-free contrib
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main non-free contrib

deb ftp://ftp.debian-multimedia.org lenny main non-free contrib
deb-src ftp://ftp.debian-multimedia.org lenny main non-free contrib

Сейчас попробовал, список пакетов обновился вроде нормально.

Можно использовать зеркала yandex для обновления пакетов, в sourece.list это нечто подобное прописать:
deb http://mirror.yandex.ru/debian-multimedia lenny main
deb http://mirror.yandex.ru/debian/ lenny main contrib non-free
Спасибо сказали:
Alex K.
Сообщения: 249
ОС: Debian GNU/Linux (squeeze)

Re: Решено: aptitude update не обновляет.

Сообщение Alex K. »

Спасибо за помощь.
Скопировал это в source.list.
Обновилось.
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
Спасибо сказали: