update manager

Asked by iaine

The command sudo apt-get update looks to be working fine

when i try upgrade, or open synaptic package manager or even the software centre i get the series of error messages below

1)backend_helper.py
This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.
E:The package linux-image-extra-3.6.0-030600-generic needs to be reinstalled, but I can't find an archive for it.
2)
Could not initialise the package information

An unresolvable problem occurred while initialising the package information.

Please report this bug for the 'update-manager' package and try to include the following error message:

'E:The package linux-image-extra-3.6.0-030600-generic needs to be reinstalled, but I can't find an archive for it.'

Question information

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

What is the output of:

lsb_release -a; uname -a

Thanks

Revision history for this message
iaine (ian-looseenz) said :
#2

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
Linux iane-ThinkPad-E520 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

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

Then why are you installing a 3rd party kernel?

Revision history for this message
iaine (ian-looseenz) said :
#4

i just want to remove this kernel..... i initial thought it was part of the normal updates

thanks

Ian

Revision history for this message
iaine (ian-looseenz) said :
#5

i just want to remove this kernel..... i initial thought it was part of the normal updates

thanks

Ian

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

What is the output of:

dpkg -l | grep linux-image

Thanks

Revision history for this message
iaine (ian-looseenz) said :
#7

rc linux-image-2.6.38-15-generic 2.6.38-15.59 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-2.6.38-8-generic 2.6.38-8.42 Linux kernel image for version 2.6.38 on x86/x86_64
rc linux-image-3.0.0-19-generic 3.0.0-19.33 Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.2.0-24-generic 3.2.0-24.39 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-25-generic 3.2.0-25.40 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-26-generic 3.2.0-26.41 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-27-generic 3.2.0-27.43 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-29-generic 3.2.0-29.46 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-30-generic 3.2.0-30.48 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-31-generic 3.2.0-31.50 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-32-generic 3.2.0-32.51 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-35-generic 3.2.0-35.55 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-37-generic 3.2.0-37.58 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-38-generic 3.2.0-38.61 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.6.0-030600-generic 3.6.0-030600.201209302035 Linux kernel image for version 3.6.0 on 64 bit x86 SMP
iHR linux-image-extra-3.6.0-030600-generic 3.6.0-030600.201209302035

thanks

Ian

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

The command

sudo dpkg -r --force-remove-reinstreq linux-image-extra-3.6.0-030600-generic linux-image-3.6.0-030600-generic

should remove the 3.6 kernel packages from your system.

To check if your package management system has got also other problems, you should run steps 1 to 6 of https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

You might also do some cleanup by removing old kernel files. This would free about 1 GiB space.

Revision history for this message
iaine (ian-looseenz) said :
#9

Thanks Manfred Hampl, that solved my question.

Revision history for this message
iaine (ian-looseenz) said :
#10

thank you ..... you also mentioned that i could clean up old kernels as well..... is there any other things i could do just for good house cleaning

once again thank you

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

df -h > ~/Desktop/before

sudo dpkg -P linux-image-2.6.38-8-generic linux-image-3.0.0-19-generic
sudo apt-get --purge remove linux-image-3.2.0-2*
sudo apt-get clean
sudo apt-get --purge autoremove

df -h > ~/Desktop/after

If you reboot and use the newer kernel (3.2.0-38), you can then remove the other kernels (but not the 3.2.0-38 one), and get lots of space back. Using the 2 files on the desktop youcan see the difference it made :)