Results 1 to 5 of 5

Thread: dpkg: error: passing file '/var/lib/dpkg/status' near line 7683 package

  1. #1
    Join Date
    Jan 2014
    Beans
    3

    dpkg: error: passing file '/var/lib/dpkg/status' near line 7683 package

    I tried removing some packages i had installed and received the following error message

    dpkg: error: parsing file '/var/lib/dpkg/status' near line 7683 package 'fonts-tlwg-loma':
    EOF during value of field `Breaks' (missing final newline)
    E: Sub-process /usr/bin/dpkg returned an error code (2)


    I have tried sudo apt-get install -f among others i have read online but none is working.

    can anyone help me with this?

  2. #2
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,996

    Re: dpkg: error: passing file '/var/lib/dpkg/status' near line 7683 package

    Try this

    Code:
    sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.broke
    
    sudo mv /var/lib/dpkg/status-old /var/lib/dpkg/status
    
    sudo apt-get update

  3. #3
    Join Date
    Jan 2014
    Beans
    3

    Re: dpkg: error: passing file '/var/lib/dpkg/status' near line 7683 package

    Am still getting the following error

    E: Read error - read (5: Input/output error)
    E: The package lists or status file could not be parsed or opened.

  4. #4
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,996

    Re: dpkg: error: passing file '/var/lib/dpkg/status' near line 7683 package


  5. #5
    Join Date
    Jun 2007
    Location
    K-o-T,
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: dpkg: error: passing file '/var/lib/dpkg/status' near line 7683 package

    Quote Originally Posted by Abado_Jack_Mtulla View Post
    Am still getting the following error

    E: Read error - read (5: Input/output error)
    E: The package lists or status file could not be parsed or opened.
    That is not the same error.

    Did you do all the commands that ibjsb4 specified?

    Especially this one

    Code:
    sudo mv /var/lib/dpkg/status-old /var/lib/dpkg/status
    Post output for
    Code:
     ls /var/lib/dpkg/
    Hypertension = Take with a pinch of salt
    | Psychocats | Ubuntu Documentation | Howto [Solved] | BBcode list | Brother Website |

Tags for this Thread

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
  •