Strona 1 z 1

[SOLVED] Przy próbie aktualizacji system zwraca błąd "archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources Błędna suma kontrolna"

: 17 gru 2013, 18:20
autor: nikko77
Witam!

Proszę o pomoc.
Sam jestem zadowolonym użytkownikiem Ubuntu 12.04 LTS od ok. roku.
Obecnie siedzę przy nowozakupionym dla teściowej laptopie z preinstalowanym Ubuntu 12.04 LTS i próbuję jej zainstalować parę przydatnych programów. I tu pojawił się problem...

Już przy próbie instalacji aktualizacji ta nie powiodła się --> komunikat "Proszę sprawdzić połączenie interetowe".

Spróbowałem sudo apt-get update i otrzymałem to:

Kod: Zaznacz cały

halinka@Laptop:~$ sudo apt-get update
Ign.  http://extras.ubuntu.com precise InRelease
Ign.  http://security.ubuntu.com precise-security InRelease                    
Ign.  http://hp.archive.canonical.com precise-stella-osaka InRelease           
Stary http://extras.ubuntu.com precise Release.gpg                             
Ign.  http://archive.ubuntu.com precise InRelease                              
Ign.  http://archive.ubuntu.com precise-updates InRelease                      
Stary http://hp.archive.canonical.com precise-stella-osaka Release.gpg         
Stary http://security.ubuntu.com precise-security Release.gpg                  
Stary http://extras.ubuntu.com precise Release                                 
Stary http://archive.ubuntu.com precise Release.gpg                            
Stary http://hp.archive.canonical.com precise-stella-osaka Release             
Stary http://security.ubuntu.com precise-security Release                      
Stary http://extras.ubuntu.com precise/main Sources                            
Stary http://archive.ubuntu.com precise-updates Release.gpg                    
Stary http://hp.archive.canonical.com precise-stella-osaka/public amd64 Packages
Pobieranie:1 http://security.ubuntu.com precise-security/main Sources [94,3 kB]
Stary http://extras.ubuntu.com precise/main amd64 Packages                     
Stary http://extras.ubuntu.com precise/main i386 Packages                      
Ign.  http://extras.ubuntu.com precise/main TranslationIndex                   
Stary http://archive.ubuntu.com precise Release                                
Stary http://hp.archive.canonical.com precise-stella-osaka/public i386 Packages
Ign.  http://hp.archive.canonical.com precise-stella-osaka/public TranslationIndex
Pobieranie:2 http://security.ubuntu.com precise-security/universe Sources [29,9 kB]
Stary http://security.ubuntu.com precise-security/main amd64 Packages          
Stary http://security.ubuntu.com precise-security/universe amd64 Packages      
Stary http://security.ubuntu.com precise-security/main i386 Packages           
Stary http://security.ubuntu.com precise-security/universe i386 Packages       
Stary http://security.ubuntu.com precise-security/main TranslationIndex        
Stary http://security.ubuntu.com precise-security/universe TranslationIndex    
Stary http://archive.ubuntu.com precise-updates Release                        
Stary http://security.ubuntu.com precise-security/main Translation-en          
Stary http://archive.ubuntu.com precise/main Sources                           
Stary http://archive.ubuntu.com precise/universe Sources                       
Stary http://archive.ubuntu.com precise/main amd64 Packages                    
Stary http://archive.ubuntu.com precise/universe amd64 Packages                
Stary http://archive.ubuntu.com precise/main i386 Packages                     
Stary http://archive.ubuntu.com precise/universe i386 Packages                 
Stary http://archive.ubuntu.com precise/main TranslationIndex                  
Stary http://archive.ubuntu.com precise/universe TranslationIndex              
Stary http://security.ubuntu.com precise-security/universe Translation-en      
Pobieranie:3 http://archive.ubuntu.com precise-updates/main Sources [428 kB]   
Pobieranie:4 http://archive.ubuntu.com precise-updates/universe Sources [101 kB]
Stary http://archive.ubuntu.com precise-updates/main amd64 Packages            
Stary http://archive.ubuntu.com precise-updates/universe amd64 Packages        
Stary http://archive.ubuntu.com precise-updates/main i386 Packages             
Stary http://archive.ubuntu.com precise-updates/universe i386 Packages         
Stary http://archive.ubuntu.com precise-updates/main TranslationIndex          
Stary http://archive.ubuntu.com precise-updates/universe TranslationIndex      
Stary http://archive.ubuntu.com precise/main Translation-pl                    
Stary http://archive.ubuntu.com precise/main Translation-en                    
Stary http://archive.ubuntu.com precise/universe Translation-pl                
Stary http://archive.ubuntu.com precise/universe Translation-en                
Stary http://archive.ubuntu.com precise-updates/main Translation-pl            
Stary http://archive.ubuntu.com precise-updates/main Translation-en            
Stary http://archive.ubuntu.com precise-updates/universe Translation-pl        
Stary http://archive.ubuntu.com precise-updates/universe Translation-en        
Ign.  http://extras.ubuntu.com precise/main Translation-pl_PL                  
Ign.  http://extras.ubuntu.com precise/main Translation-pl                     
Ign.  http://extras.ubuntu.com precise/main Translation-en           
Ign.  http://hp.archive.canonical.com precise-stella-osaka/public Translation-pl_PL
Ign.  http://hp.archive.canonical.com precise-stella-osaka/public Translation-pl
Ign.  http://hp.archive.canonical.com precise-stella-osaka/public Translation-en
Ign.  http://archive.canonical.com precise InRelease
Stary http://archive.canonical.com precise Release.gpg
Stary http://archive.canonical.com precise Release
Stary http://archive.canonical.com precise/partner Sources
Stary http://archive.canonical.com precise/partner amd64 Packages
Stary http://archive.canonical.com precise/partner i386 Packages
Ign.  http://archive.canonical.com precise/partner TranslationIndex
Ign.  http://archive.canonical.com precise/partner Translation-pl_PL
Ign.  http://archive.canonical.com precise/partner Translation-pl
Ign.  http://archive.canonical.com precise/partner Translation-en              
Pobrano 4 B w 6s (0 B/s)                                                       
W: Nie udało się pobrać bzip2:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_main_source_Sources  Błędna suma kontrolna

W: Nie udało się pobrać bzip2:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_universe_source_Sources  Błędna suma kontrolna

W: Nie udało się pobrać bzip2:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources  Błędna suma kontrolna

W: Nie udało się pobrać bzip2:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-updates_universe_source_Sources  Błędna suma kontrolna

E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
halinka@Laptop:~$ 
W centrum oprogramowania Ubuntu też nic nie da się zainstalować, bo "Proszę sprawdzić połączenie internetowe" i w szczegółach:

Kod: Zaznacz cały

Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg_20.0.1132.47~r144678-0ubuntu0.12.04.1_amd64.deb 404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-browser_20.0.1132.47~r144678-0ubuntu0.12.04.1_amd64.deb 404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-browser-l10n_20.0.1132.47~r144678-0ubuntu0.12.04.1_all.deb 404  Not Found [IP: 91.189.91.13 80]
Połączenie internetowe jest ok, o czym świadczy choćby ten post...

Pomożecie?

//bear7: Wątek przeniesiony do bardziej odpowiedniego działu - twój wątek raczej nie wygląda na gotowy poradnik lub przewodnik...

Re: Centrum oprogramowania nie działa

: 17 gru 2013, 19:25
autor: bear7
Wydaje mi się, że problem nie leży po stronie twojego komputera lub łącza, a po stronie serwerów. Być może jest to tylko tymczasowy problem. Tak na wszelki wypadek, pokaż wyniki poniższych poleceń:

Kod: Zaznacz cały

cat /etc/apt/sources.list

Kod: Zaznacz cały

ls -al /etc/apt/sources.list.d

Kod: Zaznacz cały

cat /etc/apt/sources.list.d/*
Nie zapomnij o umieszczeniu wyników w znacznikach Code.

Re: Centrum oprogramowania nie działa

: 17 gru 2013, 19:37
autor: nikko77
Oto wyniki podanych komend:

Kod: Zaznacz cały

halinka@Laptop:~$     cat /etc/apt/sources.list

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ precise main
deb-src http://archive.ubuntu.com/ubuntu/ precise main

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ precise universe
deb-src http://archive.ubuntu.com/ubuntu/ precise universe
deb http://archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates universe

## 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
## WILL NOT receive any review or updates from the Ubuntu
## security team.

## 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://security.ubuntu.com/ubuntu precise-security main
deb-src http://security.ubuntu.com/ubuntu precise-security main
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe

## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

Kod: Zaznacz cały

halinka@Laptop:~$     ls -al /etc/apt/sources.list.d
razem 12
drwxr-xr-x 2 root root 4096 gru 17 17:25 .
drwxr-xr-x 6 root root 4096 gru 17 17:24 ..
-rw-r--r-- 1 root root  145 gru 17 17:21 stella-osaka.list

Kod: Zaznacz cały

halinka@Laptop:~$     cat /etc/apt/sources.list.d/*
deb http://hp.archive.canonical.com/updates precise-stella-osaka public
#deb http://hp.archive.canonical.com/updates precise-stella-osaka public

Re: Centrum oprogramowania nie działa

: 17 gru 2013, 19:47
autor: bear7
Klepnij w terminalu:

Kod: Zaznacz cały

sudo rm -fR /var/lib/apt/lists/*
Następnie ponownie klepnij:

Kod: Zaznacz cały

sudo apt-get update
i sprawdź, czy dalej zwraca błędy.

Re: Centrum oprogramowania nie działa

: 17 gru 2013, 20:29
autor: nikko77
Wszystko działa jak należy...
Dzięki!

Nawet zaczęło instalować programy w Centrum Oprogramowania, a nie tylko w terminalu.

Super!

A co to polecenie zrobiło - tak dla mojej ciekawości?

Re: Centrum oprogramowania nie działa

: 17 gru 2013, 21:29
autor: marcin1982
A co to polecenie zrobiło - tak dla mojej ciekawości?
Usunęło pliki z katalogu /etc/apt/sources.list.d. Każdy plik w tym katalogu oznacza dodatkowe źródło oprogramowania (repozytorium), w tym przypadku tzw. PPA. Adresy tych repozytoriów były nieaktualne, dlatego program nie mógł dokończyć aktualizacji.

Główna lista repozytoriów znajduje się w plku /etc/apt/sources.list.

Re: Centrum oprogramowania nie działa

: 17 gru 2013, 21:37
autor: bear7
nikko77 pisze: A co to polecenie zrobiło - tak dla mojej ciekawości?
W katalogu tym przechowywane są pliki, które zawierają informacje na temat stanu konkretnych repozytoriów oraz znajdujących się w nim paczek. Jeden lub kilka plików w tym katalogu było uszkodzonych i/lub zawierało niepoprawne informacje. Pierwsze polecenie usunęło te pliki, a drugie polecenie pobrało nowe informacje i utworzyło pliki na nowo.

Re: [SOLVED] Przy próbie aktualizacji system zwraca błąd "archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources Błędna suma kontrolna"

: 19 gru 2013, 10:35
autor: nikko77
Super!
Dzięki raz jeszcze.
Po 2 dniach nadal wszystko hula jak trzeba... :)