Results 1 to 5 of 5

Thread: 12.04 server - apt-get upgrade failed

  1. #1
    Join Date
    Sep 2012
    Beans
    9

    12.04 server - apt-get upgrade failed

    Hello,

    on a Ubuntu 12.04 server I get this message when doing apt-get upgrade:

    Code:
    Could not open file /var/cache/apt/archives/partial/php5-common_5.3.10-1ubuntu3.5_i386.deb - open (28: No space left on device) [IP: 91.189.92.200 80]
    This is only one example, I get this with many packages.

    du -f /var tells:

    Code:
    Filesystem                        Size  Used Avail Use% Mounted on
    /dev/mapper/nas--vsnag01-root   15G  2.3G   12G  17% /
    So there is plenty of space.

    apt-get clean and then apt-get upgrade at least starts the upgrade otherwise I get the error with the first package.


    Any ideas?

    Regards,

    Michael

  2. #2
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 12.04 server - apt-get upgrade failed

    as it says:

    (28: No space left on device)

    so from a teminal :

    Code:
    sudo rm /var/cache/apt/archives/*
    or use gparted (on unmounted partition of course) to make room

    note: that raid installation might have some right limits

  3. #3
    Join Date
    Sep 2012
    Beans
    9

    Re: 12.04 server - apt-get upgrade failed

    That didn't help at all.
    Before deleting the files I had 2.3 GB used and 12 GB free
    After that I had 2.2 GB used and 12 GB free. So that wasn't that much of a difference.
    I did (as root) apt-get update && apt-get upgrade

    That brought up this message:

    Code:
    Need to get 88.2 MB of archives.
    After this operation, 775 kB of additional disk space will be used.

    Nonetheless I got the same error message.

  4. #4
    Join Date
    Jan 2008
    Beans
    7,744

    Re: 12.04 server - apt-get upgrade failed

    The error suggests a disk space error on one or more partitions. Kindly post the output of:

    Code:
    df -h

  5. #5
    Join Date
    Sep 2012
    Beans
    9

    Re: 12.04 server - apt-get upgrade failed

    Here you are:


    Code:
    root@nas-vsnag01:~# df -h
    Filesystem                     Size  Used Avail Use% Mounted on
    /dev/mapper/nas--vsnag01-root   15G  2.3G   12G  17% /
    udev                           494M  4.0K  494M   1% /dev
    tmpfs                          201M  240K  201M   1% /run
    none                           5.0M     0  5.0M   0% /run/lock
    none                           501M     0  501M   0% /run/shm
    /dev/sda1                      228M  156M   60M  73% /boot

Tags for this Thread

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
  •