Hirdetés

Új hozzászólás Aktív témák

  • Xpod

    addikt

    válasz betyarr #45862 üzenetére

    Én 64 bites oprendszert tettem fel, mert szeretném használni mind a 4GB RAM-ot.
    telepítés után kiadtam egy apt update és apt upgrade parancsot, hogy naprakész legyen a rendszer.

    Ezzel a paranccsal már van egy kis probléma: wget "https://github.com/SmokingCrop/UniFi/raw/master/install-unifi-pihole-English.sh" -O install-unifi-pihole.sh && chmod +x install-unifi-pihole.sh && ./install-unifi-pihole.sh no-pihole

    Lefut, de a parancs végén megállapítja, hogy nem tudja telepíteni a MongoDB-t és legyalul mindent.

    MongoDB will now be installed as it's a dependency of UniFi.
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Package mongodb-server is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    Package mongodb-clients is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'mongodb-server' has no installation candidate
    E: Package 'mongodb-clients' has no installation candidate
    The UniFi controller will be installed now.
    Preparing to unpack unifi_7.3.83_sysvinit_all.deb ...
    Unpacking unifi (7.3.83-19645-1) ...
    dpkg: dependency problems prevent configuration of unifi:
     unifi depends on mongodb-server (<< 1:4.0.0) | mongodb-10gen (<< 4.0.0) | mongodb-org-server (<< 4.0.0); however:
      Package mongodb-server is not installed.
      Package mongodb-10gen is not installed.
      Version of mongodb-org-server on system is 4.4.19.
    dpkg: error processing package unifi (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     unifi
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
      mongodb-database-tools mongodb-org-database-tools-extra mongodb-org-mongos mongodb-org-server mongodb-org-shell
      mongodb-org-tools
    Use 'sudo apt autoremove' to remove them.
    The following packages will be REMOVED:
      unifi
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 272 MB disk space will be freed.
    (Reading database ... 48687 files and directories currently installed.)
    Removing unifi (7.3.83-19645-1) ...

    Ez a parancs látszólag lefut:
    echo 'deb http://archive.raspbian.org/raspbian stretch main contrib non-free rpi' | sudo tee /etc/apt/sources.list.d/raspbian_stretch_for_mongodb.list
    deb http://archive.raspbian.org/raspbian stretch main contrib non-free rpi

    Ezt a parancsot is lefuttatom:
    sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt-get autoclean -y

    Ez a kimenete a parancsnak, ha jól értem ezt sem települ fel:
    Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
    Hit:2 http://deb.debian.org/debian bullseye InRelease
    Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
    Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
    Hit:5 https://download.docker.com/linux/debian bullseye InRelease
    Get:6 http://archive.raspbian.org/raspbian stretch InRelease [15.0 kB]
    Err:6 http://archive.raspbian.org/raspbian stretch InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
    Reading package lists... Done
    W: GPG error: http://archive.raspbian.org/raspbian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
    E: The repository 'http://archive.raspbian.org/raspbian stretch InRelease' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.

Új hozzászólás Aktív témák