[+]problem z aktualizacją Debian wheezy 7

Pomoc dotycząca instalacji systemu
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: problem z aktualizacją Debian wheezy 7

Post autor: dedito »

Normalnie, na co dzień wystarczy

Kod: Zaznacz cały

apt-get update && apt-get dist-upgrade
ja ostatnio korzystam z apt:

Kod: Zaznacz cały

apt update && apt dist-upgrade
Awatar użytkownika
marcin1982
Moderator
Posty: 1730
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Re: problem z aktualizacją Debian wheezy 7

Post autor: marcin1982 »

W: Dla następujących identyfikatorów kluczy brakuje klucza publicznego:
1397BC53640DB551
W: Nie udało się pobrać http://dl.google.com/linux/chrome/deb/d ... le/Release Nie udało się znaleźć oczekiwanego wpisu "main/binary-i386/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik)

E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
Pokaż wynik - dalej jest coś nie tak:

Kod: Zaznacz cały

cat /etc/apt/sources.list
Przeszukaj forum - jest wątek dotyczący repozytoriów, a także braku klucza publicznego.
Andrzej70
Beginner
Posty: 118
Rejestracja: 03 października 2013, 18:36

Re: problem z aktualizacją Debian wheezy 7

Post autor: Andrzej70 »

Kod: Zaznacz cały

andrzej@Mama:~$ cat /etc/apt/sources.list
#~~~~~~oldstable~~~~~~#
deb http://ftp.pl.debian.org/debian/ oldstable main non-free contrib
deb-src http://ftp.pl.debian.org/debian/ oldstable main non-free contrib
deb http://security.debian.org/ oldstable/updates main contrib non-free
deb-src http://security.debian.org/ oldstable/updates main contrib non-free
deb http://ftp.pl.debian.org/debian/ oldstable-updates main non-free contrib
deb-src http://ftp.pl.debian.org/debian/ oldstable-updates main non-free contrib

#~~~~~~Backports_wheezy~~~~~~#
deb http://ftp.pl.debian.org/debian/ wheezy-backports main

andrzej@Mama:~$ 
Zmieniłem na

Kod: Zaznacz cały

andrzej@Mama:~$ cat /etc/apt/sources.list
#~~~~~~oldstable~~~~~~#
deb http://ftp.pl.debian.org/debian/ oldstable main non-free contrib
deb-src http://ftp.pl.debian.org/debian/ oldstable main non-free contrib
deb http://security.debian.org/ oldstable/updates main contrib non-free
deb-src http://security.debian.org/ oldstable/updates main contrib non-free
deb http://ftp.pl.debian.org/debian/ oldstable-updates main non-free contrib
deb-src http://ftp.pl.debian.org/debian/ oldstable-updates main non-free contrib

#~~~~~~Backports_oldstable~~~~~~#
deb http://ftp.pl.debian.org/debian/ oldstable-backports main
Ale teraz jeszcze bardziej mu się nie podoba

Kod: Zaznacz cały

root@Mama:/home/andrzej# aptitude update && aptitude full-upgrade
Stary  http://ftp.pl.debian.org oldstable Release.gpg                                                   
Stary  http://ftp.pl.debian.org oldstable-updates Release.gpg 
Stary  http://ftp.pl.debian.org oldstable-backports Release.gpg               
Stary  http://security.debian.org oldstable/updates Release.gpg
Stary  http://ftp.pl.debian.org oldstable Release      
Stary  http://security.debian.org oldstable/updates Release                      
Stary  http://ftp.pl.debian.org oldstable-updates Release
Stary  http://security.debian.org oldstable/updates/main Sources                 
Stary  http://ftp.pl.debian.org oldstable-backports Release
Stary  http://security.debian.org oldstable/updates/contrib Sources                                
Stary  http://ftp.pl.debian.org oldstable/main Sources                            
Stary  http://security.debian.org oldstable/updates/non-free Sources
Stary  http://ftp.pl.debian.org oldstable/non-free Sources                
Stary  http://security.debian.org oldstable/updates/main amd64 Packages   
Stary  http://ftp.pl.debian.org oldstable/contrib Sources                 
Stary  http://security.debian.org oldstable/updates/contrib amd64 Packages
Stary  http://ftp.pl.debian.org oldstable/main amd64 Packages             
Stary  http://security.debian.org oldstable/updates/non-free amd64 Packages
Stary  http://ftp.pl.debian.org oldstable/non-free amd64 Packages         
Stary  http://dl.google.com stable Release.gpg                            
Stary  http://security.debian.org oldstable/updates/main i386 Packages    
Stary  http://ftp.pl.debian.org oldstable/contrib amd64 Packages          
Stary  http://dl.google.com stable Release                                        
Stary  http://security.debian.org oldstable/updates/contrib i386 Packages         
Stary  http://ftp.pl.debian.org oldstable/main i386 Packages               
Stary  http://security.debian.org oldstable/updates/non-free i386 Packages 
Stary  http://ftp.pl.debian.org oldstable/non-free i386 Packages           
Stary  http://ftp.pl.debian.org oldstable/contrib i386 Packages            
Stary  http://security.debian.org oldstable/updates/contrib Translation-en 
Stary  http://ftp.pl.debian.org oldstable/contrib Translation-en           
Stary  http://security.debian.org oldstable/updates/main Translation-en    
Stary  http://ftp.pl.debian.org oldstable/main Translation-pl              
Stary  http://security.debian.org oldstable/updates/non-free Translation-en
Stary  http://ftp.pl.debian.org oldstable/main Translation-en              
Stary  http://ftp.pl.debian.org oldstable/non-free Translation-en
Stary  http://ftp.pl.debian.org oldstable-updates/main Sources
Stary  http://ftp.pl.debian.org oldstable-updates/non-free Sources
Stary  http://ftp.pl.debian.org oldstable-updates/contrib Sources
Stary  http://ftp.pl.debian.org oldstable-updates/main amd64 Packages/DiffIndex
Stary  http://ftp.pl.debian.org oldstable-updates/non-free amd64 Packages/DiffIndex
Stary  http://dl.google.com stable/main amd64 Packages
Stary  http://ftp.pl.debian.org oldstable-updates/contrib amd64 Packages
Stary  http://ftp.pl.debian.org oldstable-updates/main i386 Packages/DiffIndex
Stary  http://ftp.pl.debian.org oldstable-updates/non-free i386 Packages/DiffIndex
Stary  http://ftp.pl.debian.org oldstable-updates/contrib i386 Packages
Stary  http://ftp.pl.debian.org oldstable-updates/contrib Translation-en
Stary  http://ftp.pl.debian.org oldstable-updates/main Translation-en/DiffIndex
Stary  http://ftp.pl.debian.org oldstable-updates/non-free Translation-en/DiffIndex
Stary  http://ftp.pl.debian.org oldstable-backports/main amd64 Packages/DiffIndex
Stary  http://ftp.pl.debian.org oldstable-backports/main i386 Packages/DiffIndex
Stary  http://ftp.pl.debian.org oldstable-backports/main Translation-en/DiffIndex
100% [Pracuje]W: Nieprawidłowa dystrybucja: http://ftp.pl.debian.org oldstable-backports Release (oczekiwano oldstable-backports, a otrzymano wheezy-backports)
W: Nie udało się pobrać http://dl.google.com/linux/chrome/deb/dists/stable/Release: Nie udało się znaleźć oczekiwanego wpisu "main/binary-i386/Packages" w pliku Release (nieprawidłowy wpis sources.list lub nieprawidłowy plik)
E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
E: Nie można przebudować informacji o pakietach

root@Mama:/home/andrzej# 
Czy przypadkiem nie trzeba zmienić na squeze-backports w sources list? w opisie 7.11 jest mnóstwo odnośników do tej wersji backports. Jeśli tak to czy wystarczy zmiana w sources.list czy trzeba najpierw wyinstalować stare backports i jaką komendą?
mariaczi
Member
Posty: 1343
Rejestracja: 08 lutego 2008, 12:58
Lokalizacja: localhost@śląskie

Re: problem z aktualizacją Debian wheezy 7

Post autor: mariaczi »

Określ się jednoznacznie co chcesz osiągnąć. Masz wersję 7, zaktualizowałeś ją do najświeższej 7 czyli 7.11. Co jeszcze chcesz zaktualizować?
W przedstawionej konfiguracji repozytoriów nigdzie nie widać wpisu do repo chroma od google. Może masz to w /etc/apt/sources.list.d/?
Wymieszasz sobie dystrybucje i dopiero będziesz miał zagwózdkę do rozwiązania :) :D
Awatar użytkownika
marcin1982
Moderator
Posty: 1730
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Re: problem z aktualizacją Debian wheezy 7

Post autor: marcin1982 »

Tak, repozytorium od Chrome trzodzi. Ustaw je porządnie albo usuń.
Andrzej70
Beginner
Posty: 118
Rejestracja: 03 października 2013, 18:36

Re: problem z aktualizacją Debian wheezy 7

Post autor: Andrzej70 »

Nie chodzi o repo chroma, tylko o tę część

Kod: Zaznacz cały

100% [Pracuje]W: Nieprawidłowa dystrybucja: http://ftp.pl.debian.org oldstable-backports Release (oczekiwano oldstable-backports, a otrzymano wheezy-backports)
czy dam wheezy czy oldstable - wciąż mu coś nie pasuje.
Czyli pytanie brzmi - które backports pasują do 7.11 i jak się pozbyć poprzednich.

2, O co chodzi z tym repo od chroma? jakie mam ustawić? dotychczas chodziło bez żadnego repo bo było częścią systemu

3. Czy te komunikaty "stary" oznaczają, że są jakieś inne adresy teraz do ftp, czy po prostu ostrzega przed oldstable?
mariaczi
Member
Posty: 1343
Rejestracja: 08 lutego 2008, 12:58
Lokalizacja: localhost@śląskie

Re: problem z aktualizacją Debian wheezy 7

Post autor: mariaczi »

Miałeś i prawdopodobnie dalej masz wheeze'go - tu masz nazwy poszczególnych wydań wraz z numeracją: https://www.debian.org/releases/
Jak chcesz uniknąć niespodzianki w chwili, gdy ukaże się nowa wersja a Ty nie będziesz o tym wiedział to pozostaw wpisy repo z nazwą dystrybucji, czyli "wheezy". To samo tyczy się backportów. Pozostawiając "wheezy" a nie "oldstable" tak długo jak będzie "żyło to wydanie" i będą pokazywać się do niego aktualizacje będziesz miał do nich dostęp i nic się nie wymiesza.

Ad. 2.
Andrzej70 pisze:

Kod: Zaznacz cały

andrzej@Mama:~$ ls -la /etc/apt/sources.list.d
razem 12
drwxr-xr-x 2 root root 4096 paź 12  2013 .
drwxr-xr-x 6 root root 4096 cze 14 18:52 ..
-rw-r--r-- 1 root root  176 paź 12  2013 google-chrome.list
Jaką częścią systemu jest chrome? Samo się to nie dodało co wyżej, to z Twojego systemu ;) Poszukaj jakie powinieneś mieć wpisy repo dla chroma i zmień w pliku powyżej. Jak nie chcesz aktualizować chome, zmień nazwę tego pliku dodając mu na koniec np. ".off" :)
Andrzej70
Beginner
Posty: 118
Rejestracja: 03 października 2013, 18:36

Re: problem z aktualizacją Debian wheezy 7

Post autor: Andrzej70 »

Po pierwsze wpisy z wheezy nie działały (nie aktualizowało systemu) i ktoś mi tu zalecił zmienić wszystkie "wheezy" na "oldstable". To samo jest zalecane tutaj
https://dug.net.pl/tekst/136/lista_repo ... #oldstable
Rozumiem, że jak jessie zrobi się oldstable to może być problem, ale z wpisem wheezy nie aktualizowąło nic.
Repo chrome mam gdzieś aktualnie - interesują mnie backporty.
mariaczi
Member
Posty: 1343
Rejestracja: 08 lutego 2008, 12:58
Lokalizacja: localhost@śląskie

Re: problem z aktualizacją Debian wheezy 7

Post autor: mariaczi »

Wg. adresu, który używasz do repo: http://ftp.pl.debian.org/debian/dists/ wheezy tam jest, są też i backporty do niego. Nie bardzo rozumiem zatem, dlaczego i co Ci nie działało.
Andrzej70
Beginner
Posty: 118
Rejestracja: 03 października 2013, 18:36

Re: problem z aktualizacją Debian wheezy 7

Post autor: Andrzej70 »

No to jest nas dwóch
Zablokowany