[+] Instalacja iwlwifi, Debian 8.2 testing, HP Compaq 6720s

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
Awatar użytkownika
bobea
Posty: 26
Rejestracja: 27 sierpnia 2015, 05:20

[+] Instalacja iwlwifi, Debian 8.2 testing, HP Compaq 6720s

Post autor: bobea »

Witam ponownie :) w końcu zdecydowałem się na instalację Debiana i niestety tak jak się obawiałem na wstępie pojawił się problem :( a konkretnie podczas instalacji wyskoczył mi komunikat, że nie znaleziono na płycie pliku z iwlwifi i że mam ją þóźniej doinstalować ręcznie. Oczywiście specjalnie się nie zmartwiłem, bo już chciałem zobaczyć jak wita mnie nowy system, a tu problem, bo niestety internet mam tylko po kablu, a do normalnej pracy (nie siedzenia na podłodze) potrzebuję wifi :( próbowałem już różnych działań na konsoli jakie podsuwały mi google, ale niestety nawet po ręcznym ściąganiu sterownika ciągle nie mogę go zainstalować :( stąd moja prośba, czy ktoś może mi łopatologicznie wytłumaczyć krok po kroku co mam zrobić, bo w sumie to mój największy problem, nad resztą już będę myślał siedział za biurkiem :)

Chyba chodzi o instalację: iwlwifi3945-2.uncode (chyba coś takiego, ale przepraszam - nie jestem informatykiem :( )

Bardzo dziękuję za pomoc :)

System: Debian 8.2 testing
Laptop: HP Compaq 6720s (dinozaur z wifi intela)
Awatar użytkownika
marcin1982
Moderator
Posty: 1732
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Post autor: marcin1982 »

Zajrzyj tutaj - jest wszystko opisane:
https://wiki.debian.org/iwlwifi .

Podaj wynik poleceń z terminala konsoli:

Kod: Zaznacz cały

lspci -k

Kod: Zaznacz cały

lsusb
Trzecie jako root:

Kod: Zaznacz cały

ifconfig -a
Staraj się precyzyjnie tytułować wątki. Przeniosłem do bardziej stosownego działu.
Awatar użytkownika
bobea
Posty: 26
Rejestracja: 27 sierpnia 2015, 05:20

Post autor: bobea »

Kod: Zaznacz cały

 00:00.0 Host bridge: Intel Corporation Mobile GME965/GLE960 Memory Controller Hub (rev 0c)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: i915
00:02.1 Display controller: Intel Corporation Mobile GME965/GLE960 Integrated Graphics Controller (rev 0c)
    Subsystem: Hewlett-Packard Company Device 30d8
00:19.0 Ethernet controller: Intel Corporation 82562GT 10/100 Network Connection (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: e1000e
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
    Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
    Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
    Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: lpc_ich
00:1f.2 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] (rev 03)
    Subsystem: Hewlett-Packard Company Device 30d8
    Kernel driver in use: ata_piix
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
    Subsystem: Hewlett-Packard Company PRO/Wireless 3945ABG [Golan] Network Connection
    Kernel driver in use: iwl3945

Kod: Zaznacz cały

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Kod: Zaznacz cały

enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.20  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::21a:4bff:fe94:6942  prefixlen 64  scopeid 0x20<link>
        ether 00:1a:4b:94:69:42  txqueuelen 1000  (Ethernet)
        RX packets 21749  bytes 26481107 (25.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12636  bytes 1669827 (1.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 22  memory 0xe4600000-e4620000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 61  bytes 8111 (7.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 61  bytes 8111 (7.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp16s0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 00:1c:bf:0c:00:53  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
zrobione :)
Awatar użytkownika
dedito
Moderator
Posty: 3594
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Post autor: dedito »

10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)Subsystem: Hewlett-Packard Company PRO/Wireless 3945ABG [Golan] Network Connection
Kernel driver in use: iwl3945

Kod: Zaznacz cały

apt-get update && apt-get install firmware-iwlwifi wireless-tools
Awatar użytkownika
bobea
Posty: 26
Rejestracja: 27 sierpnia 2015, 05:20

Post autor: bobea »

dziękuję za odpowiedź :) teraz po wpisaniu komendy dostałem taką informację:

Kod: Zaznacz cały

Czytanie list pakietów... Gotowe
E: Nie udało się uzyskać blokady /var/lib/apt/lists/lock - open (11: Zasoby chwilowo niedostępne)
E: Nie udało się zablokować katalogu /var/lib/apt/lists/

ponownie wpisałem komendę i tym razem otrzymałem coś takiego:

Kod: Zaznacz cały

Czytanie list pakietów... Gotowe
E: Nie udało się uzyskać blokady /var/lib/apt/lists/lock - open (11: Zasoby chwilowo niedostępne)
E: Nie udało się zablokować katalogu /var/lib/apt/lists/
root@debian:/home/bobea# apt-get update && apt-get install firmware-iwlwifi wireless-tools
Ign:1 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch InRelease
Ign:2 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch Release
Stary:3 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib i386 Packages
Ign:4 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl
Stary:7 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-en
Stary:8 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main i386 Packages
Ign:9 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main all Packages
Ign:10 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Stary:11 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main Translation-pl
Stary:12 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main Translation-en
Ign:4 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl
Ign:9 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main all Packages
Ign:10 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Ign:4 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl
Ign:9 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main all Packages
Ign:10 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Ign:4 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl
Ign:9 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main all Packages
Ign:10 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Ign:4 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/contrib Translation-pl
Ign:9 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main all Packages
Ign:10 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Stary:13 [URL]http://ftp.pl.debian.org/debian[/URL] stretch InRelease                     
Stary:14 [URL]http://security.debian.org/debian-security[/URL] stretch/updates InRelease  
Czytanie list pakietów... Gotowe                                               
W: The repository 'cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Pakiet firmware-iwlwifi nie ma dostępnej wersji, ale odnosi się do niego inny pakiet.
Zazwyczaj oznacza to, że pakietu brakuje, został zastąpiony przez inny
pakiet lub nie jest dostępny przy pomocy obecnie ustawionych źródeł.

E: Pakiet firmware-iwlwifi nie ma kandydata do instalacji

Awatar użytkownika
dedito
Moderator
Posty: 3594
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Post autor: dedito »

Masz nieskonfigurowane źródła repozytoriów.
Zajrzyj tu threads/1408-Repozytoria-Debiana-wpisy- ... #post10079
i wykonaj ponownie poprzednią komendę.
Awatar użytkownika
marcin1982
Moderator
Posty: 1732
Rejestracja: 05 maja 2011, 12:59
Lokalizacja: Zagłębie Dąbrowskie

Post autor: marcin1982 »

Proszę nie pisać postu pod postem tylko używać opcji "Edycja wiadomości". Używaj też tagów CODE zamiast QUOTE.

Polecenia instalacji masz wykonać jako root:

Kod: Zaznacz cały

su root

Kod: Zaznacz cały

apt-get update && apt-get install firmware-iwlwifi wireless-tools
Podaj wynik polecenia:

Kod: Zaznacz cały

cat /etc/apt/sources.list
Zajrzyj do linku, który podesłał dedito.
Awatar użytkownika
bobea
Posty: 26
Rejestracja: 27 sierpnia 2015, 05:20

Post autor: bobea »

Ok, po WIELU problemach w końcu udało mi się zmienić repozytoria i zainstalować sterownik z powyższej komendy :)
Główny problem polegał na tym, że gdy starałem się edytować repozytoria to po wpisaniu komendy nano /etc/apt/sources.list otwierał się pusty plik i nic nie mogłem edytować ani zapisać, więc (piszę jakby ktoś miał z tym problem w przyszłości, a widziałem na forum taki temat) znalazłem ręcznie ww. plik i po wpisaniu w terminalu komendy nano ręcznie przeciągnąłem plik sources.list w okienko terminala i już wyświetliła się zawartość i mogłem ją edytować i zapisać :)


cat /etc/apt/sources.list

Kod: Zaznacz cały

# 

# deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01]/ stretch contrib main

deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01]/ stretch contrib main

deb [URL]http://ftp.pl.debian.org/debian/[/URL] stretch main non-free contrib
deb-src [URL]http://ftp.pl.debian.org/debian/[/URL] stretch main non-free contrib

deb [URL]http://security.debian.org/debian-security[/URL] stretch/updates main contrib non-free contrib
deb-src [URL]http://security.debian.org/debian-security[/URL] stretch/updates main contrib non-free contrib

I na koniec jeszcze takie pytanie - po wpisaniu komendy apt-get update dostaję taki komunikat, czy jest to jakiś bład/problem?

Kod: Zaznacz cały

Ign:1 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch InRelease
Ign:2 cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD Binary-1 20151228-05:01] stretch Release
Stary:3  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386  DVD Binary-1 20151228-05:01] stretch/contrib i386 Packages
Ign:4  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl
Stary:7  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-en
Stary:8  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main i386 Packages
Ign:9  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main all Packages
Ign:10  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Stary:11  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main Translation-pl
Stary:12  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main Translation-en
Ign:4  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl
Ign:9  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main all Packages
Ign:10  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Ign:4  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl
Ign:9  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main all Packages
Ign:10  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Ign:4  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl
Ign:9  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main all Packages
Ign:10  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Ign:4  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib all Packages
Ign:5  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl_PL
Ign:6  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/contrib Translation-pl
Ign:9  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main all Packages
Ign:10  cdrom://[Debian GNU/Linux testing _Stretch_ - Official Snapshot i386 DVD  Binary-1 20151228-05:01] stretch/main Translation-pl_PL
Stary:13 [URL]http://ftp.pl.debian.org/debian[/URL] stretch InRelease                 
Stary:14 [URL]http://security.debian.org/debian-security[/URL] stretch/updates InRelease
Czytanie list pakietów... Gotowe                
W:  The repository 'cdrom://[Debian GNU/Linux testing _Stretch_ - Official  Snapshot i386 DVD Binary-1 20151228-05:01] stretch Release' does not  have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

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

Post autor: marcin1982 »

Nie możesz edytować jako zwykły użytkownik pliku położonego powyżej /home/nazwa ... Prawidłowe działanie w Debianie wyglada tak:

Kod: Zaznacz cały

su -

Kod: Zaznacz cały

nano /etc/apt/sources.list
Lista repozytoriów dalej jest błędna - nie czytasz tego co podsuwamy ci na tacy.

Ostatni raz - nie QUOTE, a CODE.

EDYCJA:

Zaloguj się w konsoli na konto roota:

Kod: Zaznacz cały

su -
Wykonaj taką komendę - skopiuj stąd:

Kod: Zaznacz cały

cat > /etc/apt/sources.list << EOF
deb http://ftp.pl.debian.org/debian/ testing main non-free contrib
#deb-src http://ftp.pl.debian.org/debian/ testing main non-free contrib
deb http://security.debian.org/ testing/updates main contrib non-free
#deb-src http://security.debian.org/ testing/updates main contrib non-free
EOF
Po zmianie pliku wykonaj pełną aktualizacjię systemu - jako root:

Kod: Zaznacz cały

apt-get update && apt-get dist-upgrade
Awatar użytkownika
bobea
Posty: 26
Rejestracja: 27 sierpnia 2015, 05:20

Post autor: bobea »

Pisałem, że trzeba łopatologicznie, więc oprócz tego, że na tacy to najlepiej jeszcze tacą przez łeb :P

Wszystko zrobione :) bardzo dziękuję wszystkim za pomoc <3
Zablokowany