Oprogramowanie > Instalacja oprogramowania
Nie udało się odnaleźć pakietu zoneminder
Damian.R:
Witajcie, chce zainstalować na swoim serweru ZoneMinder do kamer ip.
Mój sources list wygląda tak:
--- Kod: ---
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
--- Koniec kodu ---
Moje wersja systemu:
--- Kod: ---
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:~#
--- Koniec kodu ---
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
W czym może być problem że nie moge zainstlować takie pokietu jak ZoneMinder???
pavbaranov:
Pokaż co pokazuje w konsoli próba instalacji tego pakietu.
Paweł Kraszewski:
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:
--- Kod: ---
deb http://ftp.pl.debian.org/debian/ stretch main
--- Koniec kodu ---
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.
Damian.R:
Trochę zrobiłem porządek w pliku sources.list
Teraz wygląda tak:
--- Kod: ---
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/
--- Koniec kodu ---
A tak mam po komnedzie apt-get update i apt-get install zoneminder
--- Kod: ---
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:~#
--- Koniec kodu ---
To są moje wyniki na ten moment, teraz będę próbował zaktualizować system.
Paweł Kraszewski:
To może propozycja - spróbuj zainstalować zgodnie z ich instrukcją instalacji na Stretch? Zwróć uwagę na inne repo, niż u Ciebie.
Nawigacja
[#] Następna strona
Idź do wersji pełnej