Witajcie, chce zainstalować na swoim serweru ZoneMinder do kamer ip.
Mój sources list wygląda tak:
root@debian:~# nano /etc/apt/sources.list
GNU nano 2.7.4 Plik: /etc/apt/sources.list
deb-src http://security.debian.org/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
deb http://ftp.pl.debian.org/debian/ stretch-updates main
deb-src http://ftp.pl.debian.org/debian/ stretch-updates main
# Dodatkowe repozytoria dla mysql
# MySQL D9:
deb http://repo.mysql.com/apt/debian/ stretch mysql-5.7
deb-src http://repo.mysql.com/apt/debian/ stretch mysql-5.7
#Dodatkowe repozytorium do instalowacnia ZoneMinder
#deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
#deb https://zmrepo.zoneminder.com/debian/release-1.34 buster/
deb https://zmrepo.zoneminder.com/debian/release stretch/
#deb http://archive.debian.org/debian/ jessie-backports main contrib non-free
Moje wersja systemu:
root@debian:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.13 (stretch)
Release: 9.13
Codename: stretch
root@debian:~#
Problem polega na tym za po poleceniu apt-get install zoneminder mam komunikat że pakiet nie został odnaleziony.
Ogólnie korzystam z takiego poradnika:
https://zoneminder.readthedocs.io/en/stable/installationguide/debian.html#easy-way-debian-stretch (https://zoneminder.readthedocs.io/en/stable/installationguide/debian.html#easy-way-debian-stretch)
W czym może być problem że nie moge zainstlować takie pokietu jak ZoneMinder???
Akurat mam stretchowego dziadeczka w serwerowni, więc sprawdziłem: Twój wpis poprawnie działa.
ALE jeżeli to jedyny plik .list w twoim systemie, to brakuje mu jednego wpisu:
deb http://ftp.pl.debian.org/debian/ stretch main
Masz linki do repozytoriów update, security, ale nie masz linka do głównego. Sytuacja jest powszechna, bo Debiany przy instalacji ustalają repozytorium main na CDROM, z którego się instalowało i użytkownicy po pierwszym reboocie usuwają te wpisy, ale nie dodają poprawnego zamiennika z sieci.
Dodatkowo możesz spokojnie usunąć wszystkie wpisy deb-src, jeżeli nie kompilujesz własnych wersji pakietów ze źródeł (i moduły kompilowane ze źródeł przez system DKMS się do tego nie zaliczają).
I - jak możesz - zaktualizuj system do bieżącego.
Trochę zrobiłem porządek w pliku sources.list
Teraz wygląda tak:
deb http://ftp.pl.debian.org/debian/ stretch main
deb http://security.debian.org/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
deb http://ftp.pl.debian.org/debian/ stretch-updates main
# Dodatkowe repozytoria dla mysql
# MySQL D9:
deb http://repo.mysql.com/apt/debian/ stretch mysql-5.7
#Dodatkowe repozytorium do instalowacnia ZoneMinder
deb https://zmrepo.zoneminder.com/debian/release stretch/
A tak mam po komnedzie apt-get update i apt-get install zoneminder
root@debian:~# apt-get update
Ign:1 http://ftp.pl.debian.org/debian stretch InRelease
Stary:2 http://ftp.pl.debian.org/debian stretch-updates InRelease
Stary:3 http://security.debian.org/debian-security stretch/updates InRelease
Stary:4 http://repo.mysql.com/apt/debian stretch InRelease
Stary:5 http://ftp.pl.debian.org/debian stretch Release
Ign:6 https://zmrepo.zoneminder.com/debian/release stretch/ InRelease
Stary:7 https://zmrepo.zoneminder.com/debian/release stretch/ Release
Czytanie list pakietów... Gotowe
root@debian:~# apt-get install zoneminder
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu zoneminder
root@debian:~#
To są moje wyniki na ten moment, teraz będę próbował zaktualizować system.
Niestety.
root@debian:~# cat /etc/debian_version
9.13
root@debian:~# nano /etc/apt/sources.list
root@debian:~# apt-get update
Stary:1 http://security.debian.org/debian-security buster/updates InRelease
Stary:2 http://ftp.pl.debian.org/debian buster InRelease
Stary:3 http://ftp.pl.debian.org/debian buster-updates InRelease
Stary:4 http://repo.mysql.com/apt/debian buster InRelease
Ign:5 https://zmrepo.zoneminder.com/debian/release buster/ InRelease
Ign:6 https://zmrepo.zoneminder.com/debian/release-1.34 stretch/ InRelease
Stary:7 https://zmrepo.zoneminder.com/debian/release buster/ Release
Stary:8 https://zmrepo.zoneminder.com/debian/release-1.34 stretch/ Release
Czytanie list pakietów... Gotowe
root@debian:~# apt-get install zoneminder
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu zoneminder
root@debian:~# apt-get install zoneminder-1.34
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu zoneminder-1.34
E: Couldn't find any package by glob 'zoneminder-1.34'
E: Nie udało się znaleźć żadnego pakietu według wyrażenia regularnego "zoneminder-1.34"
root@debian:~#
Dodałem teraz wpis z ich strony do pliku sources.list
Mój plik wygląda tak:
deb http://ftp.pl.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
# stretch-updates, previously known as 'volatile'
deb http://ftp.pl.debian.org/debian/ buster-updates main
# Dodatkowe repozytoria dla mysql
# MySQL D9:
deb http://repo.mysql.com/apt/debian/ buster mysql-5.7
#Dodatkowe repozytorium do instalowacnia ZoneMinder
deb https://zmrepo.zoneminder.com/debian/release buster/
# ZoneMinder repository
deb https://zmrepo.zoneminder.com/debian/release-1.34 stretch/
Link do repo dodałem z podanego linku, z tego poradnik też korzystałem wcześniej.
System dalej nie może znaleźć takiego pakietu.
Masz dodane obecnie 2 repozytoria zoneminder:
#Dodatkowe repozytorium do instalowacnia ZoneMinder
deb https://zmrepo.zoneminder.com/debian/release buster/
# ZoneMinder repository
deb https://zmrepo.zoneminder.com/debian/release-1.34 stretch/
I doprawdy nie wiem skąd je wziąłeś. Na pewno nie z tego poradnika: https://zoneminder.readthedocs.io/en/stable/installationguide/debian.html#easy-way-debian-stretch (https://zoneminder.readthedocs.io/en/stable/installationguide/debian.html#easy-way-debian-stretch)
Masz Debiana Buster (obecnie, bo wcześniej wyglądał na Stretch). Repozytorium zoneminder dla Buster, którego używasz, jest puste - nie zawiera paczek do instalacji, zob.: https://zmrepo.zoneminder.com/debian/release/buster/ (https://zmrepo.zoneminder.com/debian/release/buster/). Repozytorium dla Stretch istnieje, ale to nie są wersje paczek dla Buster.
Paczki dla Buster znajdują się w: https://zmrepo.zoneminder.com/debian/release-1.34/buster/ (https://zmrepo.zoneminder.com/debian/release-1.34/buster/). Jeśli pamiętam Debiana, to wpis winien wyglądać:
deb https://zmrepo.zoneminder.com/debian/release-1.34 buster
Oczywiście, o ile masz obecnie Buster (tzn. zaktualizowałeś do niego ze Stretch).
Tak, w końcu udało mi się zaktualizować system. To znaczy zaktualizowany jest od teraz.
root@debian:~# hostnamectl
Static hostname: debian
Icon name: computer-laptop
Chassis: laptop
Machine ID: 9d80d44da90644e1a91f44255fa5f8fe
Boot ID: 4b2ba2e210df47a0af7101d6e0a98127
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.9.0-15-686-pae
Architecture: x86
root@debian:~#
Mój sources.list wygląda tak:
deb http://deb.debian.org/debian debian buster main
deb http://deb.debian.org/debian buster-updates main
deb http://deb.debian.org/debian buster updates main
deb https://zmrepo.zoneminder.com/debian/release-1.34/buster/ buster ZoneMinder
Wpisuję komendę apt-get update, i dużo się dzieje.... końcówka wygląda tak:
Czytanie list pakietów... Gotowe
W: The repository 'http://deb.debian.org/debian debian 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.
W: The repository 'https://zmrepo.zoneminder.com/debian/release-1.34/buster buster 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.
E: Nie udało się pobrać http://deb.debian.org/debian/dists/debian/buster/binary-i386/Packages 404 Not Found [IP: 2a04:4e42:3::644 80]
E: Nie udało się pobrać https://zmrepo.zoneminder.com/debian/release-1.34/buster/dists/buster/ZoneMinder/binary-i386/Packages 404 Not Found
E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub użyto ich starszej wersji.
Później :
root@debian:~# apt-get install zoneminder
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu zoneminder
root@debian:~#
Czy na https://zmrepo.zoneminder.com mam szukać katalogu binary-i386??
Sources.list dla Buster winna wyglądać tak: deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib
(tu są akurat otwarte wszystkie repozytoria, ale oprócz main przydają się pozostałe również.
Dodatkowe dla ZoneMinder ma wyglądać tak jak Ci wskazałem wcześniej:
deb https://zmrepo.zoneminder.com/debian/release-1.34 buster
Po poprawieniu i aktualizacji systemu (a wykonałbym ją przed dodaniem repo ZoneMinder), winno działać, choć nie mam jak sprawdzić, bo od lat Debiana nie mam i nikt mnie na niego nie namówi (a do tego stopnia jestem na nie, że nawet mi się na VB tego stawiać nie chce by sprawdzić).
Po nie udanych próbach, instalacjach pakietów itp system nie wytrzymał.
Zainstalowałem od nowa system.
Teraz jest tak:
root@debian:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Sources list jest takI:
deb http://deb.debian.org/debian/ buster main
#deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
#deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb http://ftp.de.debian.org/debian buster main contrib
# Stable backports
deb https://deb.debian.org/debian buster-backports main contrib non-free
#deb-src https://deb.debian.org/debian buster-backports main contrib non-free
#ZM
deb https://zmrepo.zoneminder.com/debian/release-1.34 buster /
Adres repo do ZM jest skopiowany bezpośrednio z ich strony. https://wiki.zoneminder.com/Debian_10_Buster_with_Zoneminder_1.34.x_from_ZM_Repo (https://wiki.zoneminder.com/Debian_10_Buster_with_Zoneminder_1.34.x_from_ZM_Repo)
Do tej pory wszystko od, wpisuje tylko apt update i zaczynają się błędy nadal.
root@debian:~# apt update
Stary:1 http://security.debian.org/debian-security buster/updates InRelease
Stary:2 http://deb.debian.org/debian buster InRelease
Stary:3 http://deb.debian.org/debian buster-updates InRelease
Stary:4 http://ftp.de.debian.org/debian buster InRelease
Stary:5 https://deb.debian.org/debian buster-backports InRelease
Ign:6 https://zmrepo.zoneminder.com/debian/release-1.34 buster InRelease
Błąd:7 https://zmrepo.zoneminder.com/debian/release-1.34 buster Release
404 Not Found [IP: 69.165.169.197 443]
Czytanie list pakietów... Gotowe
E: The repository 'https://zmrepo.zoneminder.com/debian/release-1.34 buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@debian:~#
Jak wpiszę adres repozytorium w przeglądarce, to wygląda na to że adres jest poprawny. Ale nie wiem dlaczego nie wyszukuje tego pliku release file?
Jeszcze oglądam te pliki na stronie repo, i większość plików ma dopisek ARM lub AMD64... czy to może być tak że tam nie ma plików do instalowania ZM na architekturze i386 ? Czy całkiem coś pomyliłem.?
Teoretycznie jest tam plik Realise i w nim jest informacja Architectures: all i386 amd64 armhf arm64
ale plików chyba brak....
Znów powiem - nie mam debianowatych, ale masz:
deb https://zmrepo.zoneminder.com/debian/release-1.34 buster /
przez przypadek nie powinno być:
deb https://zmrepo.zoneminder.com/debian/release-1.34 buster/
https://files.fm/u/h6yezj7nb#/view/prxwd2b49
Dodaje zdjęcie pliku sources.list
Dodałem wpis tak jak podałeś w tagach CODE
Zapisałem.
apt update
Stary:1 http://security.debian.org/debian-security buster/updates InRelease
Stary:2 http://deb.debian.org/debian buster InRelease
Stary:3 http://deb.debian.org/debian buster-updates InRelease
Stary:4 http://ftp.de.debian.org/debian buster InRelease
Stary:5 http://repo.mysql.com/apt/debian buster InRelease
Stary:6 https://deb.debian.org/debian buster-backports InRelease
Ign:7 https://zmrepo.zoneminder.com/debian/release-1.34 buster InRelease
Błąd:8 https://zmrepo.zoneminder.com/debian/release-1.34 buster Release
404 Not Found [IP: 69.165.169.197 443]
Czytanie list pakietów... Gotowe
E: The repository 'https://zmrepo.zoneminder.com/debian/release-1.34 buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I znowu nie można odnaleźć pakietu.
Czy któryś z forumowiczów może sprawdzić czy u was działa ten adres repozytorium ??
Co do zdjęcia z pliku soruces, czy to ma znaczenie czy / jest podświetlony na czerwono czy na różowo ??
Sciągłem Debian netinstall iso
I zainstalowalem Debiana na Virtualboxie
Przykladowy poradnik z internetu https://www.youtube.com/watch?v=ds_dTyDtGx0
Zainstalowalem LXDE + narzedzia systemowe
Zainstalowalem mlocate
Nie moglem uzywac su
Wystraszylem sie ze juz system popsulem :D
Uzylem sudo su
dziala, ale chyba sudo wczesniej nie bylo domyslnie instalowane w Debianie.
Orginalne
cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 NETINST 20210327-10:38]/ buster main
#deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 NETINST 20210327-10:38]/ buster main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
Zainstalowalem tez komende inxi by sie upewnic czy nic sie nie schowalo
np. w katalogu /etc/apt/sources.list.d
# inxi -r
Repos: Active apt repos in: /etc/apt/sources.list
1: deb http://deb.debian.org/debian/ buster main
2: deb-src http://deb.debian.org/debian/ buster main
3: deb http://security.debian.org/debian-security buster/updates main
4: deb-src http://security.debian.org/debian-security buster/updates main
5: deb http://deb.debian.org/debian/ buster-updates main
6: deb-src http://deb.debian.org/debian/ buster-updates main
Zaktualizowalem system
Zaktualizowano następujące pakiety:
libx11-6 (2:1.6.7-1+deb10u1) to 2:1.6.7-1+deb10u2
libx11-data (2:1.6.7-1+deb10u1) to 2:1.6.7-1+deb10u2
libx11-xcb1 (2:1.6.7-1+deb10u1) to 2:1.6.7-1+deb10u2
Sprawdzilem jaki system posiadam.
# cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Wniosek:
W poradniku https://zoneminder.readthedocs.io/en/stable/installationguide/debian.html#easy-way-debian-stretch
brakuje poradnika dla wersji "buster"
No ale próbujemy.
1. W domyslnym repo faktycznie nie ma.
2. Moze wyszukiwarka internetowa cos podpowie
" zoneminder debian "
No jest i to z wersja "buster":
https://wiki.zoneminder.com/Debian_10_Buster_with_Zoneminder_1.34.x_from_ZM_Repo
Na wiki Debiana natomiast cisza
https://wiki.debian.org/StronaG%C5%82%C3%B3wna?action=fullsearch&context=180&value=zoneminder&fullsearch=Tekst
Zaciekawiło mnie po co mu serwer,
az musialem sprawdzic co to jest ZoneMinder
https://en.wikipedia.org/wiki/ZoneMinder
Users control ZoneMinder via a web-based interface.
The application can use standard cameras (via a capture card, USB, FireWire etc.) or IP-based camera devices.
No dobra, nawet jesli ten wyzej poradnik dziala,
to wrócę najpierw do twojego pierwszego i przetestuję.
https://zoneminder.readthedocs.io/en/stable/installationguide/debian.html
Ale poniewaz poradnik jest nie aktualny,
to musze sprawdzic w przeglądarce czy taka sciezka i pliki istnieją.
Wyzej dawalem dwa linki do dwóch przykładów formatów w wiki Debiana
jak powinien wygladac format wpisu w /etc/apt/sources.list pliku.
Otwieram przeglądarke i wklejam https://zmrepo.zoneminder.com/debian/release/
no widze ze jest tam katalog "buster"
Więc naprawiam wpis:
# ZoneMinder repository
deb https://zmrepo.zoneminder.com/debian/release stretch/
na
# ZoneMinder repository
deb https://zmrepo.zoneminder.com/debian/release buster/
# apt install apt-transport-https
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Zostaną zainstalowane następujące NOWE pakiety:
apt-transport-https
0 aktualizowanych, 1 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Konieczne pobranie 149 kB archiwów.
Po tej operacji zostanie dodatkowo użyte 156 kB miejsca na dysku.
Pobieranie:1 http://deb.debian.org/debian buster-updates/main amd64 apt-transport-https all 1.8.2.3 [149 kB]
Pobrano 149 kB w 0s (727 kB/s)
Wybieranie wcześniej niewybranego pakietu apt-transport-https.
(Odczytywanie bazy danych ... 111091 plików i katalogów obecnie zainstalowanych.)
Przygotowywanie do rozpakowania pakietu .../apt-transport-https_1.8.2.3_all.deb ...
Rozpakowywanie pakietu apt-transport-https (1.8.2.3) ...
Konfigurowanie pakietu apt-transport-https (1.8.2.3) ...
wget -O - https://zmrepo.zoneminder.com/debian/archive-keyring.gpg | sudo apt-key add
--2021-05-24 09:43:22-- https://zmrepo.zoneminder.com/debian/archive-keyring.gpg
[sudo] hasło użytkownika tele: Translacja zmrepo.zoneminder.com (zmrepo.zoneminder.com)... 69.165.169.197
Łączenie się z zmrepo.zoneminder.com (zmrepo.zoneminder.com)|69.165.169.197|:443... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 1786 (1,7K)
Zapis do: `STDOUT'
- 100%[===============================================>] 1,74K --.-KB/s w 0s
2021-05-24 09:43:22 (36,3 MB/s) - zapisano na standardowe wyjście [1786/1786]
OK
===========
Zagduje ze wykonujac z konta root nie trzeba wpisywac hasel.
Wykonujac komende z konta uzytkownika przed "OK" trzeba wpisac haslo
Problem w tym ze nie pyta o haslo. xD
$ sudo apt update
Stary:1 http://deb.debian.org/debian buster InRelease
Pobieranie:2 http://security.debian.org/debian-security buster/updates InRelease [65,4 kB]
Stary:3 http://deb.debian.org/debian buster-updates InRelease
Ign:4 https://zmrepo.zoneminder.com/debian/release buster/ InRelease
Pobieranie:5 https://zmrepo.zoneminder.com/debian/release buster/ Release [1 184 B]
Pobieranie:6 https://zmrepo.zoneminder.com/debian/release buster/ Release.gpg [516 B]
Pobrano 67,1 kB w 1s (67,8 kB/s)
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
All packages are up to date.
$ sudo apt install zoneminder
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu zoneminder
No to przeanalizujmy te wiki o tych formatach wpisów co dawalem.
1. Pierwszy format mówi że to musi być link zwierajacy katalog "dist"
i w katalogu "dists/nazwa_wersji/" czyli w "dists/buster/" powinny byc dwa pliki (Release i release.gpg)
i tak dalej.
Nie wiem jak ty , ale ja katalogu "dists" nie znalazlem.
2. Drugi format "plaski"
"sciezka /katakog_do_pakietow"
No też źle bo w https://zmrepo.zoneminder.com/debian/release/buster/
poniewaz nie ma tam ani katalogu ani samych paczek.
Wracajac do https://wiki.zoneminder.com/Debian_10_Buster_with_Zoneminder_1.34.x_from_ZM_Repo
i do postu pavbaranov
" Paczki dla Buster znajdują się w: https://zmrepo.zoneminder.com/debian/release-1.34/buster/. "
W linku pisze to samo.
No to sprawdzmy.
W katalogu debian --> https://zmrepo.zoneminder.com/debian/
jest kilka wersji i jest takze 1.34
No to wchodzimy i rozgladamy sie.
Wnioski:
Mie ma tam katalogu, ale znalezlismy paczki https://zmrepo.zoneminder.com/debian/release-1.34/buster/
Wiec mozemy stworzyc wpis "płaski" zawierajacy takie cos w srodku
https://zmrepo.zoneminder.com/debian/release-1.34 buster/
No i sprawdzamy z tym co napisał pavbaranov i z wiki.zoneminder.com
Wpis wyglada na identyczny to testujemy.
# ZoneMinder repository
deb https://zmrepo.zoneminder.com/debian/release-1.34 /buster
# apt update
E: Malformed entry 25 in list file /etc/apt/sources.list (Component)
E: Nie udało się odczytać list źródeł.
Nasz wpis znajduje sie w linii 25. No cos z naszym wpisem jest nie tak.
Aaa zrobilem blad. Moja wina :D
Przekrecilem ukosniki.
On musi miec prawidlowo ukosniki by przejsc do odpowiedniego katalogu.
No to jeszcze raz
Wiec mozna tak:
# ZoneMinder repository
deb https://zmrepo.zoneminder.com/debian/release-1.34/ buster/
Mozna tak:
# ZoneMinder repository
deb https://zmrepo.zoneminder.com/debian/release-1.34 buster/
Nie mozna tak
# ZoneMinder repository
deb https://zmrepo.zoneminder.com/debian/release-1.34 /buster/
...
W: Nieprawidłowa dystrybucja: https://zmrepo.zoneminder.com/debian/release-1.34 /buster/ Release (oczekiwano /buster/, a otrzymano buster)
Jak naprawimy to odświeżenie listy pakietów pójdzie bez błędów
# apt update
Stary:1 http://security.debian.org/debian-security buster/updates InRelease
Stary:2 http://deb.debian.org/debian buster InRelease
Stary:3 http://deb.debian.org/debian buster-updates InRelease
Ign:4 https://zmrepo.zoneminder.com/debian/release-1.34 buster/ InRelease
Stary:5 https://zmrepo.zoneminder.com/debian/release-1.34 buster/ Release
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
All packages are up to date.
No to jak juz mamy to instalujemy.
I w wielkim skrócie instalacja udana.
Oczywiscie ominąłem instalacje serwerow, poniewaz moim zadaniem bylo tylko przetestowac repozytorium zoneminder.
Instalacje reszty / serwerow musisz wykonac sam.
Najlepiej z tym wiki dla buster ktore dziala / posiada prawidlowy wpis repozytorium.
Wiec zagadka ze zlym wpisem chyba rozwiazana?
Edytowane:
1. Mam nadzieje ze ortografii nikt sie nie przyczepi :D
Najwazniejsze by sie doczytac.
Ech źle napisałem. Po prostu bądz ostrożny jak wklejasz lub wpisujesz.
2. W jednym z poradnikow dla poczatkujacych znajdziesz
Komendy kopiuj i wklejaj zamiast przepisywac.
Unikniesz błędów własnych.
Oczywiście nie dotyczy to np. kont bankowych.
Ponieważ nowsze przeglądarki mogą, a nawet pozwalają na podmianę zawartości schowka.
Takie " unowocześnienie " które może być także wykorzystane do niecnych celów.