I am trying to install

sudo apt-get install hal

But I get this error

ubuntu dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

I get this error now with any sudo apt-get install I try.

When i try

sudo dpkg --configure -a

I get

sudo dpkg --configure -a
Setting up storagemadeeasy (4.0-1) ...
Archive:  /usr/share/sme_install/Unix-Mknod-0.04.zip
replace /usr/share/sme_install/Unix-Mknod-0.04/typemap? [y]es, [n]o, [A]ll, [N]one.  [r]ename: 

Then i don't know what to rename it to?

  • 3
    So... what happens when you run sudo dpkg --configure -a? – Eliah Kagan Apr 7 '13 at 20:21
  • Sorry i get sudo dpkg --configure -a Setting up storagemadeeasy (4.0-1) ... Archive: /usr/share/sme_install/Unix-Mknod-0.04.zip replace /usr/share/sme_install/Unix-Mknod-0.04/typemap? [y]es, [n]o, [A]ll, [N]one, [r]ename: – JGreen Apr 8 '13 at 7:28
  • 3
    Just type y and press Enter. – green Apr 8 '13 at 7:50
  • @green7 Agreed. The problem seems to come down to correct use of that command. I recommend expanding your comment slightly into an answer. – Eliah Kagan Apr 8 '13 at 20:37

Just replace the file by typing y and then Enter.

The message you get asks you to replace an already existing file. You can just go on replacing it as it is very unlikely to cause any problems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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