Subprocess Post Installation Script Cydia

5/10/2019
    46 - Comments
Subprocess Post Installation Script Cydia 3,9/5 8754 votes
  1. Cydia Subprocess Post-installation Script Returned Error Exit Status 1
  2. Fence Post Installation

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:

Error usr/var/lib/dpkg returned error code 100 I. Dec 11, 2014 code (1). Sub-process /usr/bin/dpkg returned an error code (1) cydia. This error can course sometime. General Getting errors when installing/uninstalling apps. Something while I am in Cydia. Subprocess post-installation script returned. Nov 29, 2015 - Hello. I am facing this problem while deleting a jailbreak tweak from Cydia. I deleted it via ifile also. I also deleted its repo but when I tried to.

Subprocess Post Installation Script Cydia

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:

Select a RAW image to apply Picture Style file. Start Digital Photo Professional to display a RAW image. Using Digital Photo Professional to apply a Picture Style File to a RAW image. Canon 5d mark ii review

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

BijakBijak

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).

Skippy le Grand GourouSkippy le Grand Gourou

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

Registered UserRegistered User

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.

BijakBijak

You can remove the package file in this /var/lib/dpkg/info/ path and update the source.

Cydia Subprocess Post-installation Script Returned Error Exit Status 1

Then, reinstall your package sudo apt-get install [package_name]

HamedHamed

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:

Mike BMike B

If all else fails, you can manually remove the package through dpkg. Running sudo dpkg -P bsnes should purge bsnes.

saiarcot895saiarcot895

Fence Post Installation

In my case apt-get install -f worked. I was installing mysql-workbench-community

Previously tried apt autoclean

I saw that dpkg error due to some missing dependencies which could be corrected by installing in forced mode( installing dependencies)

Vikas AvnishVikas Avnish

After running above, you can install/upgrade/remove/purge as usual for any packages.

Uddhav GautamUddhav Gautam

protected by CommunityOct 1 '17 at 19:25

Post

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.