Results 1 to 4 of 4

Thread: Howto get rid of error message

  1. #1
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,624
    Distro
    Ubuntu 12.04 Precise Pangolin

    Howto get rid of error message

    When is used the command dpkg (through apt-install or other commands which invokes dpkg) I obtain the following error message since I upgraded to ubuntu 12.04 ( long time ago), i.e.:

    Code:
    dpkg --get-selections | grep linux-image
    dpkg: aviso: analizando archivo «/var/lib/dpkg/status» cerca de la línea 39264 paquete «mac-3.99-u4»:
     error en la cadena `Version' `b3-1': el número de versión no empieza por un dígito
    Translation:

    Code:
    dpkg --get-selections | grep linux-image
    dpkg: Notice: analyzing file «/var/lib/dpkg/status» near line 39264 package «mac-3.99-u4»:
     error in the chain `Version' `b3-1': The number of version doesn't start by a digit
    I would like to get rid of this error message, could someone indicates the way, please?

    Thanks in advance

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu 14.04 Trusty Tahr

  3. #3
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,624
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto get rid of error message

    Thank you very much.

    Follwing the thread provided http://ubuntuforums.org/showthread.php?t=1776671 I have solved the problem in the following way:

    As the files in /var/lib/dpkg/status and /var/lib/dpkg/status-old seem to be corrupted, directly I have deleted all the information about the culprit software package, mac-3.99-u4, in the satus file, then I have used the two commands provided in the forementioned thread:

    Code:
    sudo dpkg --clear-avail
    sudo apt-get update
    And evverything is okay now, the error message has disappeared when I run i.e.:

    Code:
     dpkg --get-selections | grep linux-image
    I obtain:

    Code:
    linux-image-3.2.0-57-generic			install
    linux-image-3.2.0-58-generic			install
    linux-image-generic				install
    clara@clara1:/var/lib/dpkg$

  4. #4
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Howto get rid of error message

    :happy_for_you:

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
  •