PDA

View Full Version : [ubuntu] 9.10 installed well, but I can't do normal updates (deathloop)



LouisBlank
December 11th, 2009, 06:35 AM
Hey all,

My first post! I have upgraded successfully through Hardy to Karmic over the last year or so. Now one of my machines goes into a deathlop when I start a normal security update. I click...

"install updates"
Enter password..
it says " reading package information"

Then it comes up with the list again, I click...

"install updates"
Enter password..
it says " reading package information"

Back to the same screen with options to "Check" or "Install Updates"

It will do this as many times as I continue to try.


Notes: Ubuntu(64bit) 9.10, on an HP tx2525nr, dual boot Vista / Ubuntu

Recent changes: Installed support for a fingerprint reader (removed all said changes thinking that this might be causing the problem)

I normally update both machines at the same time - the other is a desktop clone and updates fine. (both on the same router/connetion)

Any ideas? Let me know - Thanks

lykwydchykyn
December 11th, 2009, 06:43 AM
Try updating at the command line; if it fails, it will give us clues as to what might be wrong.

the command is:


sudo apt-get update && sudo apt-get upgrade

LouisBlank
December 11th, 2009, 01:04 PM
Try updating at the command line; if it fails, it will give us clues as to what might be wrong.

the command is:


sudo apt-get update && sudo apt-get upgrade


That was fast. Thanks.

I did that and it seems to have failed. it took less than 5 seconds.

I also found that Synaptic will not run either. It seems to start, asks for a password, but no window pops up.





[sudo] password for louis:

Hit http://security.ubuntu.com karmic-security Release.gpg
Ign http://security.ubuntu.com karmic-security/main Translation-en_US
Hit http://uy.archive.ubuntu.com karmic Release.gpg
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://uy.archive.ubuntu.com karmic/main Translation-en_US
Ign http://security.ubuntu.com karmic-security/universe Translation-en_US
Ign http://uy.archive.ubuntu.com karmic/restricted Translation-en_US
Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_US
Hit http://security.ubuntu.com karmic-security Release
Get:1 http://security.ubuntu.com karmic-security/main Packages [36.7kB]
Ign http://uy.archive.ubuntu.com karmic/universe Translation-en_US
Get:2 http://security.ubuntu.com karmic-security/restricted Packages [14B]
Get:3 http://security.ubuntu.com karmic-security/main Sources [11.1kB]
Get:4 http://security.ubuntu.com karmic-security/restricted Sources [14B]
Get:5 http://security.ubuntu.com karmic-security/universe Packages [14.2kB]
Get:6 http://security.ubuntu.com karmic-security/universe Sources [1,622B]
Get:7 http://security.ubuntu.com karmic-security/multiverse Packages [1,537B]
Get:8 http://security.ubuntu.com karmic-security/multiverse Sources [575B]
Ign http://uy.archive.ubuntu.com karmic/multiverse Translation-en_US
Get:9 http://uy.archive.ubuntu.com karmic-updates Release.gpg [189B]
Ign http://uy.archive.ubuntu.com karmic-updates/main Translation-en_US
Ign http://uy.archive.ubuntu.com karmic-updates/restricted Translation-en_US
Ign http://uy.archive.ubuntu.com karmic-updates/universe Translation-en_US
Ign http://uy.archive.ubuntu.com karmic-updates/multiverse Translation-en_US
Hit http://uy.archive.ubuntu.com karmic Release
Get:10 http://uy.archive.ubuntu.com karmic-updates Release [44.1kB]
Hit http://uy.archive.ubuntu.com karmic/main Packages
Hit http://uy.archive.ubuntu.com karmic/restricted Packages
Hit http://uy.archive.ubuntu.com karmic/main Sources
Hit http://uy.archive.ubuntu.com karmic/restricted Sources
Hit http://uy.archive.ubuntu.com karmic/universe Packages
Hit http://uy.archive.ubuntu.com karmic/universe Sources
Hit http://uy.archive.ubuntu.com karmic/multiverse Packages
Hit http://uy.archive.ubuntu.com karmic/multiverse Sources
Get:11 http://uy.archive.ubuntu.com karmic-updates/main Packages [111kB]
Get:12 http://uy.archive.ubuntu.com karmic-updates/restricted Packages [14B]
Get:13 http://uy.archive.ubuntu.com karmic-updates/main Sources [34.0kB]
Get:14 http://uy.archive.ubuntu.com karmic-updates/restricted Sources [14B]
Get:15 http://uy.archive.ubuntu.com karmic-updates/universe Packages [64.0kB]
Get:16 http://uy.archive.ubuntu.com karmic-updates/universe Sources [15.0kB]
Get:17 http://uy.archive.ubuntu.com karmic-updates/multiverse Packages [2,890B]
Get:18 http://uy.archive.ubuntu.com karmic-updates/multiverse Sources [1,744B]
Fetched 338kB in 12s (27.6kB/s)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/main/binary-amd64/Packages.bz2 Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/main/source/Sources.bz2 Hash Sum mismatch

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/universe/binary-amd64/Packages.bz2 Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.

lykwydchykyn
December 11th, 2009, 04:02 PM
Hash sum mismatch is a bad sign. What it means is that file you downloaded is corrupt somehow. That can be caused by several things.

It could be a temporary problem on the servers, but if that were the case you wouldn't be the only one having this problem.

It could be a problem with your network connection or ISP.

It could be bad RAM or bad sectors on your hard disk.

I would try this:


sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update


If you still get hash sum mismatch errors, you need to check your hard drive and RAM for physical issues. RAM can be checked from the "memtest" option on the live CD, and hard drive errors can be checked with this command:



sudo badblocks -v /dev/sda

(That's assuming your Ubuntu disk is /dev/sda -- if you only have one HDD in the machine, it will be).

LouisBlank
December 14th, 2009, 11:40 AM
Thank you lykwydchykyn.

Since posting, I had tried...

sudo synaptic

>edit >mark all upgrades - Apply

and the upgrade went well.

My system is up to date, and I did scan the hard disk for errors.


Synaptic still does not start from the System Menu though.
I also tried update && upgrade as before - there are no errors.

I would still like to know if anyone has had similar difficulties.

lykwydchykyn
December 14th, 2009, 04:49 PM
If you run synaptic from a command prompt, does it give you any errors?

LouisBlank
December 23rd, 2009, 11:03 AM
No, there are no errors when I run Synaptic using "sudo synaptic"

I just updated today and everything was fine.

I still can't run synaptic from the panel nor the system menu. It's strange. It asks me for my password but never comes up.

This is no emergency, just wondering if something is messed up somewhere in the way the system files are saved.

Thanks for your continued responses.

Oscarology
January 2nd, 2010, 12:55 PM
I have the same problem... All Installation just well... And I kept installing some science and virtualization programs (i just wanted to show off my new shiny Linux system to my friends) until i realized that the language of some of my aplications have changed... After that I tried to make an update and the console gave me this...

aaron@VAIO-LaP:~$ sudo apt-get update
Obj http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-es
Obj http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-es
Obj http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-es
Obj http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-es
Obj http://ppa.launchpad.net karmic Release
Obj http://ppa.launchpad.net karmic Release
Obj http://ppa.launchpad.net karmic Release
Obj http://ppa.launchpad.net karmic Release
Obj http://ppa.launchpad.net karmic/main Packages
Obj http://ppa.launchpad.net karmic/main Packages
Obj http://ppa.launchpad.net karmic/main Packages
Obj http://ppa.launchpad.net karmic/main Packages
Obj http://deb.opera.com stable Release.gpg
Ign http://deb.opera.com stable/non-free Translation-es
Obj http://download.virtualbox.org karmic Release.gpg
Ign http://download.virtualbox.org karmic/non-free Translation-es
Obj http://deb.opera.com stable Release
Obj http://download.virtualbox.org karmic Release
Obj http://download.virtualbox.org karmic/non-free Packages
Ign http://deb.opera.com stable/non-free Packages
Ign http://deb.opera.com stable/non-free Packages
Obj http://deb.opera.com stable/non-free Packages
Obj http://mx.archive.ubuntu.com karmic Release.gpg
Obj http://mx.archive.ubuntu.com karmic/main Translation-es
Obj http://mx.archive.ubuntu.com karmic/restricted Translation-es
Obj http://mx.archive.ubuntu.com karmic/universe Translation-es
Obj http://mx.archive.ubuntu.com karmic/multiverse Translation-es
Obj http://mx.archive.ubuntu.com karmic-updates Release.gpg
Ign http://mx.archive.ubuntu.com karmic-updates/main Translation-es
Ign http://mx.archive.ubuntu.com karmic-updates/restricted Translation-es
Ign http://mx.archive.ubuntu.com karmic-updates/universe Translation-es
Ign http://mx.archive.ubuntu.com karmic-updates/multiverse Translation-es
Obj http://mx.archive.ubuntu.com karmic-security Release.gpg
Ign http://mx.archive.ubuntu.com karmic-security/main Translation-es
Obj http://packages.medibuntu.org karmic Release.gpg
Ign http://packages.medibuntu.org karmic/free Translation-es
Ign http://packages.medibuntu.org karmic/non-free Translation-es
Ign http://mx.archive.ubuntu.com karmic-security/restricted Translation-es
Ign http://mx.archive.ubuntu.com karmic-security/universe Translation-es
Ign http://mx.archive.ubuntu.com karmic-security/multiverse Translation-es
Obj http://mx.archive.ubuntu.com karmic Release
Obj http://mx.archive.ubuntu.com karmic-updates Release
Obj http://packages.medibuntu.org karmic Release
Obj http://mx.archive.ubuntu.com karmic-security Release
Obj http://packages.medibuntu.org karmic/free Packages
Obj http://mx.archive.ubuntu.com karmic/main Packages
Obj http://mx.archive.ubuntu.com karmic/restricted Packages
Obj http://mx.archive.ubuntu.com karmic/main Sources
Obj http://mx.archive.ubuntu.com karmic/restricted Sources
Obj http://mx.archive.ubuntu.com karmic/universe Packages
Obj http://mx.archive.ubuntu.com karmic/universe Sources
Obj http://packages.medibuntu.org karmic/non-free Packages
Obj http://mx.archive.ubuntu.com karmic/multiverse Packages
Obj http://mx.archive.ubuntu.com karmic/multiverse Sources
Obj http://mx.archive.ubuntu.com karmic-updates/main Packages
Obj http://mx.archive.ubuntu.com karmic-updates/restricted Packages
Obj http://mx.archive.ubuntu.com karmic-updates/main Sources
Obj http://mx.archive.ubuntu.com karmic-updates/restricted Sources
Obj http://mx.archive.ubuntu.com karmic-updates/universe Packages
Obj http://mx.archive.ubuntu.com karmic-updates/universe Sources
Obj http://mx.archive.ubuntu.com karmic-updates/multiverse Packages
Obj http://mx.archive.ubuntu.com karmic-updates/multiverse Sources
Obj http://mx.archive.ubuntu.com karmic-security/main Packages
Obj http://mx.archive.ubuntu.com karmic-security/restricted Packages
Obj http://mx.archive.ubuntu.com karmic-security/main Sources
Obj http://mx.archive.ubuntu.com karmic-security/restricted Sources
Obj http://mx.archive.ubuntu.com karmic-security/universe Packages
Obj http://mx.archive.ubuntu.com karmic-security/universe Sources
Obj http://mx.archive.ubuntu.com karmic-security/multiverse Packages
Obj http://mx.archive.ubuntu.com karmic-security/multiverse Sources
Leyendo lista de paquetes... Hecho

I have done what you say in the post:
aaron@VAIO-LaP:~$ sudo apt-get clean
aaron@VAIO-LaP:~$ sudo apt-get autoclean
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho

Now im checking my system for errors but think it's not that...
aaron@VAIO-LaP:~$ sudo badblocks -v /dev/sda

Mmm... Why is Ubuntu ignoring language updates?

I will appreciate any help...