error message - cannot update my machine #3

jreeves at nf.sympatico.ca jreeves at nf.sympatico.ca
Sun Aug 24 13:24:35 UTC 2008



David wrote:

---------------------------------------------

your first problem is your /boot partition is full.  you need to remove
some old kernels to make some space.

>> gzip: stdout: No space left on device

try:

dpkg -l | grep 2.6.24

that should spit out a list of installed (items with ii in the first
column) and removed (items with rr in the first column).  it should be
safe to remove any older kernels you aren't using like 2.6.24-16,
2.6.24-17, 2.6.24-18, i am assuming here you are currently running
2.6.24-19 and it is trying to be updated - what kernel are you running?
 please make sure you know what you are doing here before running the
commands i supply.

so now, for example, for me to remove the 2.6.24-16 kernel and the other
modules and associated packages i would run this:

sudo apt-get remove linux-image-2.6.24-16-generic
linux-restricted-modules-2.6.24-26-generic
linux-ubuntu-modules-2.6.24-16-generic linux-headers-2.6.24-16
linux-headers-2.6.24-16-generic

that should be all on one line in one command.

after running that for each kernel you want to remove you should try these:

sudo apt-get install -f
sudo apt-get check
sudo dpkg --configure -a

that should help sort you out.

- -d
-----------------------------------------------

JOHN writes: 

Thanks, David,

I am running Ubuntu 8.04, 2.6.20-16-generic

I tried this:

jr at lc:~# dpkg -l | grep 2.6.24
ii  linux-generic                              2.6.24.19.21                                         Complete Generic Linux kernel
ii  linux-headers-2.6.24-16                    2.6.24-16.30                                         Header files related to Linux kernel version
ii  linux-headers-2.6.24-16-generic            2.6.24-16.30                                         Linux kernel headers for version 2.6.24 on x
ii  linux-headers-2.6.24-17                    2.6.24-17.31                                         Header files related to Linux kernel version
ii  linux-headers-2.6.24-17-generic            2.6.24-17.31                                         Linux kernel headers for version 2.6.24 on x
ii  linux-headers-2.6.24-18                    2.6.24-18.32                                         Header files related to Linux kernel version
ii  linux-headers-2.6.24-18-generic            2.6.24-18.32                                         Linux kernel headers for version 2.6.24 on x
ii  linux-headers-2.6.24-19                    2.6.24-19.36                                         Header files related to Linux kernel version
ii  linux-headers-2.6.24-19-generic            2.6.24-19.36                                         Linux kernel headers for version 2.6.24 on x
ii  linux-headers-generic                      2.6.24.19.21                                         Generic Linux kernel headers
ii  linux-image-2.6.24-16-generic              2.6.24-16.30                                         Linux kernel image for version 2.6.24 on x86
ii  linux-image-2.6.24-17-generic              2.6.24-17.31                                         Linux kernel image for version 2.6.24 on x86
ii  linux-image-2.6.24-18-generic              2.6.24-18.32                                         Linux kernel image for version 2.6.24 on x86
iF  linux-image-2.6.24-19-generic              2.6.24-19.36                                         Linux kernel image for version 2.6.24 on x86
ii  linux-image-generic                        2.6.24.19.21                                         Generic Linux kernel image
ii  linux-libc-dev                             2.6.24-19.36                                         Linux Kernel Headers for development
ii  linux-restricted-modules-2.6.24-16-generic 2.6.24.12-16.34                                      Non-free Linux 2.6.24 modules on x86/x86_64
ii  linux-restricted-modules-2.6.24-17-generic 2.6.24.12-17.36                                      Non-free Linux 2.6.24 modules on x86/x86_64
ii  linux-restricted-modules-2.6.24-18-generic 2.6.24.13-18.41                                      Non-free Linux 2.6.24 modules on x86/x86_64
iU  linux-restricted-modules-2.6.24-19-generic 2.6.24.13-19.45                                      Non-free Linux 2.6.24 modules on x86/x86_64
ii  linux-restricted-modules-common            2.6.24.13-19.45                                      Non-free Linux 2.6.24 modules helper script
ii  linux-restricted-modules-generic           2.6.24.19.21                                         Restricted Linux modules for generic kernels
ii  linux-ubuntu-modules-2.6.24-16-generic     2.6.24-16.23                                         Ubuntu supplied Linux modules for version 2.
ii  linux-ubuntu-modules-2.6.24-17-generic     2.6.24-17.25                                         Ubuntu supplied Linux modules for version 2.
ii  linux-ubuntu-modules-2.6.24-18-generic     2.6.24-18.26                                         Ubuntu supplied Linux modules for version 2.
iU  linux-ubuntu-modules-2.6.24-19-generic     2.6.24-19.28                                         Ubuntu supplied Linux modules for version 2.
ii  nvidia-glx                                 1:96.43.05+2.6.24.13-19.45                           NVIDIA binary XFree86 4.x/X.Org driver

ALSO, I TRIED THIS:

jr at lc:~# dpkg -l | grep 2.6.20
ii  linux-image-2.6.20-16-generic              2.6.20-16.35                                         Linux kernel image for version 2.6.20 on x86
ii  linux-restricted-modules-2.6.20-16-generic 2.6.20.6-16.30                                       Non-free Linux 2.6.20 modules on x86/x86_64

--------------------------------------------------------------

Only 2.6.20-16-generic is listed on my grub menu. so that is what I have been running.

How should I proceed?

JOHN
-------------- next part --------------
Today's Topics:

   1. error message - cannot update my machine #2
      (jreeves at nf.sympatico.ca)
   2. Re: error message - cannot update my machine #2 (David Vincent)
   3. Grief with GNOME (Ralph Pichie)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: reply
Type: multipart/digest
Size: 13657 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20080824/f3e3dd90/attachment.bin>
-------------- next part --------------
-- 
ubuntu-ca mailing list
ubuntu-ca at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca



More information about the ubuntu-ca mailing list