Announcement

Collapse
No announcement yet.

Apt-get error

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Apt-get error

    Hello, I'm new at Kubuntu and I've just installed 7.10 on my laptop. I've installed firefox too with apt-get install. The problem is that I tried to install a debian package for my brother printer and it ended with an error. Now when I try to install something with apt-get I receive the following error message:

    E: El paquet mfc9180lpr necessita ser reinstal·lat, però no se li pot trobar un arxiu.

    "E: The packet mfc9180lpr needs to be reinstalled, but any file can't be found".

    I've tried to reinstall the debian package, I've tried with apt-get autoclean, clean, update, remove, purge, and always I've received the same error message.

    Does somebody know what I've to do to fix it?

    #2
    Re: Apt-get error

    This may help:
    http://ubuntuforums.org/archive/index.php/t-458098.html

    Note: Use kate instead of nautilus as the text editor.

    Always make a back up of files before editing them!

    Comment


      #3
      Re: Apt-get error

      If Slush1000's suggestion doesn't provide positive results, the following code works for me when I get the infrequent apt problems:
      Code:
      sudo apt-get -f install
      sudo dpkg --configure -a
      IndyTim

      Comment


        #4
        Re: Apt-get error

        Thank you very much, I was able to solve the problem doing this:

        1) open the file with root privileges:
        /var/lib/dpkg/status

        2) search for "mfc9180lpr" you should find the following lines (or something like this):
        Package: mfc9180lpr
        Status: install reinstreq half-installed
        Priority: optional
        Section: misc
        Version: 1.3.6_Ubuntu_edgy

        3) Remove these lines from the file and save

        Comment

        Working...
        X