Hi,
On two different machines running Ubuntu Lucid Lynx, automatic update fails:
E: sabnzbdplus: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 6
Which means more or less: Post-install subprocess returned a state output error 6
The software runs correctly despite this.
Error when updating using the ppa [FIXED]
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Error when updating using the ppa [FIXED]
Last edited by Striatum on June 2nd, 2010, 10:41 am, edited 1 time in total.
Re: Error when update in Lucid Lynx
Unforeseen side-effect of some changes to the init script, fixed in 0.5.3~rc1-0ubuntu1~jcfp2. Thanks for reporting.
Re: Error when update in Lucid Lynx
Receiving the same error trying to update from 0.5.3~rc1-0ubuntu1~jcfp1~lucid to 0.5.3~rc1-0ubuntu1~jcfp2~lucid:
E: /var/cache/apt/archives/sabnzbdplus_0.5.3~rc1-0ubuntu1~jcfp2~lucid_all.deb: subprocess new pre-removal script returned error exit status 6
When trying to uninstall get:
E: sabnzbdplus: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
When trying to reinstall get:
E: Unable to correct problems, you have held broken packages.
So I am currently unable to remove, reinstall, or update.
E: /var/cache/apt/archives/sabnzbdplus_0.5.3~rc1-0ubuntu1~jcfp2~lucid_all.deb: subprocess new pre-removal script returned error exit status 6
When trying to uninstall get:
E: sabnzbdplus: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
When trying to reinstall get:
E: Unable to correct problems, you have held broken packages.
So I am currently unable to remove, reinstall, or update.
Last edited by TsuDoNym on June 1st, 2010, 8:36 pm, edited 1 time in total.
Re: Error when update in Lucid Lynx
I have exactly the same problems. Broken packages, unable to remove, reinstall or update!
Last edited by crisis on June 2nd, 2010, 2:00 am, edited 1 time in total.
Re: Error when update in Lucid Lynx
Same problem here!
Please fix it!
Please fix it!
Re: Error when update in Lucid Lynx
To fix it manually, just :
sudo gedit /etc/default/sabnzbdplus
In the file, add your username (the Lucid one, to enable to Sabnzbdplus to find your Home) after USER= (without space)
Then comment all the uncommented lines to have the same pattern as below:
# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.
# [required] user or uid of account to run the program as:
USER=YOUR_USER_NAME
# [optional] full path to the configuration file of your choice;
# otherwise, the default location (in $USER's home
# directory) is used:
#CONFIG=
# [optional] hostname/ip and port number to listen on:
#HOST=
#PORT=
# [optional] extra command line options, if any:
#EXTRAOPTS=
Then save the file, and in console: sudo apt-get upgrade
It should be OK.
sudo gedit /etc/default/sabnzbdplus
In the file, add your username (the Lucid one, to enable to Sabnzbdplus to find your Home) after USER= (without space)
Then comment all the uncommented lines to have the same pattern as below:
# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.
# [required] user or uid of account to run the program as:
USER=YOUR_USER_NAME
# [optional] full path to the configuration file of your choice;
# otherwise, the default location (in $USER's home
# directory) is used:
#CONFIG=
# [optional] hostname/ip and port number to listen on:
#HOST=
#PORT=
# [optional] extra command line options, if any:
#EXTRAOPTS=
Then save the file, and in console: sudo apt-get upgrade
It should be OK.
Re: Error when update in Lucid Lynx
Thank you. I´ll try it out later...
Re: Error when update in Lucid Lynx
Indeed this bug is triggered only when the init script is not used, i.e. when the USER variable in /etc/default/sabnzbdplus doesn't have a valid user. So adding that there, as Striatum suggests, fixes the upgrade problem. Be sure to revert to your previous "empty" configuration by restoring /etc/default/sabnzbdplus to its original state after the upgrade if you don't want to have the program started as a service on every boot.
I'll release a proper fix later, requiring no such manual interaction. Currently, launchpad is undergoing maintenance, so I can't upload anything right now.
I'll release a proper fix later, requiring no such manual interaction. Currently, launchpad is undergoing maintenance, so I can't upload anything right now.
Re: Error when update in Lucid Lynx
Uploading now. Should work although some debugging output may be shown. Once the newest version has been built and published (status here), upgrading via aptitude should just work, synaptic may complain about broken packages on startup but its usual "Reload, Mark, Apply" sequence shouldn't have a problem. Apt-get might request you run sudo apt-get -f install but is otherwise fine.
Apologies for the inconvenience, my own specific setup is immune to this issue which is why I didn't catch it in normal testing. Murphy's law in action.
Apologies for the inconvenience, my own specific setup is immune to this issue which is why I didn't catch it in normal testing. Murphy's law in action.
Re: Error when updating using the ppa [0.5.3~rc1, affects all ubuntu releases]
Yes, 0.5.3~rc1-0ubuntu1~jcfp3~lucid fixed it.
Thank you very much!
Thank you very much!
Re: Error when updating using the ppa [FIXED]
Thank you so much. Now it works!
Re: Error when updating using the ppa [FIXED]
thx 4 ur fix!
but i still have a problem.
my design is damaged and i cannot get plush back to work again.
is there a way to completely deinstall/remove sabnzbd+ and then reinstall so plush and other skins will work again? (no skin works)...
/€: nvm now it just works Oo"
but i still have a problem.
my design is damaged and i cannot get plush back to work again.
is there a way to completely deinstall/remove sabnzbd+ and then reinstall so plush and other skins will work again? (no skin works)...
/€: nvm now it just works Oo"
Last edited by Leecher2k on June 4th, 2010, 11:47 am, edited 1 time in total.