LINUX.ORG.RU
решено ФорумAdmin

apt-get update выдает ошибки. ЧЯДНТ?

 , , ,


1

3

У меня Debian Wheezy, сейчас пытаюсь перейти на ветку testing. Сначала у меня apt-get update жаловался на ключи, я обновил пакет debian-archive-keyring, жалобы прекратились. Но у меня все равно вылазят ошибки. ЧЯДНТ?

Лог apt-get update

Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release                                        
Hit http://dl.google.com stable/main i386 Packages                             
Hit http://http.us.debian.org testing Release.gpg                              
Hit http://security.debian.org testing/updates Release.gpg                     
Ign http://http.us.debian.org testing/updates Release.gpg                      
Ign http://http.debian.net testing-backports Release.gpg                       
Hit http://security.debian.org testing/updates Release               
Hit http://http.us.debian.org testing-updates Release.gpg                      
Ign http://http.debian.net testing-backports Release                 
Hit http://security.debian.org testing/updates/main i386 Packages    
Hit http://http.us.debian.org testing Release                        
Ign http://http.us.debian.org testing/updates Release                          
Hit http://security.debian.org testing/updates/contrib i386 Packages           
Hit http://http.us.debian.org testing-updates Release                          
Hit http://security.debian.org testing/updates/non-free i386 Packages          
Hit http://http.us.debian.org testing/main Sources/DiffIndex                   
Hit http://http.us.debian.org testing/contrib i386 Packages/DiffIndex          
Hit http://http.us.debian.org testing/non-free i386 Packages/DiffIndex         
Hit http://http.us.debian.org testing/main i386 Packages/DiffIndex             
Hit http://security.debian.org testing/updates/contrib Translation-en          
Hit http://security.debian.org testing/updates/main Translation-en             
Hit http://security.debian.org testing/updates/non-free Translation-en         
Ign http://dl.google.com stable/main Translation-en_US                         
Hit http://http.us.debian.org testing/contrib Translation-en/DiffIndex         
Hit http://http.us.debian.org testing/main Translation-en/DiffIndex
Hit http://http.us.debian.org testing/non-free Translation-en/DiffIndex
Hit http://http.us.debian.org testing-updates/main Sources
Hit http://http.us.debian.org testing-updates/main i386 Packages     
Ign http://dl.google.com stable/main Translation-en                  
Ign http://dl.google.com stable/main Translation-ru                            
Hit http://http.us.debian.org testing-updates/main Translation-en              
Err http://http.us.debian.org testing/updates/main Sources                     
  
Err http://http.us.debian.org testing/updates/main Sources           
  
Err http://http.us.debian.org testing/updates/main Sources                     
  
Err http://http.us.debian.org testing/updates/main Sources                     
  404  Not Found [IP: 64.50.236.52 80]
Err http://http.debian.net testing-backports/non-free i386 Packages            
  404  Not Found
Err http://http.debian.net testing-backports/contrib i386 Packages         
  404  Not Found
Err http://http.debian.net testing-backports/main i386 Packages      
  404  Not Found [IP: 202.4.96.69 80]
Ign http://http.debian.net testing-backports/contrib Translation-en_US
Ign http://http.debian.net testing-backports/contrib Translation-en
Ign http://http.debian.net testing-backports/contrib Translation-ru
Ign http://http.debian.net testing-backports/main Translation-en_US
Ign http://http.debian.net testing-backports/main Translation-en
Ign http://http.debian.net testing-backports/main Translation-ru
Ign http://http.debian.net testing-backports/non-free Translation-en_US
Ign http://http.debian.net testing-backports/non-free Translation-en
Ign http://http.debian.net testing-backports/non-free Translation-ru
W: Failed to fetch http://http.debian.net/debian/dists/testing-backports/main/binary-i386/Packages  404  Not Found [IP: 202.4.96.69 80]

W: Failed to fetch http://http.debian.net/debian/dists/testing-backports/contrib/binary-i386/Packages  404  Not Found

W: Failed to fetch http://http.debian.net/debian/dists/testing-backports/non-free/binary-i386/Packages  404  Not Found

W: Failed to fetch http://http.us.debian.org/debian/dists/testing/updates/main/source/Sources  404  Not Found [IP: 64.50.236.52 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.


Содержание /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 CD Binary-1 20130504-15:20]/ testing main

# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 CD Binary-1 20130504-15:20]/ testing main

deb http://http.us.debian.org/debian/ testing contrib non-free main
deb-src http://http.us.debian.org/debian/ testing main

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://http.us.debian.org/debian/ testing/updates main

# testing-updates, previously known as 'volatile'
deb http://http.us.debian.org/debian/ testing-updates main
deb-src http://http.us.debian.org/debian/ testing-updates main

deb http://http.debian.net/debian testing-backports main contrib non-free
Deleted

Ответ на: комментарий от Andrew

Попробовал. Что-то не помогает. Видимо это http не такое-то уж и лишнее.

Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release                                        
Err http://us.debian.org testing Release.gpg                                   
  Could not resolve 'us.debian.org'
Err http://us.debian.org testing/updates Release.gpg                           
  Could not resolve 'us.debian.org'
Err http://us.debian.org testing-updates Release.gpg                           
  Could not resolve 'us.debian.org'
Hit http://dl.google.com stable/main i386 Packages                             
Hit http://security.debian.org testing/updates Release.gpg                     
Hit http://security.debian.org testing/updates Release
Hit http://security.debian.org testing/updates/main i386 Packages          
Hit http://security.debian.org testing/updates/contrib i386 Packages
Hit http://security.debian.org testing/updates/non-free i386 Packages
Ign http://dl.google.com stable/main Translation-en_US               
Hit http://security.debian.org testing/updates/contrib Translation-en
Ign http://dl.google.com stable/main Translation-en
Ign http://dl.google.com stable/main Translation-ru
Hit http://security.debian.org testing/updates/main Translation-en
Hit http://security.debian.org testing/updates/non-free Translation-en
Ign http://debian.net testing-backports Release.gpg
Ign http://debian.net testing-backports Release
Err http://debian.net testing-backports/main i386 Packages
  404  Not Found [IP: 130.89.148.14 80]
Err http://debian.net testing-backports/contrib i386 Packages
  404  Not Found [IP: 130.89.148.14 80]
Err http://debian.net testing-backports/non-free i386 Packages
  404  Not Found [IP: 130.89.148.14 80]
Ign http://debian.net testing-backports/contrib Translation-en_US
Ign http://debian.net testing-backports/contrib Translation-en
Ign http://debian.net testing-backports/contrib Translation-ru
Ign http://debian.net testing-backports/main Translation-en_US
Ign http://debian.net testing-backports/main Translation-en
Ign http://debian.net testing-backports/main Translation-ru
Ign http://debian.net testing-backports/non-free Translation-en_US
Ign http://debian.net testing-backports/non-free Translation-en
Ign http://debian.net testing-backports/non-free Translation-ru
Reading package lists... Done
W: Failed to fetch http://us.debian.org/debian/dists/testing/Release.gpg  Could not resolve 'us.debian.org'

W: Failed to fetch http://us.debian.org/debian/dists/testing/updates/Release.gpg  Could not resolve 'us.debian.org'

W: Failed to fetch http://us.debian.org/debian/dists/testing-updates/Release.gpg  Could not resolve 'us.debian.org'

W: Failed to fetch http://debian.net/debian/dists/testing-backports/main/binary-i386/Packages  404  Not Found [IP: 130.89.148.14 80]

W: Failed to fetch http://debian.net/debian/dists/testing-backports/contrib/binary-i386/Packages  404  Not Found [IP: 130.89.148.14 80]

W: Failed to fetch http://debian.net/debian/dists/testing-backports/non-free/binary-i386/Packages  404  Not Found [IP: 130.89.148.14 80]

W: Some index files failed to download. They have been ignored, or old ones used instead.
Deleted ()

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://http.us.debian.org/debian/ testing/updates main

Во второй строке тоже должно быть security.debian.org

testing-backports

Кхм. Бэкпорты для тестинга - это как? Они есть только для squeeze, wheezy и jessie - oldoldstable, oldstable и stable.

Кроме того, замените http.us.debian.org на httpredir.debian.org - так будет автоматически выбрано наиболее подходящее зекрало, подробнее см. по ссылке.

AITap ★★★★★ ()
Последнее исправление: AITap (всего исправлений: 1)

Для тестируемой ветки не существует бэкпортов и стабильных обновлений, поэтому строки

deb-src http://http.us.debian.org/debian/ testing/updates main

# testing-updates, previously known as 'volatile'
deb http://http.us.debian.org/debian/ testing-updates main
deb-src http://http.us.debian.org/debian/ testing-updates main

deb http://http.debian.net/debian testing-backports main contrib non-free
надо убрать или закомментировать.

TeopeTuK ★★★ ()
Ответ на: комментарий от Deleted

Собственно, браузером тоже ничего не видно ни на us.debian.org (сервер не найден, говорит), ни на debian.net/debian/dists (404). Надо разбираться с путями.

al_exquemelin ★★★ ()
Ответ на: комментарий от AITap

Строчки связанные с обновлениями и бэкпортами закомментировал. Теперь apt-get update Стало выдавать следующее:

W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems
Deleted ()
Ответ на: комментарий от Deleted
Ignoring Provides line with DepCompareOp



это говорит о том, что апт игнорирует какую-то опцию, значит он ее не знает, следовательно он старый

outsider ★★ ()
Ответ на: комментарий от Virtuos86

просто нехрен с олдстабла сразу на свежий тестинг прыгать. обновил бы до джесси для начала

ionanahin ★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.