I ran an omv-update this morning on my OMV 3... it went through it's thing, and then stopped while processing openmediavault-deluge with error "sub-process /usr/bin/dpkg returned an error code (1)"
I have SSH and SMB shares, but ngix gives me a 403 error, but states it is up and running.
I tried running apt-get update
It goes through a bunch of gets and then complains about duplicate sources.list entries... here is my /etc/apt/sources.list:
cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170731-21:43]/ jessie contrib main non-free
#deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170731-21:43]/ jessie contrib main non-free
deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.us.debian.org/debian jessie main
deb http://ftp.us.debian.org/debian/ jessie main non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# jessie-updates, previously known as 'volatile'
# Line commented out by installer because it failed to verify:
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
# Line commented out by installer because it failed to verify:
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
# deb http://ftp.us.debian.org/debian/ stretch main
----------------------------------------
an apt-get upgrade:
root@homelands:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
omvextras-common : Depends: openmediavault (>= 3.0.15) but it is not installed
openmediavault-deluge : Depends: openmediavault (>= 3.0.13) but it is not installed
Depends: python-gtk2-dev but it is not installed
Depends: libboost-system-dev but it is not installed
Depends: libboost-python-dev but it is not installed
Depends: libtorrent-rasterbar-dev but it is not installed
openmediavault-omvextrasorg : Depends: openmediavault (>= 3.0.67) but it is not installed
openmediavault-radarr : Depends: openmediavault (>= 3.0.13) but it is not installed
openmediavault-sonarr : Depends: openmediavault (>= 3.0.13) but it is not installed
E: Unmet dependencies. Try using -f.
root@homelands:~# apt-get upgrade -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages will be REMOVED:
openmediavault-deluge
The following NEW packages will be installed:
nfs-common nfs-kernel-server openmediavault rpcbind wpasupplicant
The following packages have been kept back:
linux-image-amd64
The following packages will be upgraded:
beep docker-ce git-man imagemagick-common libcurl3 libcurl3-gnutls libmad0 libmagickcore-6.q16-2 libmagickwand-6.q16-2 libperl5.20 libprocps3 libsdl-image1.2 linux-libc-dev
openmediavault-omvextrasorg perl perl-base perl-modules plexmediaserver procps tzdata wget xdg-utils
22 upgraded, 5 newly installed, 1 to remove and 1 not upgraded.
9 not fully installed or removed.
Need to get 0 B/160 MB of archives.
After this operation, 16.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 60340 files and directories currently installed.)
Removing openmediavault-deluge (3.2) ...
/var/lib/dpkg/info/openmediavault-deluge.postrm: 6: .: Can't open /usr/share/openmediavault/scripts/helper-functions
dpkg: error processing package openmediavault-deluge (--remove):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
openmediavault-deluge
E: Sub-process /usr/bin/dpkg returned an error code (1)
------------------------------------------------------------------------
the only omv-* commands that exist are 'aptclean', 'changerepo', 'mkgraph', and 'showkey'
apt-get -install --reinstall openmediavault results in:
apt-get -f install --reinstall openmediavault
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
openmediavault : Depends: nfs-kernel-server but it is not going to be installed
Depends: wpasupplicant but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
--------------------------------
I am about to just pull the data disks and blow the whole thing up but wanted to double check if there was a way to recover before I redo my whole setup....