[Android Apps and Games] steve51184:
i'm having problems with a failed install of bubbleupnpserver

every time i try to run apt upgrade or install anything on my debian system it fails with the following error:

# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package bubbleupnpserver needs to be reinstalled, but I can't find an archive for it.

i've tried to remove it but i get this error:

# dpkg -r bubbleupnpserver
dpkg: error processing package bubbleupnpserver (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
bubbleupnpserver

and trying to reinstall gives this:

# dpkg -i bubbleupnpserver_0.9-4_all.debSelecting previously unselected package bubbleupnpserver.
(Reading database ... 66794 files and directories currently installed.)
Preparing to unpack bubbleupnpserver_0.9-4_all.deb ...
dpkg: warning: subprocess old pre-removal script returned error exit status 102
dpkg: trying script from the new package instead ...
dpkg: error processing archive bubbleupnpserver_0.9-4_all.deb (--install):
subprocess new pre-removal script returned error exit status 102
--2016-04-08 04:01:25-- http://bubblesoftapps.com/bubbleupnpserver/core/bcprov-jdk16-146.jar
Resolving bubblesoftapps.com (bubblesoftapps.com)... 94.23.212.51
Connecting to bubblesoftapps.com (bubblesoftapps.com)|94.23.212.51|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1876535 (1.8M) [application/java-archive]
Saving to: ���bcprov-jdk16-146.jar���

bcprov-jdk16-146.jar 100%[=======================>] 1.79M 11.3MB/s in 0.2s

2016-04-08 04:01:25 (11.3 MB/s) - ���bcprov-jdk16-146.jar��� saved [1876535/1876535]

--2016-04-08 04:01:25-- http://bubblesoftapps.com/bubbleupnpserver/core/BubbleUPnPServerLauncher.jar
Resolving bubblesoftapps.com (bubblesoftapps.com)... 94.23.212.51
Connecting to bubblesoftapps.com (bubblesoftapps.com)|94.23.212.51|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 76338 (75K) [application/java-archive]
Saving to: ���BubbleUPnPServerLauncher.jar���

BubbleUPnPServerLaun 100%[=======================>] 74.55K --.-KB/s in 0.006s

2016-04-08 04:01:25 (12.4 MB/s) - ���BubbleUPnPServerLauncher.jar��� saved [76338/76338]

--2016-04-08 04:01:25-- http://bubblesoftapps.com/bubbleupnpserver/core/BubbleUPnPServer.jar
Resolving bubblesoftapps.com (bubblesoftapps.com)... 94.23.212.51
Connecting to bubblesoftapps.com (bubblesoftapps.com)|94.23.212.51|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7604697 (7.3M) [application/java-archive]
Saving to: ���BubbleUPnPServer.jar���

BubbleUPnPServer.jar 100%[=======================>] 7.25M 11.2MB/s in 0.6s

2016-04-08 04:01:26 (11.2 MB/s) - ���BubbleUPnPServer.jar��� saved [7604697/7604697]

--2016-04-08 04:01:26-- http://bubblesoftapps.com/bubbleupnpserver/core/launch.sh
Resolving bubblesoftapps.com (bubblesoftapps.com)... 94.23.212.51
Connecting to bubblesoftapps.com (bubblesoftapps.com)|94.23.212.51|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 660 [text/x-sh]
Saving to: ���launch.sh���

launch.sh 100%[=======================>] 660 --.-KB/s in 0s

2016-04-08 04:01:26 (30.6 MB/s) - ���launch.sh��� saved [660/660]

--2016-04-08 04:01:26-- http://bubblesoftapps.com/bubbleupnpserver/core/LICENCE.txt
Resolving bubblesoftapps.com (bubblesoftapps.com)... 94.23.212.51
Connecting to bubblesoftapps.com (bubblesoftapps.com)|94.23.212.51|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3921 (3.8K) [text/plain]
Saving to: ���LICENCE.txt���

LICENCE.txt 100%[=======================>] 3.83K --.-KB/s in 0s

2016-04-08 04:01:26 (93.1 MB/s) - ���LICENCE.txt��� saved [3921/3921]

--2016-04-08 04:01:26-- http://bubblesoftapps.com/bubbleupnpserver/core/ffmpeg_linux.zip
Resolving bubblesoftapps.com (bubblesoftapps.com)... 94.23.212.51
Connecting to bubblesoftapps.com (bubblesoftapps.com)|94.23.212.51|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24364259 (23M) [application/zip]
Saving to: ���ffmpeg_linux.zip���

ffmpeg_linux.zip 100%[=======================>] 23.24M 11.2MB/s in 2.1s

2016-04-08 04:01:28 (11.2 MB/s) - ���ffmpeg_linux.zip��� saved [24364259/24364259]

Archive: ffmpeg_linux.zip
inflating: ffmpeg
inflating: ffprobe
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 102
Errors were encountered while processing:
bubbleupnpserver_0.9-4_all.deb

this means i can't update my system or install anything.. how can i remove bubbleupnpserver and fix this problem?

thanks