Ubuntu

E: /var/cache/apt/archives/libc6_2.11.1-0ubuntu7.10_i386.deb: subprocess new pre-installation script returned error exit status 2

Asked by mic cruz on 2012-08-22

im trying to update and it gives an error, and says i have 2 broken packages but then i go to fix it and apply it this is what i get

E: /var/cache/apt/archives/libc6_2.11.1-0ubuntu7.10_i386.deb: subprocess new pre-installation script returned error exit status 2

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
2012-08-23
Last reply:
2012-08-23

sudo fuser -vvv /var/lib/dpkg/lock
sudo rm /var/lib/apt/lists/lock
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo apt-get -f install
LANG=C;sudo apt-get --fix-missing install
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

mic cruz (iiimc1iii) said : #2

thank you for solving this, but i still need your help. im not too familiar to Ubuntu, i just started using this lap top( a "hand me down" from my uncle) so my next question is how would i apply this correction?

mic cruz (iiimc1iii) said : #3

thank you for solving this, but i still need your help. im not too familiar to Ubuntu, i just started using this lap top( a "hand me down" from my uncle) so my next question is how would i apply this correction?

Just copy each command line by line and enter it into a terminal. You can launch a terminal by pressing CTRL+ALT+T

Can you help with this problem?

Provide an answer of your own, or ask mic cruz for more information if necessary.

To post a message you must log in.