10

I installed Ubuntu 16.04 I'm getting this error:

E: The package ubuntu-mono needs to be reinstalled, but I can't find an archive for it.

I haven't found the solution. What should I do?

  • What were you doing prior to that error? – user589808 Jan 4 '17 at 18:59
  • I was trying to install office 2013 using play on Linux and I was facing a problem and that problem lead to this error :( – dalya raad Jan 4 '17 at 19:01
  • but it's different from my problem .... – dalya raad Jan 4 '17 at 19:07
  • No, it's the exact same thing. Start by checking the repositories and enable what is eventually disabled. Then do (in terminal) sudo apt update. Then try sudo apt install ubuntu-mono. If errors, please edit your question and post the full error messages along with the steps that triggered the original error. – user589808 Jan 4 '17 at 19:16
  • 2
    Don't follow it exactly. You need to replace the package names with the one affecting you. – TheWanderer Jan 5 '17 at 0:47
20

I Found The Solution FINALLY.... first, open the terminal and write this command:

sudo dpkg --remove --force-all ubuntu-mono

after that, write this command

sudo apt-get update

then restart your PC. ^_^

| improve this answer | |
  • 1
    Why reboot? Also, that's exactly the same as the accepted answer to the linked question. – David Foerster Jan 5 '17 at 9:39
  • Agree like it BUT...... in this site, there are many people that maybe full in this error and maybe they don't have the proper knowledge of how to correcting it regards – dalya raad Jan 5 '17 at 17:27
  • I think you misunderstood. Which kind of (potential) errors do you expect to avoid with a reboot in this situation? Package management is generally unaffected by reboots (unless it affects the package of the currently booted kernel or something like that). – David Foerster Jan 5 '17 at 18:10
  • oh... well, for reboot thing I said it because I was used to using it in the windows I recently shift to ubuntu. regards – dalya raad Jan 5 '17 at 19:18
  • You most welcome. ^_^ – dalya raad Jan 6 '19 at 20:55

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