Package linux-image-2.6.22-15-generic needs to be reinstalled, but I can't find an archive for it.'

Asked by JohnJ

I get the following error message when I try to run the update manager:

Could not initialize the package information

A unresolvable problem occurred while initializing the package information.

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

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

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Ok

give this command

sudo apt-get install linux-image-2.6.22-15-generic

and try

Revision history for this message
Elfy (elfy) said :
#2

If you get stuck in a loop with dpkg ---configure -a and apt-get install -f which is likely you might need to use

dpkg --remove --force-remove-reinstreq packagename

sudo dpkg --remove --force-remove-reinstreq linux-image-2.6.22-15-generic

then reinstall

sudo apt-get install linux-image-2.6.22-15-generic

Revision history for this message
JohnJ (cjjohn1) said :
#3

Unfortunately I get the following when I use the commands provided -

john@JJPM:~$ sudo dpkg --remove --force-remove-reinstreq linux-image-26.22-15-generic
dpkg - warning: ignoring request to remove linux-image-26.22-15-generic which isn't installed.
john@JJPM:~$ sudo apt-get install linux-image-2.6.22-15-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-2.6.22-15-generic needs to be reinstalled, but I can't find an archive for it.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Which release of Ubuntu are you using...?

Thank you

Revision history for this message
JohnJ (cjjohn1) said :
#5

 Ubuntu 7.10
                - the Gutsy Gibbon - released in October 2007

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Here the package: http://packages.ubuntu.com/gutsy/linux-image-2.6.22-15-generic

Please try:

Open a terminal and type:

wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.22/linux-image-2.6.22-15-generic_2.6.22-15.56_i386.deb

sudo dpkg -i linux-image-2.6.22-15-generic_2.6.22-15.56_i386.deb

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
JohnJ (cjjohn1) said :
#7

Thank you for your answer, however I get the following when I type the commands specified -

john@JJPM:~$ wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.22--19:13:19-- http://security.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.22
           => `linux-source-2.6.22'
Resolving security.ubuntu.com... 91.189.88.37
Connecting to security.ubuntu.com|91.189.88.37|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://security.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.22/ [following]
--19:13:19-- http://security.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.22/
           => `index.html.5'
Reusing existing connection to security.ubuntu.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [ <=> ] 171,474 250.87K/s

19:13:20 (250.18 KB/s) - `index.html.5' saved [171474]

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#8

i try this command and it works:
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.22/linux-image-2.6.22-15-generic_2.6.22-15.56_i386.deb

Risoluzione di security.ubuntu.com in corso... 91.189.88.37
Connessione a security.ubuntu.com|91.189.88.37:80... connesso.
HTTP richiesta inviata, aspetto la risposta... 200 OK
Lunghezza: 18544954 (18M) [application/x-debian-package]
Saving to: `linux-image-2.6.22-15-generic_2.6.22-15.56_i386.deb'

 4% [=====> ] 869.931 152K/s eta 1m 58s ^

So please simply copy and paste this command line:
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.22/linux-image-2.6.22-15-generic_2.6.22-15.56_i386.deb

Hope this helps

Revision history for this message
JohnJ (cjjohn1) said :
#9

Thank you very much for your help. My issue has been resolved.