Results 1 to 5 of 5

Thread: apt-get error virtualbox(?)

  1. #1
    Join Date
    Sep 2009
    Beans
    29
    Distro
    Ubuntu 11.04 Natty Narwhal

    apt-get error virtualbox(?)

    Hello!

    I have an annoying error everytime I run apt-get, this is the output (it's in spanish, yes)

    atención, en archivo «/var/lib/dpkg/status» línea cercana 54830 paquete «virtualbox-3.0»:
    error en la cadeba de versión «3.0.14-58977_Ubuntu_karmic»: carácter inválido en el número de revisión
    atención, en archivo «/var/lib/dpkg/status» línea cercana 54831 paquete «virtualbox-3.0»:
    error en la cadena Config-Version «3.0.14-58977_Ubuntu_karmic»: carácter inválido en el número de revisión
    atención, en archivo «/var/lib/dpkg/available» línea cercana 670141 paquete «virtualbox-3.0»:
    error en la cadeba de versión «3.0.14-58977_Ubuntu_karmic»: carácter inválido en el número de revisión
    atención, en archivo «/var/lib/dpkg/available» línea cercana 691199 paquete «virtualbox-2.0»:
    error en la cadeba de versión «2.0.12-53697_Ubuntu_karmic»: carácter inválido en el número de revisión



    It says,
    Warning, in file «/var/lib/dpkg/XXX» near line XXX package «virtualbox-X.0»:
    error in version string «3.0.14-58977_Ubuntu_karmic»: Invalid character in revision number

    I don't know what to do...

    How can I get rid of this warnings?

    Thanks in advance!

  2. #2
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,669
    Distro
    Ubuntu Gnome Development Release

    Re: apt-get error virtualbox(?)

    Try using an older status file.

    Backup your existing status file.

    Code:
    sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.bad
    Code:
    sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
    Code:
    sudo apt-get update
    Hopefully, it shouldn't give that error. If it still does, edit your status file by,

    Code:
    gksudo gedit /var/lib/dpkg/status
    And try to find the error or offensive character in lines 54830, 54831, 670141 and 691199. Correct that error, save and close and try again. If you can't figure that out, just post those lines here to let us take a look.

  3. #3
    Join Date
    Aug 2009
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: apt-get error virtualbox(?)

    You can get the error messages in English if it is in other language,

    Code:
    sudo LANG=C apt-get update

  4. #4
    Join Date
    Sep 2009
    Beans
    29
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: apt-get error virtualbox(?)

    Quote Originally Posted by karthick87 View Post
    You can get the error messages in English if it is in other language,

    Code:
    sudo LANG=C apt-get update
    Thanks! that's really useful to google something and find more results in english!!
    Ill use it!

  5. #5
    Join Date
    Sep 2009
    Beans
    29
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: apt-get error virtualbox(?)

    Thanks!
    I finally edited the file in that line, it seems that an underscore is an invalid char, I replaced it with a tilde "~", and now it doesn't give warns.

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
  •