Nowe posty

Autor Wątek: Nie udało się odnaleźć pakietu zoneminder  (Przeczytany 7950 razy)

Offline Damian.R

  • Nowy na forum
  • *
  • Wiadomości: 9
    • Zobacz profil
Nie udało się odnaleźć pakietu zoneminder
« dnia: 2021-05-10, 20:44:16 »
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

W czym może być problem że nie moge zainstlować takie pokietu jak ZoneMinder???

Offline pavbaranov

  • Users
  • Guru
  • *****
  • Wiadomości: 878
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #1 dnia: 2021-05-10, 23:40:23 »
Pokaż co pokazuje w konsoli próba instalacji tego pakietu.

Offline Paweł Kraszewski

  • Administrator
  • Guru
  • *****
  • Wiadomości: 3047
  • Lenistwo jest matką potrzeby = babcią wynalazku
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #2 dnia: 2021-05-11, 07:32:28 »
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.
Paweł Kraszewski
~Arch/Void/Gentoo/FreeBSD/OpenBSD/Specjalizowane customy

Offline Damian.R

  • Nowy na forum
  • *
  • Wiadomości: 9
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #3 dnia: 2021-05-11, 18:52:27 »
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.

Offline Paweł Kraszewski

  • Administrator
  • Guru
  • *****
  • Wiadomości: 3047
  • Lenistwo jest matką potrzeby = babcią wynalazku
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #4 dnia: 2021-05-11, 19:27:23 »
To może propozycja - spróbuj zainstalować zgodnie z ich instrukcją instalacji na Stretch? Zwróć uwagę na inne repo, niż u Ciebie.
Paweł Kraszewski
~Arch/Void/Gentoo/FreeBSD/OpenBSD/Specjalizowane customy

Offline Damian.R

  • Nowy na forum
  • *
  • Wiadomości: 9
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #5 dnia: 2021-05-12, 18:33:03 »
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.

Offline pavbaranov

  • Users
  • Guru
  • *****
  • Wiadomości: 878
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #6 dnia: 2021-05-13, 10:05:26 »
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
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/. 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/. 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).

Offline Damian.R

  • Nowy na forum
  • *
  • Wiadomości: 9
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #7 dnia: 2021-05-17, 22:12:21 »
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??

Offline pavbaranov

  • Users
  • Guru
  • *****
  • Wiadomości: 878
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #8 dnia: 2021-05-18, 02:49:15 »
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ć).

Offline 1709

  • Users
  • Guru
  • *****
  • Wiadomości: 2757
  • 1709
    • Zobacz profil
« Ostatnia zmiana: 2021-05-18, 10:43:00 wysłana przez 1709 »
PS: Brak polskiej czcionki, nie jest to brak lenistwa, a jej brak w systemie i brak czasu na reczne poprawki.

Offline Damian.R

  • Nowy na forum
  • *
  • Wiadomości: 9
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #10 dnia: 2021-05-22, 20:00:13 »
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

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....
« Ostatnia zmiana: 2021-05-22, 20:10:02 wysłana przez Damian.R »

Offline pavbaranov

  • Users
  • Guru
  • *****
  • Wiadomości: 878
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #11 dnia: 2021-05-22, 21:01:29 »
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/

Offline Damian.R

  • Nowy na forum
  • *
  • Wiadomości: 9
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #12 dnia: 2021-05-22, 21:35:39 »
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 ??

Offline pavbaranov

  • Users
  • Guru
  • *****
  • Wiadomości: 878
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #13 dnia: 2021-05-23, 11:02:36 »
Nie wiem. Dla mnie wpis wygląda poprawnie i plik Release jest w tym katalogu, o którym Twój system twierdzi, że go nie ma. Nie pamiętam już na tyle Debiana, by coś więcej Ci pomóc (np. czy trzeba jakoś zaktualizować bazę APT; w moim systemie tak się robi). Jeśli żadnych czynności po dodaniu repozytorium nie należy dokonywać, to problem może leżeć po stronie zoneminder (choć wątpię).

Offline Paweł Kraszewski

  • Administrator
  • Guru
  • *****
  • Wiadomości: 3047
  • Lenistwo jest matką potrzeby = babcią wynalazku
    • Zobacz profil
Odp: Nie udało się odnaleźć pakietu zoneminder
« Odpowiedź #14 dnia: 2021-05-23, 14:44:45 »
Generalnie - pierwszy wpis z pierwszego posta zadziałał na moim stockowym Debianie od razu (nie kontynuowałem instalacji, bo chciał miliard zależności). Może masz po prostu coś spieprzone w systemie?
Paweł Kraszewski
~Arch/Void/Gentoo/FreeBSD/OpenBSD/Specjalizowane customy