Mar2zz / LaSi

LaSi is short for: Lazy admin Scripted Installers. Aim is to create 'easy' walkthrough-installers written in Bash for programs that are not inside official *nix-repo's, but for example only on Github or Googlecode. Main focus is headless servers, right now it supports debian-based systems, freeBSD-deratives (thx to Kriss1981) and bootstrapped Synology NAS devices (thx to Jeroenve)).
mar2zz.tweakblogs.net
GNU General Public License v3.0
60 stars 8 forks source link

Problems simply installing sabnzbdplus #30

Closed megalithic closed 12 years ago

megalithic commented 12 years ago

First off, most excellent project!

We'll get right to the issue..

Running headless ubuntu maverick 10.10, as a local user i tried the script, as well as sudo'd and received the following errors upon trying to install (the console output is after trying to uninstall then installing again via this script) sabnzbd+:

Checking for newest version...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  db4.8-util
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  sabnzbdplus-theme-classic sabnzbdplus-theme-smpl
Suggested packages:
  sabnzbdplus-theme-mobile
The following NEW packages will be installed:
  sabnzbdplus sabnzbdplus-theme-classic sabnzbdplus-theme-smpl
0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/1,088kB of archives.
After this operation, 3,822kB of additional disk space will be used.
Selecting previously deselected package sabnzbdplus.
(Reading database ... 198275 files and directories currently installed.)
Unpacking sabnzbdplus (from .../sabnzbdplus_0.6.15-0ubuntu1~jcfp1~maverick_all.deb) ...
Selecting previously deselected package sabnzbdplus-theme-classic.
Unpacking sabnzbdplus-theme-classic (from .../sabnzbdplus-theme-classic_0.6.15-0ubuntu1~jcfp1~maverick_all.deb) ...
Selecting previously deselected package sabnzbdplus-theme-smpl.
Unpacking sabnzbdplus-theme-smpl (from .../sabnzbdplus-theme-smpl_0.6.15-0ubuntu1~jcfp1~maverick_all.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Setting up sabnzbdplus (0.6.15-0ubuntu1~jcfp1~maverick) ...
 * Starting SABnzbd+ binary newsgrabber                                                                                                                                                                                                                                  [fail] 
invoke-rc.d: initscript sabnzbdplus, action "start" failed.
dpkg: error processing sabnzbdplus (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of sabnzbdplus-theme-classic:
 sabnzbdplus-theme-classic depends on sabnzbdplus (= 0.6.15-0ubuntu1~jcfp1~maverick); however:
  Package sabnzbdplus is not configured yet.
dpkg: error processing sabnzbdplus-theme-classic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sabnzbdplus-theme-smpl:
 sabnzbdplus-theme-smpl depends on sabnzbdplus (= 0.6.15-0ubuntu1~jcfp1~maverick); however:
  Package sabnzbdplus is not configured yet.
dpkg: error processing sabnzbdplus-theme-smpl (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                                                                                                    Errors were encountered while processing:
 sabnzbdplus
 sabnzbdplus-theme-classic
 sabnzbdplus-theme-smpl
E: Sub-process /usr/bin/dpkg returned an error code (1)

Solving dependencys...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  db4.8-util
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up sabnzbdplus (0.6.15-0ubuntu1~jcfp1~maverick) ...
 * Starting SABnzbd+ binary newsgrabber                                                                                                                                                                                                                                  [fail] 
invoke-rc.d: initscript sabnzbdplus, action "start" failed.
dpkg: error processing sabnzbdplus (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of sabnzbdplus-theme-classic:
 sabnzbdplus-theme-classic depends on sabnzbdplus (= 0.6.15-0ubuntu1~jcfp1~maverick); however:
  Package sabnzbdplus is not configured yet.
dpkg: error processing sabnzbdplus-theme-classic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sabnzbdplus-theme-smpl:
 sabnzbdplus-theme-smpl depends on sabnzbdplus (= 0.6.15-0ubuntu1~jcfp1~maverick); however:
  Package sabnzbdplus is not configured yet.
dpkg: error processing sabnzbdplus-theme-smpl (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                                                                                                    Errors were encountered while processing:
 sabnzbdplus
 sabnzbdplus-theme-classic
 sabnzbdplus-theme-smpl
E: Sub-process /usr/bin/dpkg returned an error code (1)

Failed! Installing Sabnzbdplus didn't finish, try again or:
Copy the text above and report an issue at the following address:
https://github.com/Mar2zz/LaSi/issues

Again this output was on the second attempt to install, this time running the script sudo'd.

Thanks much for any help you can provide, and much thanks for this awesome project.

Mar2zz commented 12 years ago

seems like a problem with the initscript, which won't be overwritten with a new one if you have messed with it. Try sudo apt-get purge sabnzbdplus && sudo apt-get autoremove.

Then reinstall. See if that works. (the manual install is a simple sudo apt-get install sabnzbdplus btw. The script doesn't do much more than that).