When I try to do software updates, I get a message that says not enough free disk space. Update needs at least 41.1Mof free space. empty trash and temporary packages from former installations using sudo apt-get clean

Asked by David Laster

I have had Ubuntu 13.4 for several months and it is running in a Dell inspiron 1520 laptop.
After running it for several months, I started to received a pop up window that stopped me from downloading any updates.

Not enough free disk space
The upgrade needs a total of 41.1 M free space on disk '/boot'. Please free at least an additional 21.5 M of disk space on '/boot'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.
This I copied right off the pop-up window.

I am running a dual boot with Win. XP Pro and Ubuntu 13.4, no other previous version of Linux or Ubuntu on my system.
This is the only real problem I have had.
I thought that going into the hyperterminal was the way to go to enter the "sudo apt-get clean".
Then it wants me to enter a username and password, I tryed what I think is my username and password but it doesn't work.
I just want to be able to download updates.
So, how can I do this?
I have a copy of Ubuntu 13.4 on dvd if I need to reload it and kinda start over, but I would rather try to figure out to fix the update download problem.

What do you recommend?
How do you fix this??

David Laster
<email address hidden>

Thank you for answering back .
I did what you said.
I opened terminal
This what it opened with installerdave@David:~$
 I entered sudo apt-get clean
This what it says now, the same thing in the first line installerdave@David:~$
When I enter sudo apt-get clean, I get the line installerdave@David:~$
Nothing else happens.

In the email I recieved, it asked
What is the output of:
uname -a; lsb_release -a; dpkg -l | grep linux-image
I couldn't enter this like, I don't have some of the symbols in the line.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
David Laster
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

uname -a; lsb_release -a; dpkg -l | grep linux-image

Thanks

Revision history for this message
Daniel Letzeisen (dtl131) said :
#2

Go into the terminal (it's not "hyperterminal") and run the command:
sudo apt-get clean
The terminal will prompt you for the admin password, which is the same as your user's password. Note that you will not see visual confirmation as you type the password.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Reply on the forum. Not email.

You don't need to "have the characters" in the command. COPY the command and paste to the terminal. Why do you think I give the exact command?

Revision history for this message
David Laster (davidmlaster) said :
#4

This is what came up in terminal when I entered uname -a; lsb_release -a;
dpkg -l | grep linux-image.
Hopefully this will help.
for future reference, it may seem clear to you what you need me to do but I
may not know exactly what it is that you want me to do, so please excuse me
if I don't seem to get it, just state copy this or that etc. and I will do
it.

installerdave@David:~$ uname -a; lsb_release -a; dpkg -l | grep linux-image
Linux David 3.8.0-23-generic #34-Ubuntu SMP Wed May 29 20:24:54 UTC 2013
i686 i686 i686 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
rc linux-image-3.5.0-17-generic
3.5.0-17.28 i386 Linux kernel image for
version 3.5.0 on 32 bit x86 SMP
ii linux-image-3.5.0-27-generic
3.5.0-27.46 i386 Linux kernel image for
version 3.5.0 on 32 bit x86 SMP
ii linux-image-3.8.0-19-generic
3.8.0-19.30 i386 Linux kernel image for
version 3.8.0 on 32 bit x86 SMP
ii linux-image-3.8.0-21-generic
3.8.0-21.32 i386 Linux kernel image for
version 3.8.0 on 32 bit x86 SMP
ii linux-image-3.8.0-22-generic
3.8.0-22.33 i386 Linux kernel image for
version 3.8.0 on 32 bit x86 SMP
ii linux-image-3.8.0-23-generic
3.8.0-23.34 i386 Linux kernel image for
version 3.8.0 on 32 bit x86 SMP
rc linux-image-extra-3.5.0-17-generic
3.5.0-17.28 i386 Linux kernel image for
version 3.5.0 on 32 bit x86 SMP
ii linux-image-extra-3.5.0-27-generic
3.5.0-27.46 i386 Linux kernel image for
version 3.5.0 on 32 bit x86 SMP
ii linux-image-extra-3.8.0-19-generic
3.8.0-19.30 i386 Linux kernel image for
version 3.8.0 on 32 bit x86 SMP
ii linux-image-extra-3.8.0-21-generic
3.8.0-21.32 i386 Linux kernel image for
version 3.8.0 on 32 bit x86 SMP
ii linux-image-extra-3.8.0-22-generic
3.8.0-22.33 i386 Linux kernel image for
version 3.8.0 on 32 bit x86 SMP
ii linux-image-extra-3.8.0-23-generic
3.8.0-23.34 i386 Linux kernel image for
version 3.8.0 on 32 bit x86 SMP
ii linux-image-generic
3.8.0.23.39 i386 Generic Linux kernel
image
installerdave@David:~$

On Wed, Sep 4, 2013 at 11:41 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #235126 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/235126
>
> actionparsnip requested more information:
> Reply on the forum. Not email.
>
> You don't need to "have the characters" in the command. COPY the command
> and paste to the terminal. Why do you think I give the exact command?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/235126
>
> You received this question notification because you asked the question.
>

--
David Laster
<email address hidden>

Revision history for this message
David Laster (davidmlaster) said :
#5

This is what comes up in terminal when I entered the command
uname -a; lsb_release -a; dpkg -l | grep linux-image

installerdave@David:~$ uname -a; lsb_release -a; dpkg -l | grep linux-image
Linux David 3.8.0-23-generic #34-Ubuntu SMP Wed May 29 20:24:54 UTC 2013 i686 i686 i686 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
rc linux-image-3.5.0-17-generic 3.5.0-17.28 i386 Linux kernel image for version 3.5.0 on 32 bit x86 SMP
ii linux-image-3.5.0-27-generic 3.5.0-27.46 i386 Linux kernel image for version 3.5.0 on 32 bit x86 SMP
ii linux-image-3.8.0-19-generic 3.8.0-19.30 i386 Linux kernel image for version 3.8.0 on 32 bit x86 SMP
ii linux-image-3.8.0-21-generic 3.8.0-21.32 i386 Linux kernel image for version 3.8.0 on 32 bit x86 SMP
ii linux-image-3.8.0-22-generic 3.8.0-22.33 i386 Linux kernel image for version 3.8.0 on 32 bit x86 SMP
ii linux-image-3.8.0-23-generic 3.8.0-23.34 i386 Linux kernel image for version 3.8.0 on 32 bit x86 SMP
rc linux-image-extra-3.5.0-17-generic 3.5.0-17.28 i386 Linux kernel image for version 3.5.0 on 32 bit x86 SMP
ii linux-image-extra-3.5.0-27-generic 3.5.0-27.46 i386 Linux kernel image for version 3.5.0 on 32 bit x86 SMP
ii linux-image-extra-3.8.0-19-generic 3.8.0-19.30 i386 Linux kernel image for version 3.8.0 on 32 bit x86 SMP
ii linux-image-extra-3.8.0-21-generic 3.8.0-21.32 i386 Linux kernel image for version 3.8.0 on 32 bit x86 SMP
ii linux-image-extra-3.8.0-22-generic 3.8.0-22.33 i386 Linux kernel image for version 3.8.0 on 32 bit x86 SMP
ii linux-image-extra-3.8.0-23-generic 3.8.0-23.34 i386 Linux kernel image for version 3.8.0 on 32 bit x86 SMP
ii linux-image-generic 3.8.0.23.39 i386 Generic Linux kernel image
installerdave@David:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Open a terminal (e.g. by simultaneously pressing ctrl-alt-t) and issue the following command:

sudo dpkg -P linux-image-3.5.0-17-generic \
linux-image-3.5.0-27-generic \
linux-image-3.8.0-19-generic \
linux-image-3.8.0-21-generic \
linux-image-extra-3.5.0-17-generic \
linux-image-extra-3.5.0-27generic \
linux-image-extra-3.8.0-19-generic \
linux-image-extra-3.5.0-21-generic \
; df -h; df -i

Then copy/paste all output into this question document.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Sorry, typo errors in the command, now corrected:

Open a terminal (e.g. by simultaneously pressing ctrl-alt-t) and issue the following command:

sudo dpkg -P linux-image-3.5.0-17-generic \
linux-image-3.5.0-27-generic \
linux-image-3.8.0-19-generic \
linux-image-3.8.0-21-generic \
linux-image-extra-3.5.0-17-generic \
linux-image-extra-3.5.0-27-generic \
linux-image-extra-3.8.0-19-generic \
linux-image-extra-3.8.0-21-generic \
; df -h; df -i

Then copy/paste all output into this question document.

Revision history for this message
David Laster (davidmlaster) said :
#8

I entered this latest command. It worked, I could download then updates and my system seems to work great. Thanks!!

Revision history for this message
David Laster (davidmlaster) said :
#9

LinkedIn
------------

I'd like to add you to my professional network on LinkedIn.

- David

David Laster
Installation Tech. at RTB Electric and Power
Greater Seattle Area

Confirm that you know David Laster:
https://www.linkedin.com/e/8w6cfx-hu3k42y5-x/isd/5862418284040699904/A5u7J4mh/?hs=false&tok=2U0ZhTCwqRt6c1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/8w6cfx-hu3k42y5-x/Xk1OvfwjxCYck4FyPC5cB0wEPUPdp6kp9vEob0HhTzjlkeFEMqe-2y/goo/question235126%40answers%2Elaunchpad%2Enet/20061/I6906344536_1/?hs=false&tok=2ZoLykgUCRt6c1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.