False report of not enough disk space

Asked by Paul Flint on 2007-05-02

Greetings,

When I try to upgrade from 6.10 to 7.04 using the update manager, I get the following error:
"
Not enough free disk space

The upgrade aborts now. Please free at least 122M of disk space on /var/cache/apt/archives/. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean
"

this is what the disk looks like:

Filesystem Size Used Avail Use% Mounted on
/dev/sda3 4.9G 4.0G 617M 87% /
varrun 248M 144K 248M 1% /var/run
varlock 248M 0 248M 0% /var/lock
procbususb 10M 116K 9.9M 2% /proc/bus/usb
udev 10M 116K 9.9M 2% /dev
devshm 248M 0 248M 0% /dev/shm
lrm 248M 18M 231M 7% /lib/modules/2.6.17-11-generic/volatile
/dev/sda2 4.9G 860M 3.8G 19% /home/flint
/dev/sda1 46G 26G 20G 57% /dos

/dev/sda3 as you can see has over a half gig free.

What am I doing wrong?

Thanks in advance and...

Kindest Regards,

Paul Flint
<email address hidden>

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
2007-12-05
Last reply:
2007-12-05
Ralph Janke (txwikinger) said : #1

Thanks for the question.

You can run

sudo apt-get clean

from the commandline terminal. It will remove the edgy packages that are cached in /var/cache/apt/ before they are installed. All of those will be replaced by feisty packages anyway.

I hope this helps

Paul Flint (flint) said : #2

Dear Ralph,

Thanks for the fast response.

I actually tried sudo apt-get clean several times, and this does not fix
the problem...

I mentioned this in passing to Matt Zimmerman as well :^)

Thanks and...

Kindest Regards,

Paul Flint

On Wed, 2 May 2007, Ralph Janke wrote:

> Date: Wed, 02 May 2007 23:31:12 -0000
> From: Ralph Janke <email address hidden>
> To: <email address hidden>
> Subject: Re: [Question #6033]: False report of not enough disk space
>
> Your question #6033 on update-manager in ubuntu changed:
> https://answers.beta.launchpad.net/ubuntu/+source/update-manager/+question/6033
>
> Status: Open => Answered
>
> Ralph Janke proposed the following answer:
> Thanks for the question.
>
> You can run
>
> sudo apt-get clean
>
> from the commandline terminal. It will remove the edgy packages that are
> cached in /var/cache/apt/ before they are installed. All of those will
> be replaced by feisty packages anyway.
>
> I hope this helps
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.beta.launchpad.net/ubuntu/+source/update-manager/+question/6033/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.beta.launchpad.net/ubuntu/+source/update-manager/+question/6033
>

/************************************

Paul Flint
17 Averill Street
Barre, VT
05641

http://www.flint.com/home
skype: flintinfotech
Work: (202) 537-0480
  Fax: (703) 852-7089

Free advice .~.
is worth /V\
exactly what /( )\
you pay for it. ^^-^^

Paul Flint (flint) said : #3

Dear Ralph,

Any idea how I can run update manager from a command line instead of the
GUI version? Can I give you any info from my system?

Thanks again and...

Kindest Regards,

Paul

/************************************

Paul Flint
17 Averill Street
Barre, VT
05641

http://www.flint.com/home
skype: flintinfotech
Work: (202) 537-0480
  Fax: (703) 852-7089

Free advice .~.
is worth /V\
exactly what /( )\
you pay for it. ^^-^^

Isn't it asking you to free a *further* 122M to do the upgrade. 122MB
alone doesn't sound like enough to go from edgy->feisty, but the space
you have plus 122M might be more realistic?

Paul Flint (flint) said : #5

Dear Allen,

The following is an exact quote from the error popup of the upgrade
manager gui app:

"
flint@fts60:~$ cat edgy_upgrade_bug
Not enough free disk space

The upgrade aborts now. Please free at least 122M of disk space on
/var/cache/apt/archives/. Empty your trash and remove temporary packages
of former installations using 'sudo apt-get clean
"

The machine has 612 Mbyte of free disk space. It gave the same error when
I had about 117 Mbyte free. I have actually added about 500 Mbytes and
have the same error. Why does it want 122M free in
/var/cache/apt/archives/. When there is clearly over 600 Mbytes of hard
drive available to that directory?

Kindest Regards,

Paul

Paul Flint (flint) said : #6

Dear Allen,

The following is an exact quote from the error popup of the upgrade
manager gui app:

"
flint@fts60:~$ cat edgy_upgrade_bug
Not enough free disk space

The upgrade aborts now. Please free at least 122M of disk space on
/var/cache/apt/archives/. Empty your trash and remove temporary packages
of former installations using 'sudo apt-get clean
"

The machine has 612 Mbyte of free disk space. It gave the same error when
I had about 117 Mbyte free. I have actually added about 500 Mbytes and
have the same error. Why does it want 122M free in
/var/cache/apt/archives/. When there is clearly over 600 Mbytes of hard
drive available to that directory?

Kindest Regards,

Paul

On Thu, 3 May 2007, Alan Pope wrote:

> Date: Thu, 03 May 2007 01:09:10 -0000
> From: Alan Pope <email address hidden>
> To: <email address hidden>
> Subject: Re: [Question #6033]: False report of not enough disk space
>
> Your question #6033 on update-manager in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>
> Status: Open => Answered
>
> Alan Pope proposed the following answer:
> Isn't it asking you to free a *further* 122M to do the upgrade. 122MB
> alone doesn't sound like enough to go from edgy->feisty, but the space
> you have plus 122M might be more realistic?
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>

/************************************

Paul Flint
17 Averill Street
Barre, VT
05641

http://www.flint.com/home
skype: flintinfotech
Work: (202) 537-0480
  Fax: (703) 852-7089

Free advice .~.
is worth /V\
exactly what /( )\
you pay for it. ^^-^^

Matt Zimmerman (mdz) said : #7

The error message may be misleading. The upgrade tool attempts to determine
the disk space requirements across your various filesystems and decide
whether there is sufficient disk space for the upgrade.

Please send 'df -h' output from the system in question.

On Thu, May 03, 2007 at 06:44:00AM -0400, <email address hidden> wrote:
> Dear Allen,
>
> The following is an exact quote from the error popup of the upgrade manager
> gui app:
>
> "
> flint@fts60:~$ cat edgy_upgrade_bug
> Not enough free disk space
>
> The upgrade aborts now. Please free at least 122M of disk space on
> /var/cache/apt/archives/. Empty your trash and remove temporary packages of
> former installations using 'sudo apt-get clean
> "
>
> The machine has 612 Mbyte of free disk space. It gave the same error when
> I had about 117 Mbyte free. I have actually added about 500 Mbytes and
> have the same error. Why does it want 122M free in
> /var/cache/apt/archives/. When there is clearly over 600 Mbytes of hard
> drive available to that directory?
>
> Kindest Regards,
>
> Paul
>
>
> On Thu, 3 May 2007, Alan Pope wrote:
>
>> Date: Thu, 03 May 2007 01:09:10 -0000
>> From: Alan Pope <email address hidden>
>> To: <email address hidden>
>> Subject: Re: [Question #6033]: False report of not enough disk space
>> Your question #6033 on update-manager in ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>>
>> Status: Open => Answered
>>
>> Alan Pope proposed the following answer:
>> Isn't it asking you to free a *further* 122M to do the upgrade. 122MB
>> alone doesn't sound like enough to go from edgy->feisty, but the space
>> you have plus 122M might be more realistic?
>>
>> _______________________________________________________________________
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033/+confirm?answer_id=3
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>>
>
> /************************************
>
> Paul Flint
> 17 Averill Street
> Barre, VT
> 05641
>
> http://www.flint.com/home
> skype: flintinfotech
> Work: (202) 537-0480
> Fax: (703) 852-7089
>
> Free advice .~.
> is worth /V\
> exactly what /( )\
> you pay for it. ^^-^^

--
 - mdz

Paul Flint (flint) said : #8

Dear Matt,

The output of df -h is already included in the Q&A chain at:

https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033

That said, the output is as follows:

"
flint@fts60:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 4.9G 4.0G 617M 87% /
varrun 248M 144K 248M 1% /var/run
varlock 248M 0 248M 0% /var/lock
procbususb 10M 116K 9.9M 2% /proc/bus/usb
udev 10M 116K 9.9M 2% /dev
devshm 248M 0 248M 0% /dev/shm
lrm 248M 18M 231M 7%
/lib/modules/2.6.17-11-generic/volatile
/dev/sda2 4.9G 860M 3.8G 19% /home/flint
/dev/sda1 46G 26G 20G 57% /dos
flint@fts60:~$
"

Note that the entire file system with the exception of my home dirve has a
5 gig drive available.

Regards,

Flint

On Thu, 3 May 2007, Matt Zimmerman wrote:

> Date: Thu, 3 May 2007 11:57:04 +0100
> From: Matt Zimmerman <email address hidden>
> To: <email address hidden>
> Cc: Alan Pope <email address hidden>,
> Michael Vogt <email address hidden>
> Subject: Re: [Question #6033]: False report of not enough disk space
>
> The error message may be misleading. The upgrade tool attempts to determine
> the disk space requirements across your various filesystems and decide
> whether there is sufficient disk space for the upgrade.
>
> Please send 'df -h' output from the system in question.
>
> On Thu, May 03, 2007 at 06:44:00AM -0400, <email address hidden> wrote:
>> Dear Allen,
>>
>> The following is an exact quote from the error popup of the upgrade manager
>> gui app:
>>
>> "
>> flint@fts60:~$ cat edgy_upgrade_bug
>> Not enough free disk space
>>
>> The upgrade aborts now. Please free at least 122M of disk space on
>> /var/cache/apt/archives/. Empty your trash and remove temporary packages of
>> former installations using 'sudo apt-get clean
>> "
>>
>> The machine has 612 Mbyte of free disk space. It gave the same error when
>> I had about 117 Mbyte free. I have actually added about 500 Mbytes and
>> have the same error. Why does it want 122M free in
>> /var/cache/apt/archives/. When there is clearly over 600 Mbytes of hard
>> drive available to that directory?
>>
>> Kindest Regards,
>>
>> Paul
>>
>>
>> On Thu, 3 May 2007, Alan Pope wrote:
>>
>>> Date: Thu, 03 May 2007 01:09:10 -0000
>>> From: Alan Pope <email address hidden>
>>> To: <email address hidden>
>>> Subject: Re: [Question #6033]: False report of not enough disk space
>>> Your question #6033 on update-manager in ubuntu changed:
>>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>>>
>>> Status: Open => Answered
>>>
>>> Alan Pope proposed the following answer:
>>> Isn't it asking you to free a *further* 122M to do the upgrade. 122MB
>>> alone doesn't sound like enough to go from edgy->feisty, but the space
>>> you have plus 122M might be more realistic?
>>>
>>> _______________________________________________________________________
>>> If this answers your question, please go to the following page to let us
>>> know that it is solved:
>>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033/+confirm?answer_id=3
>>>
>>> If you still need help, you can reply to this email or go to the
>>> following page to enter your feedback:
>>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>>>
>>
>> /************************************
>>
>> Paul Flint
>> 17 Averill Street
>> Barre, VT
>> 05641
>>
>> http://www.flint.com/home
>> skype: flintinfotech
>> Work: (202) 537-0480
>> Fax: (703) 852-7089
>>
>> Free advice .~.
>> is worth /V\
>> exactly what /( )\
>> you pay for it. ^^-^^
>
> --
> - mdz
>

/************************************

Paul Flint
17 Averill Street
Barre, VT
05641

http://www.flint.com/home
skype: flintinfotech
Work: (202) 537-0480
  Fax: (703) 852-7089

Free advice .~.
is worth /V\
exactly what /( )\
you pay for it. ^^-^^

Paul Flint (flint) said : #9

Dear Matt,

Is there a way that I can run the update manager from a command line, say
with a curses or command-line (non gui) interface and actually see what the
silly thing is doing? That might help.

Thanks and...

Kindest Regards,

Flint

/************************************

Paul Flint
17 Averill Street
Barre, VT
05641

http://www.flint.com/home
skype: flintinfotech
Work: (202) 537-0480
  Fax: (703) 852-7089

Free advice .~.
is worth /V\
exactly what /( )\
you pay for it. ^^-^^

Whilst it is possible to upgrade from the command line it is not recommended.

https://help.ubuntu.com/community/FeistyUpgradesManual

One thing you can try is follow those instructions but don't actually do the dist-upgrade proper, but download only.

sudo apt-get dist-upgrade -d

Which downloads the packages but does NOT install them. It will tell you how much space is required. It will use the same cache as the update manager. Then try running the update manager again and see if it still thinks there is an issue, or go through the procedure fully on the page above.

Paul Flint (flint) said : #11

Dear Allen,

Nice Idea!

Note that I already did and dist-upgrade and it completes normally. I
will do it again an capture the result.

Regards,

Flint

On Thu, 3 May 2007, Alan Pope wrote:

> Date: Thu, 03 May 2007 11:43:43 -0000
> From: Alan Pope <email address hidden>
> To: <email address hidden>
> Subject: Re: [Question #6033]: False report of not enough disk space
>
> Your question #6033 on update-manager in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>
> Status: Open => Answered
>
> Alan Pope proposed the following answer:
> Whilst it is possible to upgrade from the command line it is not
> recommended.
>
> https://help.ubuntu.com/community/FeistyUpgradesManual
>
> One thing you can try is follow those instructions but don't actually do
> the dist-upgrade proper, but download only.
>
> sudo apt-get dist-upgrade -d
>
> Which downloads the packages but does NOT install them. It will tell you
> how much space is required. It will use the same cache as the update
> manager. Then try running the update manager again and see if it still
> thinks there is an issue, or go through the procedure fully on the page
> above.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033/+confirm?answer_id=9
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>

/************************************

Paul Flint
17 Averill Street
Barre, VT
05641

http://www.flint.com/home
skype: flintinfotech
Work: (202) 537-0480
  Fax: (703) 852-7089

Free advice .~.
is worth /V\
exactly what /( )\
you pay for it. ^^-^^

Matt Zimmerman (mdz) said : #12

617M is not enough space to upgrade to 7.04.

On Thu, May 03, 2007 at 07:31:47AM -0400, <email address hidden> wrote:
> Dear Matt,
>
> The output of df -h is already included in the Q&A chain at:
>
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>
> That said, the output is as follows:
>
> "
> flint@fts60:~$ df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda3 4.9G 4.0G 617M 87% /
> varrun 248M 144K 248M 1% /var/run
> varlock 248M 0 248M 0% /var/lock
> procbususb 10M 116K 9.9M 2% /proc/bus/usb
> udev 10M 116K 9.9M 2% /dev
> devshm 248M 0 248M 0% /dev/shm
> lrm 248M 18M 231M 7%
> /lib/modules/2.6.17-11-generic/volatile
> /dev/sda2 4.9G 860M 3.8G 19% /home/flint
> /dev/sda1 46G 26G 20G 57% /dos
> flint@fts60:~$
> "
>
> Note that the entire file system with the exception of my home dirve has a
> 5 gig drive available.
>
> Regards,
>
> Flint
>
>
> On Thu, 3 May 2007, Matt Zimmerman wrote:
>
>> Date: Thu, 3 May 2007 11:57:04 +0100
>> From: Matt Zimmerman <email address hidden>
>> To: <email address hidden>
>> Cc: Alan Pope <email address hidden>,
>> Michael Vogt <email address hidden>
>> Subject: Re: [Question #6033]: False report of not enough disk space
>> The error message may be misleading. The upgrade tool attempts to
>> determine
>> the disk space requirements across your various filesystems and decide
>> whether there is sufficient disk space for the upgrade.
>>
>> Please send 'df -h' output from the system in question.
>>
>> On Thu, May 03, 2007 at 06:44:00AM -0400, <email address hidden> wrote:
>>> Dear Allen,
>>>
>>> The following is an exact quote from the error popup of the upgrade
>>> manager
>>> gui app:
>>>
>>> "
>>> flint@fts60:~$ cat edgy_upgrade_bug
>>> Not enough free disk space
>>>
>>> The upgrade aborts now. Please free at least 122M of disk space on
>>> /var/cache/apt/archives/. Empty your trash and remove temporary packages
>>> of
>>> former installations using 'sudo apt-get clean
>>> "
>>>
>>> The machine has 612 Mbyte of free disk space. It gave the same error
>>> when
>>> I had about 117 Mbyte free. I have actually added about 500 Mbytes and
>>> have the same error. Why does it want 122M free in
>>> /var/cache/apt/archives/. When there is clearly over 600 Mbytes of hard
>>> drive available to that directory?
>>>
>>> Kindest Regards,
>>>
>>> Paul
>>>
>>>
>>> On Thu, 3 May 2007, Alan Pope wrote:
>>>
>>>> Date: Thu, 03 May 2007 01:09:10 -0000
>>>> From: Alan Pope <email address hidden>
>>>> To: <email address hidden>
>>>> Subject: Re: [Question #6033]: False report of not enough disk space
>>>> Your question #6033 on update-manager in ubuntu changed:
>>>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>>>>
>>>> Status: Open => Answered
>>>>
>>>> Alan Pope proposed the following answer:
>>>> Isn't it asking you to free a *further* 122M to do the upgrade. 122MB
>>>> alone doesn't sound like enough to go from edgy->feisty, but the space
>>>> you have plus 122M might be more realistic?
>>>>
>>>> _______________________________________________________________________
>>>> If this answers your question, please go to the following page to let us
>>>> know that it is solved:
>>>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033/+confirm?answer_id=3
>>>>
>>>> If you still need help, you can reply to this email or go to the
>>>> following page to enter your feedback:
>>>> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>>>>
>>>
>>> /************************************
>>>
>>> Paul Flint
>>> 17 Averill Street
>>> Barre, VT
>>> 05641
>>>
>>> http://www.flint.com/home
>>> skype: flintinfotech
>>> Work: (202) 537-0480
>>> Fax: (703) 852-7089
>>>
>>> Free advice .~.
>>> is worth /V\
>>> exactly what /( )\
>>> you pay for it. ^^-^^
>>
>> --
>> - mdz
>>
>
> /************************************
>
> Paul Flint
> 17 Averill Street
> Barre, VT
> 05641
>
> http://www.flint.com/home
> skype: flintinfotech
> Work: (202) 537-0480
> Fax: (703) 852-7089
>
> Free advice .~.
> is worth /V\
> exactly what /( )\
> you pay for it. ^^-^^

--
 - mdz

Paul Flint (flint) said : #13

Dear Matt,

Thanks to parted I can fix this :^)

How much space do you think is good?

Regards,

Flint

On Thu, 3 May 2007, Matt Zimmerman wrote:

> Date: Thu, 3 May 2007 13:18:47 +0100
> From: Matt Zimmerman <email address hidden>
> To: <email address hidden>
> Cc: Alan Pope <email address hidden>,
> Michael Vogt <email address hidden>
> Subject: Re: [Question #6033]: False report of not enough disk space
>
> 617M is not enough space to upgrade to 7.04.
>
> On Thu, May 03, 2007 at 07:31:47AM -0400, <email address hidden> wrote:

/************************************

Paul Flint
17 Averill Street
Barre, VT
05641

http://www.flint.com/home
skype: flintinfotech
Work: (202) 537-0480
  Fax: (703) 852-7089

Free advice .~.
is worth /V\
exactly what /( )\
you pay for it. ^^-^^

Launchpad Janitor (janitor) said : #14

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Paul Flint (flint) said : #15

Greetings,

I want to confirm that this bug is gone in 7.10. I did an installation on
a starved partition and the installer did indeed report that there was not
enough disk space.

Regards,

Flint

On Wed, 5 Dec 2007, CHoudeshell wrote:

> Date: Wed, 05 Dec 2007 06:30:20 -0000
> From: CHoudeshell <email address hidden>
> To: <email address hidden>
> Subject: [Question #6033]: Status of bug #95260 changed to 'Invalid' in
> update-manager in ubuntu
>
> Bug #95260 status changed in update-manager in ubuntu:
>
> Confirmed => Invalid
>
>
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/95260
> "Not enough free disk space"
>
> This bug is linked to #6033.
> False report of not enough disk space
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/6033
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

/************************************
Based upon email reliability concerns,
please send an acknowledgement in response to this note.

Paul Flint
Barre Open Systems Institute
17 Averill Street
Barre, VT
05641

http://www.bosivt.org
http://www.flint.com/home
skype: flintinfotech
Work: (202) 537-0480
  Fax: (703) 852-7089

Free advice .~.
is worth /V\
exactly what /( )\
you pay for it. ^^-^^

Ralph Janke (txwikinger) said : #16

Thanks Flint.

Could you please set this question to solved.

Thanks

Can you help with this problem?

Provide an answer of your own, or ask Paul Flint for more information if necessary.

To post a message you must log in.