Debian wheezy instaluje stary update czy to wirus ?

Zagadnienia bezpieczeństwa w systemie
omo
Posty: 43
Rejestracja: 23 stycznia 2015, 22:09

Post autor: omo »

wynik:

Kod: Zaznacz cały

root@debian:~# apt-get update
Stary http://security.debian.org wheezy/updates Release.gpg
Stary http://security.debian.org wheezy/updates Release
Stary http://security.debian.org wheezy/updates/main i386 Packages
Stary http://security.debian.org wheezy/updates/contrib i386 Packages
Stary http://security.debian.org wheezy/updates/non-free i386 Packages
Stary http://security.debian.org wheezy/updates/contrib Translation-en
Stary ftp://ftp.de.debian.org wheezy Release.gpg              
Stary http://security.debian.org wheezy/updates/main Translation-en
Stary http://security.debian.org wheezy/updates/non-free Translation-en
Pobieranie:1 ftp://ftp.de.debian.org wheezy/updates Release.gpg 
Ign.  ftp://ftp.de.debian.org wheezy/updates Release.gpg
Stary ftp://ftp.de.debian.org wheezy-updates Release.gpg
Stary ftp://ftp.de.debian.org wheezy Release
Pobieranie:2 ftp://ftp.de.debian.org wheezy/updates Release
Ign.  ftp://ftp.de.debian.org wheezy/updates Release
Stary ftp://ftp.de.debian.org wheezy-updates Release
Stary ftp://ftp.de.debian.org wheezy/main Sources
Stary ftp://ftp.de.debian.org wheezy/non-free Sources
Stary ftp://ftp.de.debian.org wheezy/contrib Sources
Stary ftp://ftp.de.debian.org wheezy/main i386 Packages
Stary ftp://ftp.de.debian.org wheezy/non-free i386 Packages
Stary ftp://ftp.de.debian.org wheezy/contrib i386 Packages
Stary ftp://ftp.de.debian.org wheezy/contrib Translation-en
Stary ftp://ftp.de.debian.org wheezy/main Translation-pl
Stary ftp://ftp.de.debian.org wheezy/main Translation-en
Stary ftp://ftp.de.debian.org wheezy/non-free Translation-en
Pobieranie:3 ftp://ftp.de.debian.org wheezy/updates/main Sources
Pobieranie:4 ftp://ftp.de.debian.org wheezy/updates/contrib Sources
Pobieranie:5 ftp://ftp.de.debian.org wheezy/updates/non-free Sources
Stary ftp://ftp.de.debian.org wheezy-updates/main Sources
Stary ftp://ftp.de.debian.org wheezy-updates/contrib Sources
Stary ftp://ftp.de.debian.org wheezy-updates/non-free Sources
Stary ftp://ftp.de.debian.org wheezy-updates/main i386 Packages/DiffIndex
Stary ftp://ftp.de.debian.org wheezy-updates/contrib i386 Packages
Stary ftp://ftp.de.debian.org wheezy-updates/non-free i386 Packages
Stary ftp://ftp.de.debian.org wheezy-updates/contrib Translation-en
Stary ftp://ftp.de.debian.org wheezy-updates/main Translation-en/DiffIndex
Stary ftp://ftp.de.debian.org wheezy-updates/non-free Translation-en
Pobieranie:6 ftp://ftp.de.debian.org wheezy/updates/main Sources
Pobieranie:7 ftp://ftp.de.debian.org wheezy/updates/contrib Sources
Pobieranie:8 ftp://ftp.de.debian.org wheezy/updates/non-free Sources
Pobieranie:9 ftp://ftp.de.debian.org wheezy/updates/main Sources
Pobieranie:10 ftp://ftp.de.debian.org wheezy/updates/contrib Sources
Pobieranie:11 ftp://ftp.de.debian.org wheezy/updates/non-free Sources
Pobieranie:12 ftp://ftp.de.debian.org wheezy/updates/main Sources              
Pobieranie:13 ftp://ftp.de.debian.org wheezy/updates/contrib Sources           
Pobieranie:14 ftp://ftp.de.debian.org wheezy/updates/non-free Sources          
Pobieranie:15 ftp://ftp.de.debian.org wheezy/updates/main Sources              
Błąd  ftp://ftp.de.debian.org wheezy/updates/main Sources                      
  Nie można pobrać pliku, odpowiedź serwera: /debian/dists/wheezy/updates/main/source/Sources: No such file or directory
Pobieranie:16 ftp://ftp.de.debian.org wheezy/updates/contrib Sources           
Błąd  ftp://ftp.de.debian.org wheezy/updates/contrib Sources                   
  Nie można pobrać pliku, odpowiedź serwera: /debian/dists/wheezy/updates/contrib/source/Sources: No such file or directory
Pobieranie:17 ftp://ftp.de.debian.org wheezy/updates/non-free Sources          
Błąd  ftp://ftp.de.debian.org wheezy/updates/non-free Sources                  
  Nie można pobrać pliku, odpowiedź serwera: /debian/dists/wheezy/updates/non-free/source/Sources: No such file or directory
W: Nie udało się pobrać ftp://ftp.de.debian.org/debian/dists/wheezy/updates/main/source/Sources  Nie można pobrać pliku, odpowiedź serwera: /debian/dists/wheezy/updates/main/source/Sources: No such file or directory

W: Nie udało się pobrać ftp://ftp.de.debian.org/debian/dists/wheezy/updates/contrib/source/Sources  Nie można pobrać pliku, odpowiedź serwera: /debian/dists/wheezy/updates/contrib/source/Sources: No such file or directory

W: Nie udało się pobrać ftp://ftp.de.debian.org/debian/dists/wheezy/updates/non-free/source/Sources  Nie można pobrać pliku, odpowiedź serwera: /debian/dists/wheezy/updates/non-free/source/Sources: No such file or directory

E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
root@debian:~# 

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

Post autor: marcin1982 »

A gdzie ja podałem adresy z pakietami źródłowymi deb-src? Popraw a nie wstawiaj po raz trzydziesty ósmy tego samego.
Awatar użytkownika
Yampress
Administrator
Posty: 6367
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

wywal z /etc/resolv.conf te wpisy o vectranet.

Choć network manager będzie je nadpisywał...
Wywal network-managera :D
omo
Posty: 43
Rejestracja: 23 stycznia 2015, 22:09

Post autor: omo »

Yampress - wywaliłem
marcin1982 - próbowałem bez efektu

Nie mam nic do ukrycia ale drażni że nie mogę mieć aktualnego systemu i nie wiem jak to ugryźć
Awatar użytkownika
marcin1982
Moderator
Posty: 1730
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Post autor: marcin1982 »

Pokaż jeszcze raz:

Kod: Zaznacz cały

cat /ec/apt/sources.list

Kod: Zaznacz cały

ls -al /etc/apt/sources.list.d
omo
Posty: 43
Rejestracja: 23 stycznia 2015, 22:09

Post autor: omo »

pierwsza komenda nie wchodzi - brak pliku

sources.list wersja ostatnia :

Kod: Zaznacz cały

# 

deb ftp://ftp.debian.sk/debian/ wheezy main non-free contrib
deb-src ftp://ftp.debian.sk/debian/ wheezy main non-free contrib

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

# wheezy-updates, previously known as 'volatile'
deb ftp://ftp.debian.sk/debian/ wheezy-updates main contrib non-free
deb-src ftp://ftp.debian.sk/debian/ wheezy-updates main contrib non-free
wynik :

Kod: Zaznacz cały

ls -al /etc/apt/sources.list.d
razem 8
drwxr-xr-x 2 root root 4096 paź 23  2014 .
drwxr-xr-x 6 root root 4096 sie  6 17:36 ..

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

Post autor: marcin1982 »

Usuń linie odnoszące się do pakietów źródłowych - NIE SĄ CI POTRZEBNE. Podałem ci w kilku ostatnich postach co masz wsadzić do pliku sources.list.
omo
Posty: 43
Rejestracja: 23 stycznia 2015, 22:09

Post autor: omo »

teraz mam tak sources.list :

Kod: Zaznacz cały

# 

deb http://ftp.de.debian.org/debian wheezy main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
wygląda niby ok ale nie pobrał nowych pakietów, zobaczę jutro jak będzie
Awatar użytkownika
marcin1982
Moderator
Posty: 1730
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Post autor: marcin1982 »

No bo już nie będzie nowych pakietów i ich nie pobierze ... Można liczyć tylko na poprawki bezpieczeństwa maksymalnie do roku czasu po wydwaniu aktualnego wydania stabilnego. Sznurki:
http://www.debian.org/security/faq#lifespan
https://wiki.debian.org/DebianOldStable

Zaktualizuj to do Jessie.
omo
Posty: 43
Rejestracja: 23 stycznia 2015, 22:09

Post autor: omo »

marcin1982 - posłuchałem i zaktualizowałem do jessie - zobaczę czy na dobre wyjdzie. Dzięki wszystkim za pomoc
ODPOWIEDZ