Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to manually install libgcc1 using dpkg. Everything seems to be working okay, until I get the following error:
/var/lib/dpkg/info/libgcc1.postinst: No such file or directory
dpkg: postinst failed, exit code 256
When I go into the directory /var/lib/dpkg/info, it is clear that a file named libgcc1.postinst exists and has execute permissions. I have even manually executed the file using /bin/sh -e, but the package is not listed as installed when I run dpkg -l. Could somebody help me with this?

Note: I am using KBOX on Android.
Edit: when directly trying to execute libgcc1.posinst using ./ instead of /bin/sh, bash gives me ./libgcc1.postinst not found.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.