whenever i try to install i get this error:

E: The package linux-headers-4.1.0-040100rc2-generic needs to be reinstalled, but I can't find an archive for it.

or E: The package linux-headers-4.1.0-040100rc2-generic needs to be reinstalled, but I can't find an archive for it. E: Unable to apply corrections for half-installed packages

If you installed a third party kernel and then removed the source this could happen

It's not ElementaryOS's problem (because EOS didn't had that kernel version - Release Candidate) but I may help you

You can remove the package even if it's broken with the command:

$ sudo dpkg --remove --force-remove-reinstreq <package>

And lastly, it's sudo apt install not sudo apt-install

  • thank you. I think that worked. first time i installed linux and i just followed some "first steps with eos" posts.. lesson learned – Peter Hauer Nov 8 at 23:10
  • feel free to ask about those "first steps tutorials" before taking one, gl – Sebastian Nov 9 at 0:37

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.