I know this maybe been answered a lot of times. but this happen when you start something without knowing much
It tried this guide here Guide.
i get this error
But i have no access at web anymore to remove it.
Only tried and removed some from apt remove ( i think transmission cli and common) but i still get the following error.
root@nas:~# wget -O - https://github.com/OpenMediaVa…pt/raw/master/upgrade4to5 | sudo bash
--2020-08-04 14:50:07-- https://github.com/OpenMediaVa…pt/raw/master/upgrade4to5
Resolving github.com (github.com)... 188.8.131.52
Connecting to github.com (github.com)|184.108.40.206|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.…Script/master/upgrade4to5 [following]
--2020-08-04 14:50:09-- https://raw.githubusercontent.…Script/master/upgrade4to5
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 220.127.116.11
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|18.104.22.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3274 (3.2K) [text/plain]
Saving to: ‘STDOUT’
- 100%[=============================>] 3.20K --.-KB/s in 0s
2020-08-04 14:50:09 (14.3 MB/s) - written to stdout [3274/3274]
Creating omv-mkconf to help remove plugins
Purging incompatible plugins ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 105174 files and directories currently installed.)
Purging configuration files for openmediavault-transmissionbt (4.0) ...
/var/lib/dpkg/info/openmediavault-transmissionbt.postrm: 5: .: Can't open /etc/default/openmediavault
dpkg: error processing package openmediavault-transmissionbt (--purge):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to remove 'openmediavault-transmissionbt'.
Failed to remove a plugin. Exiting...