21 oct. 2010

error en el fichero /var/lib/dpkg/status y no medeja instalar, actualizar y eliminar

Cuando trate de instalar unos paquetes con dpkg me arrojo el siguiente error

dpkg: error de tratamiento, en el fichero `/var/lib/dpkg/available' cerca de la línea 9670 paquete `libmail-box-perl':
En el campo `Suggests', falta un nombre de paquete, o se encontró basura
donde se esperaba un nombre de paquete

y buscando en la web encontre 2 soluciones.

la primera consiste en reemplazar el archivo statrus que se encuentra en /var/lib/dpkg/ con los respaldos que se crean en la carpeta /var/backups/dpkg.status.#.gz donde # es el # de la versión repaldada buena hacemos lo siguiente

hacemos una copia del archivo original asi
cp /var/lib/dpkg/status /var/lib/dpkg/statuscopia

En /var/backups se almaceman varios respaldo del archivo status (dpkg.status.1.gz .... dpkg.status.6.gz , debes descomprimirlos y luego los renonmbras a atatus y finalmete lo usas para reemplazar al archivo status originmal , sugiero ir probando con el mas reciente y si no resulta, con el que le sigue y así hasta dar con alguno que solucione el problema.

la otra solucion es hacer los cambios que te dice el error lo unico que debes ser un buen depurador por que tienes que fijarte los errores que tengan de sintaxis la linea que te da el error, como dice el error pueden ser caracteres basuras o que no este el nombre de algun paquete para eso hacemos lo siguiente:

compiamos el archivo available que se encuentra en /var/lib/dpkg
cp /var/lib/dpkg/available /var/lib/availablecopia

luego editamos el archivo
nano /var/lib/dpkg/available

buscamos el paquete que tiene error (Ctrl+w) digitamos el nombre que buscaremos enter

luego buscar los caracteres sospechosos que encontremos y cambiarlos por los que tiene que ir, para saber que nombres tienen basta con ejecutar en otra konsola el aptitude y buscar los posibles nombres y sustituirlos y listo estara funcionando todo correctamente

ya puedes seguir instalando, actualizando y desinstalando paquetes.

11 comentarios:

  1. Heya i'm for the first time here. I came across this board and I to find It really helpful & it helped me out a lot. I'm hoping to provide
    one thing back and help others such as you helped me.
    Also see my website - Teen Hottie Playing A Little

  2. Hi my friend! I wish to say that this post is amazing,
    great written and come with approximately all vital infos.
    I'd like to look more posts like this .
    Look into my website - black fucking man porn white woman

  3. Hello! I know this is kinda off topic however , I'd figured I'd ask.
    Would you be interested in trading links or maybe guest writing a blog article or vice-versa?
    My blog goes over a lot of the same topics as yours and I believe we could greatly benefit from each
    other. If you're interested feel free to shoot me an email. I look forward to hearing from you! Superb blog by the way!
    My webpage - xxxvideofix.com

  4. This is very interesting, You are a very skilled blogger.
    I've joined your rss feed and look forward to seeking more of your excellent post. Also, I have shared your web site in my social networks!
    Feel free to visit my web blog : teen porn

  5. Hi there, just became alert to your blog through Google, and found that it's truly informative. I am going to watch out for brussels. I'll appreciate if you
    continue this in future. Many people will be benefited
    from your writing. Cheers!
    Take a look at my page - live web cam video chat

  6. Valuable info. Lucky me I discovered your web site accidentally, and I am surprised why this twist of fate didn't took place in advance! I bookmarked it.
    Feel free to surf my blog ... digestive enzymes bloating

  7. Wonderful article! This is the kind of info that should be shared
    around the internet. Disgrace on the seek engines
    for no longer positioning this put up upper!

    Come on over and talk over with my website . Thank you
    Stop by my weblog :: Hydroponic system

  8. What's up, after reading this amazing article i am as well glad to share my knowledge here with colleagues.
    Have a look at my homepage ... la nautica.com

  9. Excellent post. I used to be checking constantly this blog and I'm inspired! Very useful information particularly the closing phase :) I take care of such info a lot. I was seeking this certain info for a long time. Thank you and good luck.
    Also see my site :: free teen porn

  10. Incredible! This blog looks exactly like my old one!

    It's on a totally different subject but it has pretty much the same page layout and design. Great choice of colors!

    Feel free to surf to my blog; Www.Sexybabeworld.Org

  11. It's nearly impossible to find experienced people in this particular subject, however, you sound like you know what you're talking about!

    Here is my web page :: porninvader.net


Comenta aqui