Feb 28, 2018 - Cydia Throwing Error “Sub Process Returned An Error (100)” iOS. Safely ignore it and can continue installing tweaks using Cydia on your jailbroken. Post running of the script you are required to delete both the files which. PROBLEM Cydia Ios 7 Subprocess pre installation script returned error exit status 1 +1 vote. Asked May 13, 2014 in IOS by Ihadawish Nowitsgone (130 points). Cydia wont update or install packages on iPhone 4 Discussion in '. Cydia subprocess post-installation script returned error exit status 2.
I went to install bsnes the other day and for whatever reason the installation failed. Now, I cannot update, install new packages, or do basically any apt-get commands as they all try to process this broken package and fail. Attempting to install a new package also just dooms it to the same fate. The error I get is:
I have been searching on Google and here on Ask Ubuntu but have not found a working solution. The commonly suggested fix is to run the following:
This however does not work. The apt-get commands all fail with the same error as above and the dpkg command just doesn't help. The other thing they often suggest to purge it via Synaptic or the command line, which also fails.
Thanks for the help
8 Answers
For advanced users, use at your own risks.
According to the following error message :
You may want to edit /var/lib/dpkg/info/[package_name].postinst
and comment everything (or better yet, try to understand it and identify the issue), then try apt-get
again.
Note that though in this particular question the message concerns 'post-installation', it could have mentioned e.g. 'pre-removal' or 'post-removal' instead (in which cases the extension of the file to be edited would have been .prerm
or .postrm
).
Fence Post Installation
Other than those which you have already posted, there are few other commands which can be helpful.
Autoclean clears out the local repository of retrieved package files.
Force installation/removal of packages. ☠Use with caution
and
Also as always, you can use dpkg
to install, remove and purge packages.
Install
Remove
Purge
So, after more googling and really carefully reading through the error messages again it seems that dpkg
needed to be reinstalled.
What tipped off that this was the problem (if anyone searches and sees this) is that update-alternatives: not found
was in the error message. As soon as dpkg was reinstalled, the other packages proceeded to install normally automatically.
You can remove the package file in this /var/lib/dpkg/info/
Fm 2005 tactics. path and update the source.
Then, reinstall your package sudo apt-get install [package_name]
If all else fails. What I did was I first changed the directory to:
then I removed everything with .postinst
:
then update repository
then everything went back to normal when I did:
If all else fails, you can manually remove the package through dpkg
. Running sudo dpkg -P bsnes
should purge bsnes
.
In my case apt-get install -f
worked. I was installing mysql-workbench-community
Previously tried apt autoclean
Registration is fast, simple and absolutely free so please -! If you have any problems with the registration process or your account login, please contact.
I saw that dpkg error due to some missing dependencies which could be corrected by installing in forced mode( installing dependencies)
After running above, you can install/upgrade/remove/purge as usual for any packages.
protected by Community♦Oct 1 '17 at 19:25
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged package-managementdpkgaptitude or ask your own question.
I have been trying to get cacti installed on my server. I have tried for some support at their forums and coming here due to little to no support. I am trying to install from scratch for cacti but keep running into errors, here are the following ones I get. I am asking what I may doing wrong or what have missed?
Removal
Install of prerequisites
1 Answer
Doesn't seem like a Cacti issue, more like a case of a broken package or a bad install, try this:http://forums.debian.net/viewtopic.php?f=10&t=82861