i can't update,help

Asked by Mr. MInhaj

i've updated from ubuntu 8.10 to 9.04 before a month ago.
for somedays i am facing a serious problem.
some days ago i updated some packages from update manager but then the packages are still shown in the update manager. when i select them with another new updates to update nothing downloaded but a window with "reading package information" appears then nothing happens, please help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Vihar
Solved:
Last query:
Last reply:
Revision history for this message
Best Vihar (vmankov) said :
#1

Please try it in terminal. Run terminal by Application-->Accessories and copy-paste there

sudo apt-get update

You'll be asked for your password; when typing it you will see nothing - it's normal - then hit Enter, copy the otuput and paste it in your answer here.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --clear-avail

sudo dpkg --configure --pending
sudo dpkg --configure -a

then to update and upgrade and also check pending or missing packages, still using terminal type:

sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Revision history for this message
Mr. MInhaj (imhell99) said :
#3

Thanks Vihar, that solved my question.