Results 1 to 6 of 6

Thread: E: dpkg was interrupted...

  1. #1
    Join Date
    Mar 2008
    Beans
    98

    E: dpkg was interrupted...

    Hi,

    whenever I try to open Synaptics I am getting the following errormessage:

    Code:
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
    E: _cache->open() failed, please report.
    So I open my terminal and write:

    Code:
    sudo dpkg --configure -a
    Which gives me another errormessage:

    Code:
    dpkg: fortolkningsfejl, i filen '/var/lib/dpkg/updates/0000' nær linje 1:
     feltnavn '' skal efterfølges af et kolon
    Now that is in danish, so here is my translation:

    Code:
    dpkg: interpretation error, in file '/var/lib/dpkg/updates/0000' near line 1:
     fieldname '' needs to be followed by a colon
    What does this mean? And how do I fix it?

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: E: dpkg was interrupted...

    try:
    Code:
    sudo mv /var/lib/dpkg/updates/0000 ~/0000.bak
    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt-get update

  3. #3
    Join Date
    Mar 2008
    Beans
    98

    Re: E: dpkg was interrupted...

    I think I might have errors in a line of files:

    Code:
    dpkg: fortolkningsfejl, i filen '/var/lib/dpkg/updates/0001' nær linje 1:
     ****-på-fil efter feltnavn '2
    Which means:

    Code:
    dpkg: interpretationerror, in file '/var/lib/dpkg/updates/0001' near line 1:
     end-of-file after fieldname '2

  4. #4
    Join Date
    Mar 2008
    Beans
    98

    Re: E: dpkg was interrupted...

    Still having issues, quite lost, should I just reinstall the system?

  5. #5
    Join Date
    Apr 2006
    Location
    Dallas, TX
    Beans
    1,359
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: E: dpkg was interrupted...

    This thread has some other suggestions: http://ubuntuforums.org/showthread.php?t=385886

  6. #6
    Join Date
    Mar 2008
    Beans
    98

    Re: E: dpkg was interrupted...

    They are good ideas, however, I cannot get it to work.

    Code:
    root@doram-laptop:/var/lib# cp -arf dpkg dpkg.bak
    root@doram-laptop:/var/lib/dpkg# rm -rf updates/*
    root@doram-laptop:/var/lib/dpkg# dpkg --configure -a
    And then still getting errors.

    I don't understand this command, when copying it in to Terminal it looks like this.

    Code:
    root@doram-laptop:/var/lib/dpkg# ls available
    available      available-old
    I simply don't understand how to write the command, which then f ups the rest of the guide.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •