Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 89

Thread: Update claims no more space. Inode usage almost full. Manual clean up: missing dep's.

  1. #21
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,957
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    Coder68; Hi !

    I am more than willing to try and help. Please observe and comply with my post #12 for my assistance. Those commands will tell us a lot, amongst witch is the kernel you are using that we MUST keep, all the kernels and related files that are installed and the numbers to use to remove them properly with the package manager. It is difficult to manage working from a screen shot, posted outputs make life here much easier.
    Please use code tags to post those outputs per the posted tutorial.

    This ain't
    nothing but a thing
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  2. #22
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,957
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    Quote Originally Posted by Gyokuro View Post
    @ Bashing-om: Sorry my bad in case my post was rough - was not my intention - tried to save you some time
    Hey, no offense taken. All help on this forum is a good thing !

    It's open source ->
    we are all in this together
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #23
    Join Date
    Jun 2009
    Beans
    196

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    I am unable to post the outputs in text form. The sandbox is only available through vCenter's console, hence the screenshots. (I can't ssh in.)

  4. #24
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,957
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    Coder68; Well, well ..

    Maybe no big deal, depends on your interpretation skills.

    Here is how I have removed old kernels from the CLI using the package manager.
    Do terminal commands:
    Code:
    uname -r ## to KNOW the kernel you are presently booting
    dpkg -l | grep linux- ## to see the images and HEADERS to be removed.##
    sudo dpkg -P linux-image-3.2.0-{29,38,39}-generic
    sudo dpkg -P linux-headers-3.2.0-{29,38,39}-generic
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get dist-upgrade ##not a release upgrade, this will pull in the new kernel and header files - WE hope !##
    You MUST keep the current kernel ( image and headers), and remove all others. As I do not know what headers are installed, the above is but a suggestion, check, verify, remove also the corresponding headers for the installed images that will also be removed.

    Once the old images and headers are removed, and the new kernel is installed:
    Reboot at this time to boot with the newer kernel;

    If the above 'dist-upgrade' completed and a new kernel was installed. - Then -
    Repeat the procedure to remove the now old kernel(s) ..
    Ain't nothing to it
    no step for a stepper
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #25
    Join Date
    Jun 2009
    Beans
    196

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    I ran uname -r which gave me: 3.2.0-64-generic

    Then I ran the following lines:
    sudo dpkg -P linux-image-3.2.0-{29,38,39}-generic
    sudo dpkg -P linux-headers-3.2.0-{29,38,39}-generic
    sudo apt-get update
    sudo apt-get upgrade -f

    I get an error to use -f on the upgrade. When I use -f I get the following error:

    005-upgrade-error.JPG


    When I try the dist-upgrade I get the following error:

    004-upgrade-error.JPG

    Thank you.
    Last edited by Coder68; June 26th, 2014 at 07:29 PM.

  6. #26
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,957
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    Coder68; Welp;

    Real tough to work from a screen shot in this case.
    Let's try and see if we can give the package manager what it wants:
    Code:
    sudo apt-get install linux-headers-3.2.0-58-generic
    Check for typos on my part and MAybe there is enough headroom to install the header file... else going to have to jump through some hoops to make some room.
    There is still a way
    .

    if at 1st you do not succeed
    try something else
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #27
    Join Date
    Jun 2009
    Beans
    196

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    When I try to run the install, I get an error saying to run -f:
    6.27.14-noon-install-header.png

    Running the install -f command, gives me the following result:
    6.27.14-noon-install-f.png

    Saying Y and letting it run gives me the following errors:
    6.27.14-noon-install-f-results.png

    It seems to be a dreaded loop I can't get out of!

  8. #28
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,957
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    Coder68; Well, wellll ..

    As the package manager is already broken, I can not see how manually intervening here to remove images can hurt things more.
    With that in mind ( NOT normally a good thing to do, all others be warned !!), let's consider manually removing the images and then try and fix the package manager.
    We must be assured what kernel is booting, and what images are installed on the system,
    Provide the outputs of terminal commands:
    Code:
    uname -a
    ls -la /boot/initrd.img-*
    To prepare to remove the old initrd.img files, see if "apt-get -f install " will pick up the missing headers, and then we purge the old images. Then see what state the package manager is in.

    Anybody with a better suggestion, now is the time to speak up. I have no confidence that any "configure -a" commands will be of effect in this case.

    rip it all out
    and then rebuild
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  9. #29
    Join Date
    Jun 2009
    Beans
    196

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    Same errors.

    I went back to the oldest kernel I could. No help.

    Is there a way to uninstall the current version of linux-image-server 3.2.0.65.77?

    This is a virtual copy of the real VM. I can re-copy it and start over. With just your instructions... it had other stuff done to it before you came on the scene.
    uname.PNGls cmd.PNG
    Last edited by Coder68; June 27th, 2014 at 08:16 PM. Reason: Forgot images.

  10. #30
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,957
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Update claims no more space. Inode usage almost full. Manual clean up: missing de

    Coder68; Yeah .

    I am keeping in mind this is a Virtual Copy of the production machine. And to be honest, at this point what ever it may take too fix this virtual machine will no longer apply to the production server fix. As I understand, this Virtual copy is but a test to see what is required in the real machine.
    SO, yeaah, let's reimage this copy to what is on the production machine, and start all over from scratch. Seeing what is.
    We will then try and go by the book and stay within the realm of the package manager.

    Else we can continue here for the learning exercise - what not to do and how to fix it. To pursue fixing this copy - and we stay on the same pages - need to know the results of the commands from my last post. We can then remove files and rebuild the package manager's index files.

    all in a day's work
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 3 of 9 FirstFirst 12345 ... 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
  •