uninstal previous version

Asked by moorthy.d

hi,
Iam recently installed ubuntu latest version,
how can i delete or uninstall previous version,
please explain detaily,
iam right now using windows 7 and ubuntu 10.10.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:

This question was reopened

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

Can you give the output of:

sudo fdisk -l; dpkg -l | grep linux-image-2; uname -a; lsb_release -a

Thanks

Revision history for this message
moorthy.d (moorthydeivasigamany) said :
#2

actionparsnip,
your question iam not understand,
iam new user can you ask detail y.

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

Copy the text, press CTRL+ALT+T

Paste the command in the terminal, press enter.

Copy the output and paste here as an update

Revision history for this message
moorthy.d (moorthydeivasigamany) said :
#4

sir,
as per request,
moorthy@moorthy-Aspire-5710:~$

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

We need the output of the command, it will output something.

Revision history for this message
moorthy.d (moorthydeivasigamany) said :
#6

SIR,
when i press CTRL+ALT+T,
terminal window open showing above mentioned only,
after that nothing display in any commands,
what can do little bit explain detail y.

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

I seriously can't put it any simpler, the terminal is like a commandprompt in windows but a billion times more powerful. The text I gave is a command for you to run and it will generate output. When you have ran the command (you can type it using your keyboard, or you can copy the command text on the page as ONE big command) you can then use the mouse to select the text and copy it, then paste the output in the box where you type replys and hit one of the buttons below. The text you paste will then be uploaded to the server and I will be notified of the occurrence via email. I can then reattend this exact page and read the output which you generated.

Revision history for this message
moorthy.d (moorthydeivasigamany) said :
#8

sir,
asper your request i got the command details,
i copy and paste here,
further what can i do,
the command details below,
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc014d853

   Device Boot Start End Blocks Id System
/dev/sda1 1 1274 10233373+ 12 Compaq diagnostics
/dev/sda2 * 1275 5110 30811406 7 HPFS/NTFS
/dev/sda3 5110 19307 114037462+ f W95 Ext'd (LBA)
/dev/sda4 19445 19457 104422+ 17 Hidden HPFS/NTFS
/dev/sda5 7800 13018 41909890 7 HPFS/NTFS
/dev/sda6 13018 16264 26074431 7 HPFS/NTFS
/dev/sda7 16265 19307 24442866 83 Linux
/dev/sda8 5110 7683 20661248 83 Linux
/dev/sda9 7683 7799 936960 82 Linux swap / Solaris

Partition table entries are not in disk order
ii linux-image-2.6.35-22-generic 2.6.35-22.35 Linux kernel image for version 2.6.35 on x86/x86_64
Linux moorthy-Aspire-5710 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick

Revision history for this message
delance (olivier-delance) said :
#9

You have two "83 Linux" partitions which is unexpected. Could you explain what you have inside each one.

Revision history for this message
moorthy.d (moorthydeivasigamany) said :
#10

sir,
iam currently using 2.6.35.22 ubuntu 10.10,
grub showing other version also 2.6.31.20,2.6.31.14,
i don't want this two previous version,
how can delete or uninstall,
please explain detail y.
thanks.
moorthy.d

Revision history for this message
moorthy.d (moorthydeivasigamany) said :
#11

sir,
iam currently using 2.6.35.22 ubuntu 10.10,
grub showing other version also 2.6.31.20,2.6.31.14,
i don't want this two previous version,
how can delete or uninstall,
please explain detail y.
thanks.
moorthy.d

Revision history for this message
delance (olivier-delance) said :
#12

Go to System->Administration->Packet Management (Synaptic), and in search window enter:
  2.6.31.20
then uninstall packets which include this string.
During uninstallation, Grub2 will be updated.
Do the same with 2.6.31.14.
After reboot, please mark question "Solved".

Revision history for this message
moorthy.d (moorthydeivasigamany) said :
#13

sir,
as per your instruction iam tried,
when i search the both version system not found anything,
what can i do now.

Revision history for this message
delance (olivier-delance) said :
#14

Sorry, I'm not in front of an Ubuntu computer. Search in Synaptic something like "linux" with version number.
Don't remove 2.6.35.22 version!

Revision history for this message
delance (olivier-delance) said :
#15
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#16

if you can give the output of:

uname -a

This is your CURRENT kernel. If you run:

dpkg -l | grep linux-image-2

These are the INSTALLED kernels. You can remove the installed kernels as you wish but do NOT remove the current kernel or things go all sorts of mental. Removing a kernel will gain you ~120Mb in space.

After removing the kernels, run:

sudo apt-get --purge autoremove

to remove any modules and redundant packages from the removal.

Revision history for this message
moorthy.d (moorthydeivasigamany) said :
#17

Thanks actionparsnip, that solved my question.