Page 1 of 1

Linux Mint/sabnzbdplus errors.

Posted: January 20th, 2012, 11:06 am
by beeman1937
I have been trying hard over the last few days to get sabnzbdplus working consistently, but I am getting so many errors and problems I'm wondering if an upgrade would work better.
Sab was installed from the package manager version 5.0. on to Linux Mint 10. I notice from this forum that a version 6 of sab is available.
My question. If I install version 6 would I get a better program, perhaps with more compatibility with Chrome sab exstension which currently fails to connect? In other words is it worth the trouble?

Re: Linux Mint/sabnzbdplus errors.

Posted: January 20th, 2012, 1:07 pm
by sander
Running a newer version of SABnzbd on Ubuntu and its derivatives is not that difficult: stop the current SABnzbd, download the "python source version" from http://sabnzbd.org/download/ , unpack it, go into the unpacked directory and run it. Then see if you get the same errors. If so, it is not version dependent. ;-)

(As Linux Mint is based on Ubuntu, I guess you can also add the PPA for SABnzbd; you will then get the newest version installed.)

Re: Linux Mint/sabnzbdplus errors.

Posted: January 20th, 2012, 3:45 pm
by beeman1937
sander wrote:(As Linux Mint is based on Ubuntu, I guess you can also add the PPA for SABnzbd; you will then get the newest version installed.)
I did try that, got another error

"E: /var/cache/apt/archives/sabnzbdplus_0.6.14-0ubuntu1~jcfp1~maverick_all.deb: subprocess new pre-removal script returned error exit status 1"

I have seen this error "exit status 1" before. But have lost direction on how to cure it.

Re: Linux Mint/sabnzbdplus errors.

Posted: January 20th, 2012, 4:40 pm
by beeman1937
It gets worse than the previous post.
On loading I get a terminal error

"[6174:6231:6009653612:ERROR:x509_certificate_nss.cc(730)] CERT_PKIXVerifyCert for localhost failed err=-8179"

Then I get a 500 Internal server error.

Could someone please point me in the right direction.

Re: Linux Mint/sabnzbdplus errors.

Posted: January 20th, 2012, 4:46 pm
by jcfp
beeman1937 wrote:"E: /var/cache/apt/archives/sabnzbdplus_0.6.14-0ubuntu1~jcfp1~maverick_all.deb: subprocess new pre-removal script returned error exit status 1"
This is just a single line, without context and the commands or actions that resulted in this. Without the rest of the output, nobody can remedy this type of error.

Re: Linux Mint/sabnzbdplus errors.

Posted: January 20th, 2012, 5:06 pm
by beeman1937
[quote="beeman1937"]I am asking for help. Perhaps you could enlighten me with the requirements needed to correct my errors?

I have tried to remove the offending program and came up with the following. Does this help in diagnosing my problem?

david@david ~ $ dpkg --remove --force-remove-reinstreq sabnzbdplus
dpkg: requested operation requires superuser privilege
david@david ~ $ sudo dpkg --remove --force-remove-reinstreq sabnzbdplus
[sudo] password for david:
dpkg: warning: overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 163307 files and directories currently installed.)
Removing sabnzbdplus ...
pgrep: invalid user name: beeman1937
invoke-rc.d: initscript sabnzbdplus, action "stop" failed.
dpkg: error processing sabnzbdplus (--remove):
subprocess installed pre-removal script returned error exit status 1
pgrep: invalid user name: beeman1937
invoke-rc.d: initscript sabnzbdplus, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
sabnzbdplus

Any help gratefully received

Re: Linux Mint/sabnzbdplus errors.

Posted: January 21st, 2012, 2:43 am
by sander
dpkg?

Can you follow the instructions here: http://wiki.sabnzbd.org/install-ubuntu-repo

Re: Linux Mint/sabnzbdplus errors.

Posted: January 21st, 2012, 7:05 am
by jcfp
beeman1937 wrote:Does this help in diagnosing my problem?
Yes, it does.
beeman1937 wrote:

Code: Select all

pgrep: invalid user name: beeman1937
invoke-rc.d: initscript sabnzbdplus, action "stop" failed.
You set an invalid username in /etc/default/sabnzbdplus (or edited the init script in /etc/init.d/sabnzbdplus beyond repair). Try correcting or removing the offending username from /etc/default/sabnzbdplus.

Re: Linux Mint/sabnzbdplus errors.

Posted: January 21st, 2012, 9:22 am
by beeman1937
sander wrote:dpkg?
Can you follow the instructions here: http://wiki.sabnzbd.org/install-ubuntu-repo
Following this caused the problem!

Re: Linux Mint/sabnzbdplus errors.

Posted: January 21st, 2012, 9:57 am
by beeman1937
jcfp wrote:Yes, it does.
You set an invalid username in /etc/default/sabnzbdplus (or edited the init script in /etc/init.d/sabnzbdplus beyond repair). Try correcting or removing the offending username from /etc/default/sabnzbdplus.
I have never tried to 'edit' files up to now and really don't know how to start.
Please, lead me by the hand 'or nose' if needed, and I'll do my best.
I believe I need to remove and start again, there appears to be a problem from when I accessed "http://wiki.sabnzbd.org/install-ubuntu-repo" to try an update.

Re: Linux Mint/sabnzbdplus errors. Self Solved

Posted: January 21st, 2012, 6:06 pm
by beeman1937
I went to terminal
'sudo gedit /var/lib/dpkg/status' which allowed me to 'find' sabnzbdplus which I then deleted all mention.
I then went to Package manager and removed further issues of the same.
I finally went to Home file, view 'hidden files' and removed all folders/files sabnzbdplus.
Broken files now gone. I will try re-installing from 'http://wiki.sabnzbd.org/install-ubuntu-repo' hopefully the problem is resolved.