Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I have Ubuntu 11.04 and I'm having problems. I can't install any packages, use update manager, or use computer janitor. If I run sudo-apt get update it seems to ...
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    2

    Can't update/upgrade/install packages/cleanup

    Hi I have Ubuntu 11.04 and I'm having problems. I can't install any packages, use update manager, or use computer janitor. If I run sudo-apt get update it seems to work ok. If I do sudo apt-get upgrade I get this
    Preconfiguring packages ...
    (Reading database ... 60%dpkg: unrecoverable fatal error, aborting:
    reading files list for package 'linux-headers-2.6.38-11': Input/output error
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    I've run sudo dpkg --configure -a and it seems to work, although there's no message.
    If I try to install a package the installation bar stops half way then a message pops up:
    installArchives() failed: Selecting previously deselected package links2.

    (Reading database ...
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%dpkg: unrecoverable fatal error, aborting:

    reading files list for package 'linux-headers-2.6.38-11': Input/output error
    Same as get upgrade. How can I fix this?

  2. #2
    Just Joined!
    Join Date
    Aug 2011
    Posts
    37
    try to run a fsck, most probably your HDD is going bad, this is what Input/Output errors usually mean

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Posts
    2
    When I try to run fsck it says /dev/
    sda1 is mounted and will cause severe damage, as well as /dev/sda5. Is there a check where no damage will be done?

  4. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    Run it from the Live CD not from an installed system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...