Problem z repo/Public key?

Ogólne pytania dotyczące systemu
giz0l
Posty: 27
Rejestracja: 25 lutego 2015, 00:52

Problem z repo/Public key?

Post autor: giz0l »

Witajcie bardzo zależy mi na doprowadzeniu mojego debiana do porządku a nie reinstalacji go więc proszę was tu o pomoc.


Debian 3.2.82-1 x86_64
W: GPG error: http://ftp.pl.debian.org wheezy Release: The following signatures couldn't be verified because the public ke y is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 6FB2A1C265FFB764
W: GPG error: http://ftp.pl.debian.org wheezy-proposed-updates Release: The following signatures couldn't be verified beca use the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
W: GPG error: http://security.debian.org wheezy/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.pl.debian.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org stable/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.pl.debian.org stable-updates Release: The following signatures couldn't be verified because th e public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010

W: Failed to fetch http://ftp.pl.debian.org/debian/dists/stable/Release

W: Failed to fetch http://ftp.pl.debian.org/debian/dists/s ... es/Release

W: Failed to fetch http://security.debian.org/dists/stable/updates/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Ignoring Provides line with DepCompareOp for package libjpeg62

kiedy chcialem dotrzec to mojego pliku source.list zostałem same (przypisy?) kazdy folder z ".d" i zamiast "source.list" zastałem "nilarimogard-webupd8-wheezy.list" przeszukałem fora polskie jak i zagraniczne ale niestety nie znalazłem tam odpowiedzi co tu się dzieje wszystko działało dobrze i nagle taki syf się narobił. Proszę o pomoc i pozdrawiam.
Awatar użytkownika
dedito
Moderator
Posty: 3518
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Problem z repo/Public key?

Post autor: dedito »

Pokaż te repozytoria:

Kod: Zaznacz cały

tail -n +1 `find /etc/apt/ -type f -name '*.list'`
Do poczytania: https://www.debian.org/releases/wheezy/index.en.html
giz0l
Posty: 27
Rejestracja: 25 lutego 2015, 00:52

Re: Problem z repo/Public key?

Post autor: giz0l »

==> /etc/apt/sources.list.d/nilarimogard-webupd8-wheezy.list <==
## podstawowe repozytorium
deb http://ftp.pl.debian.org/debian/ stable main contrib non-free

## uaktualnienia bezpieczeństwa
deb http://security.debian.org/ stable/updates main contrib non-free

## często uaktualniane pakiety, np. dotyczące
## filtrowania spamu czy skanowania antywirusowego
deb http://ftp.pl.debian.org/debian stable-updates main contrib non-free
==> /etc/apt/sources.list <==
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#

###### Debian Main Repos
deb http://ftp.pl.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.pl.debian.org/debian/ wheezy main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.pl.debian.org/debian/ wheezy-proposed-updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://ftp.pl.debian.org/debian/ wheezy-proposed-updates main contrib non-free
W przypadku update'u do debiana 8 sa jakies opcje zachowania danych z 7?
Awatar użytkownika
dedito
Moderator
Posty: 3518
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Problem z repo/Public key?

Post autor: dedito »

Jak nie masz jakiś przeciwskazań, to lepiej przejść na obecnie stabilną 8-kę.
7-ka jak zapewne doczytałeś w linku ma wciąż wsparcie (LTS until the end of May 2018).
W przypadku upgrade'u (nie update'u) do 8 dane z 7 są zachowywane.

Twoje obecne repozytoria są wymieszane z 7 i 8.
W zależności od tego na co się zdecydujesz dobrze jest zostawić tylko repozytoria związane z używaną wersją systemu.

W przypadku repozytoriów, ja od jakiegoś czasu korzystam z httpredir (który automatycznie przekieruje na najlepszy serwer) na rzecz stałych adresów.

Do poczytania w przypadku pozostania na 7-wheezy https://wiki.debian.org/LTS
Do poczytania w przypadku przejścia na 8-jessie https://www.debian.org/releases/jessie/releasenotes
giz0l
Posty: 27
Rejestracja: 25 lutego 2015, 00:52

Re: Problem z repo/Public key?

Post autor: giz0l »

logiczny wydaje się fakt ze jeżeli chce przejść z 7 do 8 (upgrade) potrzebuje sprawnego debiana 7 a dalej nie za bardzo wiem jak doprowadzić go do porządku jeżeli byłbyś tak miły i wspomógł mnie jak mam zmienić mój source.list nie wiem jak do niego dotrzeć, httpredir wydaje się całkiem dobrym rozwiązaniem.
Awatar użytkownika
dedito
Moderator
Posty: 3518
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Problem z repo/Public key?

Post autor: dedito »

No to najpierw sobie ustal repozytoria 7-ki.
Przenieś tymczasowo w inne miejsce plik etc/apt/sources.list.d/nilarimogard-webupd8-wheezy.list
Zmień zawartość /etc/apt/sources.list wg tego https://wiki.debian.org/LTS/Using
Poniżej zawartość na podstawie wcześniejszego linka.

Kod: Zaznacz cały

deb http://httpredir.debian.org/debian/ wheezy main contrib non-free
deb-src http://httpredir.debian.org/debian/ wheezy main contrib non-free

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

deb http://httpredir.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ wheezy-updates main contrib non-free
Wpisy deb-src możesz pominąć.
Potem aktualizacja i upgrade.

Kod: Zaznacz cały

apt-get update && apt-get dist-upgrade
Wszelkie zmiany, problemy podawaj w wątku forumowym w postaci wydruków z konsoli wraz z komendami wywołującymi.

Pokaż też zawartość:

Kod: Zaznacz cały

cat /etc/apt/apt.conf
giz0l
Posty: 27
Rejestracja: 25 lutego 2015, 00:52

Re: Problem z repo/Public key?

Post autor: giz0l »

Kod: Zaznacz cały

nano /etc/apt/source.list
tam wkleiłem:

Kod: Zaznacz cały

deb http://httpredir.debian.org/debian/ wheezy main contrib non-free deb-src http://httpredir.debian.org/debian/ wheezy main contrib non-free deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://security.debian.org/ wheezy/updates main contrib non-free deb http://httpredir.debian.org/debian/ wheezy-updates main contrib non-free 
skopiowałem i usunąłem plik etc/apt/sources.list.d/nilarimogard-webupd8-wheezy.list

po wpisaniu

Kod: Zaznacz cały

tail -n +1 `find /etc/apt/ -type f -name '*.list'`
konosola pokazała
==> /etc/apt/source.list <==
deb http://httpredir.debian.org/debian/ wheezy main contrib non-free
deb-src http://httpredir.debian.org/debian/ wheezy main contrib non-free

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

deb http://httpredir.debian.org/debian/ wheezy-updates main contrib non-free


==> /etc/apt/sources.list <==
deb http://httpredir.debian.org/debian/ wheezy main contrib non-free
deb-src http://httpredir.debian.org/debian/ wheezy main contrib non-free

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

deb http://httpredir.debian.org/debian/ wheezy-updates main contrib non-free
komenda:

Kod: Zaznacz cały

apt-get update && apt-get dist-upgrade
wyrzucila kilka błędów
.
.
.

Ign http://httpredir.debian.org wheezy-updates/main Translation-pl
Ign http://httpredir.debian.org wheezy-updates/non-free Translation-pl
Ign http://httpredir.debian.org wheezy/contrib Translation-pl
Ign http://httpredir.debian.org wheezy/non-free Translation-pl
Fetched 8705 B in 6s (1245 B/s)
Reading package lists... Done
W: GPG error: http://security.debian.org wheezy/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
W: GPG error: http://httpredir.debian.org wheezy-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
W: GPG error: http://httpredir.debian.org wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 6FB2A1C265FFB764
W: Ignoring Provides line with DepCompareOp for package libjpeg62
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
dpkg-dev : Depends: libdpkg-perl (= 1.16.17) but 1.18.15 is installed
E: Unmet dependencies. Try using -f.

Kod: Zaznacz cały

cat /etc/apt/apt.conf
wywala błąd:

Kod: Zaznacz cały

cat: /etc/apt/apt.conf: No such file or directory
Awatar użytkownika
dedito
Moderator
Posty: 3518
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Problem z repo/Public key?

Post autor: dedito »

Skasuj /etc/apt/source.list.
Wykonaj też:

Kod: Zaznacz cały

apt-key update
giz0l
Posty: 27
Rejestracja: 25 lutego 2015, 00:52

Re: Problem z repo/Public key?

Post autor: giz0l »

plik skasowany
po wpisaniu

Kod: Zaznacz cały

apt-key update
pokazalo:
gpg: key B98321F9: public key "Squeeze Stable Release Key <debian-release@lists.debian.org>" imported
gpg: key 473041FA: public key "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" imported
gpg: key 65FFB764: public key "Wheezy Stable Release Key <debian-release@lists.debian.org>" imported
gpg: key 46925553: public key "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" imported
gpg: key 518E17E1: public key "Jessie Stable Release Key <debian-release@lists.debian.org>" imported
gpg: key 2B90D010: public key "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" imported
gpg: key C857C906: public key "Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" imported
gpg: Total number processed: 7
gpg: imported: 7 (RSA: 7)
gpg: no ultimately trusted keys found
Awatar użytkownika
dedito
Moderator
Posty: 3518
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Problem z repo/Public key?

Post autor: dedito »

Kod: Zaznacz cały

apt-get install debian-keyring debian-archive-keyring
Zignoruj ostrzeżenia.
Ewentualnie pobierz i zainstaluj przez dpkg.
https://packages.debian.org/wheezy/all/ ... g/download
https://packages.debian.org/wheezy/all/ ... g/download
ODPOWIEDZ