Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Not possible to install, remove or upgrade software

  1. #1
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Not possible to install, remove or upgrade software

    I'm helping my mother-in-law with her computer (Ubuntu Lucid) via Remote Desktop. Something has completely borked it. It starts fine but as soon as I try to upgrade, install or remove any software I get the same error that the package depends on linux-headers-2.6.32-31-generic and that linux-headers-2.6.32-31-generic hasn't been installed properly. It says that there's no space left on the drive but df -h revealed that there's plenty of room on all partitions.

    I've tried sudo apt-get update to update which worked fine but all other commands such as: sudo apt-get upgrade, sudo apt-get -f install, sudo apt-get dist-upgrade, sudo dpkg --configure -a, sudo apt-get purge any packet, sudo apt-get remove any packet and sudo apt-get install any packet all results in the same thing. Broken pipe and so on.

    So not a full drive but apt-get complains about no space left, yet it's not possible to uninstall software due to linux-headers-2.6.32-31-generic.

    I really would appreciate help with this, because I'm out of ideas now. (Sorry for not having the logs, as the computer is off right now plus it's in Swedish.)
    Last edited by 1/0; June 8th, 2011 at 04:54 PM.
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Not possible to install, remove or upgrade software

    Have you tried sudo apt-get clean ? It seems odd that there would be a 'no space left on device' error when there actually is enough space. Have you or has she run fsck on all partitions?

  3. #3
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Not possible to install, remove or upgrade software

    Quote Originally Posted by oldos2er View Post
    Have you tried sudo apt-get clean ? It seems odd that there would be a 'no space left on device' error when there actually is enough space. Have you or has she run fsck on all partitions?
    Yeah, I tried sudo apt-get clean and just got a new line. So I figured it was nothing to clean. I haven't tried fsck, since there was nothing alerting in the logs (dmesg) about the drives. I'll try that as soon as she's by the computer again.
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

  4. #4
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Not possible to install, remove or upgrade software

    The drive passed without errors so nope, no problems with the drive...
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

  5. #5
    Join Date
    Apr 2010
    Beans
    1,584
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Not possible to install, remove or upgrade software

    remotely run

    sudo apt-get install bleachbit
    sudo bleachbit

    Careful not to remove any bookmarks or passwords.

    Also you can install Ubuntu-Tweak to clean out any old configuration settings.

  6. #6
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Not possible to install, remove or upgrade software

    Quote Originally Posted by linuxinstalledfromhdd View Post
    remotely run

    sudo apt-get install bleachbit
    sudo bleachbit

    Careful not to remove any bookmarks or passwords.

    Also you can install Ubuntu-Tweak to clean out any old configuration settings.
    Sorry, no go. Can't install. It only complains on depending on linux-headers-2.6.32-31-generic...
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

  7. #7
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Not possible to install, remove or upgrade software

    Bump
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

  8. #8
    Join Date
    Feb 2008
    Location
    USA
    Beans
    86

    Re: Not possible to install, remove or upgrade software

    Quote Originally Posted by 1/0 View Post
    Sorry, no go. Can't install. It only complains on depending on linux-headers-2.6.32-31-generic...
    BleachBit or Ubuntu Tweak? BleachBit upstream package only requires 'menu' and not the Linux kernel headers. If you think it is BleachBit, please post the terminal output.

    By the way, there is a new BleachBit 0.8.8 beta 2---the first release for Ubuntu 11.04.
    I wrote BleachBit, a cleaner for Linux

  9. #9
    Join Date
    May 2006
    Location
    Wichita, Kansas
    Beans
    2,967
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Not possible to install, remove or upgrade software

    Is there a separate /boot partition? If so, this may be where the "no room" problem is. I'm guessing that your mother-in-law's computer has many kernels installed. If this is so, you should remove old kernels, using Synaptic. Before doing this, though, do
    Code:
    uname -r
    from the terminal to establish which kernel is in use (so it isn't removed). Then, try running
    Code:
    sudo apt-get clean
    sudo apt-get update
    sudo apt-get upgrade
    again.

  10. #10
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Not possible to install, remove or upgrade software

    Quote Originally Posted by Andrew.Z View Post
    BleachBit or Ubuntu Tweak? BleachBit upstream package only requires 'menu' and not the Linux kernel headers. If you think it is BleachBit, please post the terminal output.

    By the way, there is a new BleachBit 0.8.8 beta 2---the first release for Ubuntu 11.04.
    I can't install any of them. I've tried various packages but none of them will install and none of the installed packages will purge or be removed. Apt-get just complains on dependencies, which is weird.

    Quote Originally Posted by avtolle View Post
    Is there a separate /boot partition? If so, this may be where the "no room" problem is. I'm guessing that your mother-in-law's computer has many kernels installed. If this is so, you should remove old kernels, using Synaptic. Before doing this, though, do
    Code:
    uname -r
    from the terminal to establish which kernel is in use (so it isn't removed). Then, try running
    Code:
    sudo apt-get clean
    sudo apt-get update
    sudo apt-get upgrade
    again.
    No, I created a separate home partition in order to be able to reinstall without loosing all data. But there is no boot partition. The root partition has about 1.3 Gb free space.

    Uname gives me the same kernel as apt-get complains about, namely 2.6.32-31-generic.

    sudo apt-get clean gives me nothing but a new line.
    sudo apt-get update proceeds and finishes fine
    sudo apt-get upgrade won't complete as it crashes when installing linux-headers-2.6.32-31-generic.

    So no success. What if she boots from an older kernel? Could that solve it?
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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