My NAS (debian jessy) got firmware update and now bluecherry is broken

Hello…
I did not pay attention and accepted a firmware update on my Jessy NAS.
After that BC was broken…
Sinc ei have a second NAS to test and play, i checked and the new Firmware is compatible…for a fresh install…
So how could i repair my somewhat broken install?
It is/was version 2.8.8
When i try to install from the install bash command i get:

Blockquote

root@Pro6:~# bash -c “$(wget -O - https://dl.bluecherrydvr.com/scripts/install)”
–2019-11-05 14:39:04-- https://dl.bluecherrydvr.com/scripts/install
Resolving dl.bluecherrydvr.com (dl.bluecherrydvr.com)… 104.31.67.16, 104.31.66.16
Connecting to dl.bluecherrydvr.com (dl.bluecherrydvr.com)|104.31.67.16|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 4046 (4.0K) [application/octet-stream]
Saving to: âSTDOUTâ

  •               100%[=====================>]   3.95K  --.-KB/s   in 0s
    

2019-11-05 14:39:04 (46.8 MB/s) - written to stdout [4046/4046]

OK
–2019-11-05 14:39:05-- https://dl.bluecherrydvr.com/sources.list.d/bluecherry-jessie.list
Resolving dl.bluecherrydvr.com (dl.bluecherrydvr.com)… 104.31.67.16, 104.31.66.16
Connecting to dl.bluecherrydvr.com (dl.bluecherrydvr.com)|104.31.67.16|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 176 [application/octet-stream]
Saving to: â/etc/apt/sources.list.d/bluecherry-jessie.listâ

/etc/apt/sources.li 100%[=====================>] 176 --.-KB/s in 0s

2019-11-05 14:39:05 (321 MB/s) - â/etc/apt/sources.list.d/bluecherry-jessie.listâ saved [176/176]

Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign:2 http://ubuntu.bluecherrydvr.com jessie InRelease
Hit:4 http://ubuntu.bluecherrydvr.com jessie Release
Get:6 http://security.debian.org jessie/updates/main amd64 Packages [723 kB]
Ign:3 http://mirrors.edge.kernel.org/debian jessie InRelease
Hit:7 https://apt.readynas.com/packages/readynasos 6.10.2 InRelease
Hit:8 http://mirrors.edge.kernel.org/debian jessie Release
Fetched 768 kB in 1s (594 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
bluecherry : Depends: libopencv-core2.4 but it is not going to be installed
Depends: libopencv-imgproc2.4 but it is not going to be installed
Depends: mysql-server but it is not going to be installed
Depends: sysstat but it is not installable
Depends: mkvtoolnix but it is not installable
Depends: php-mail but it is not installable
Depends: php-mail-mime but it is not installable
Depends: php-net-smtp but it is not installable
Depends: nmap but it is not installable
Depends: v4l-utils but it is not installable
Depends: libapache2-mod-php5 but it is not going to be installed
Depends: php5-gd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Blockquote

When i try dpkg -i bluecherry_2.8.8_amd64.deb i get

Blockquote
root@Pro6:/Raid6/Recordings# dpkg -i bluecherry_2.8.8_amd64.deb
Selecting previously unselected package bluecherry.
(Reading database … 16370 files and directories currently installed.)
Preparing to unpack bluecherry_2.8.8_amd64.deb …
groupadd: group ‘bluecherry’ already exists
Unpacking bluecherry (2:2.8.8) …
dpkg: dependency problems prevent configuration of bluecherry:
bluecherry depends on libopencv-core2.4; however:
Package libopencv-core2.4:amd64 is not installed.
bluecherry depends on libopencv-imgproc2.4; however:
Package libopencv-imgproc2.4:amd64 is not installed.
bluecherry depends on mysql-server; however:
Package mysql-server is not installed.
bluecherry depends on sysstat; however:
Package sysstat is not installed.
bluecherry depends on mkvtoolnix; however:
Package mkvtoolnix is not installed.
bluecherry depends on php-mail; however:
Package php-mail is not installed.
bluecherry depends on php-mail-mime; however:
Package php-mail-mime is not installed.
bluecherry depends on php-net-smtp; however:
Package php-net-smtp is not installed.
bluecherry depends on nmap; however:
Package nmap is not installed.
bluecherry depends on v4l-utils; however:
Package v4l-utils is not installed.
bluecherry depends on php5-sqlite; however:
Package php5-sqlite is not installed.
bluecherry dep
dpkg: error processing package bluecherry (–install):
dependency problems - leaving unconfigured
Processing triggers for systemd (230-7~bpo8+2.netgear3) …
Errors were encountered while processing:
bluecherry
root@Pro6:/Raid6/Recordings# apt-get install -f
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages will be REMOVED:
bluecherry
0 upgraded, 0 newly installed, 1 to remove and 26 not upgraded.
2 not fully installed or removed.
After this operation, 15.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 16931 files and directories currently installed.)
Removing bluecherry (2:2.8.8) …

  • ‘[’ -f /usr/share/debconf/confmodule ‘]’
  • . /usr/share/debconf/confmodule
    ++ ‘[’ ‘!’ ‘’ ‘]’
    ++ PERL_DL_NONLAZY=1
    ++ export PERL_DL_NONLAZY
    ++ ‘[’ ‘’ ‘]’
    ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/bluecherry.postrm remove
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
    debconf: falling back to frontend: Readline
  • ‘[’ -f /usr/share/debconf/confmodule ‘]’
  • . /usr/share/debconf/confmodule
    ++ ‘[’ ‘!’ 1 ‘]’
    ++ ‘[’ -z ‘’ ‘]’
    ++ exec
    ++ ‘[’ ‘’ ‘]’
    ++ exec
    ++ DEBCONF_REDIR=1
    ++ export DEBCONF_REDIR
  • case “$1” in
  • a2dissite bluecherry.conf
    ERROR: Site bluecherry does not exist!
  • true
  • invoke-rc.d apache2 restart
  • invoke-rc.d rsyslog restart
  • ‘[’ remove = remove ‘]’
  • ldconfig
  • ‘[’ remove = purge ‘]’
  • ‘[’ -d /run/systemd/system ‘]’
  • systemctl --system daemon-reload
  • ‘[’ remove = purge ‘]’
  • db_stop
  • echo STOP
    Processing triggers for systemd (230-7~bpo8+2.netgear3) …
    Processing triggers for libc-bin (2.19-18+deb8u10.netgear1) …
    Setting up rsyslog-mysql (8.4.2-1+deb8u3) …
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
    debconf: falling back to frontend: Readline
    dbconfig-common: writing config to /etc/dbconfig-common/rsyslog-mysql.conf
    dpkg: error processing package rsyslog-mysql (–configure):
    subprocess installed post-installation script returned error exit status 10
    Errors were encountered while processing:
    rsyslog-mysql
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Blockquote

Any ideas?
Unfortunate i dont have enough space for my raid content to wipe and install fresh

I fixed it myself…just a bunch of installs -f and some manual deletions via winscp and it was done…

Good! Try not to update ReadyNAS anymore :slight_smile: