package linux-image-extra

Asked by Sebastien LECLERC on 2017-08-03

from terminal on my ubuntu 17.04
E: The package linux-image-extra-4.10.0-26-generic needs to be reinstalled, but I can't find an archive for it.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2017-08-04
Last query:
2017-08-04
Last reply:
2017-08-03
Manfred Hampl (m-hampl) said : #1

For diagnostic purposes please provide the output of the following commands:

uname -a
lsb_relase -crid
apt-cache policy linux-image-extra-4.10.0-26-generic linux-image-4.10.0-26-generic

Sebastien LECLERC (basty) said : #2

basty@basty-N24-25JU:~$ uname -a
Linux basty-N24-25JU 4.10.0-24-generic #28-Ubuntu SMP Wed Jun 14 08:14:34 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
basty@basty-N24-25JU:~$ lsb_relase -crid
No command 'lsb_relase' found, did you mean:
 Command 'lsb_release' from package 'lsb-release' (main)
lsb_relase: command not found
basty@basty-N24-25JU:~$ apt-cache policy linux-image-extra-4.10.0-26-generic linux-image-4.10.0-26-generic
linux-image-extra-4.10.0-26-generic:
  Installed: 4.10.0-26.30
  Candidate: 4.10.0-26.30
  Version table:
 *** 4.10.0-26.30 100
        100 /var/lib/dpkg/status
linux-image-4.10.0-26-generic:
  Installed: (none)
  Candidate: (none)
  Version table:

Sebastien LECLERC (basty) said : #3

basty@basty-N24-25JU:~$ uname -a
Linux basty-N24-25JU 4.10.0-24-generic #28-Ubuntu SMP Wed Jun 14 08:14:34
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
basty@basty-N24-25JU:~$ lsb_relase -crid
No command 'lsb_relase' found, did you mean:
 Command 'lsb_release' from package 'lsb-release' (main)
lsb_relase: command not found
basty@basty-N24-25JU:~$ apt-cache policy
linux-image-extra-4.10.0-26-generic linux-image-4.10.0-26-generic
linux-image-extra-4.10.0-26-generic:
  Installed: 4.10.0-26.30
  Candidate: 4.10.0-26.30
  Version table:
 *** 4.10.0-26.30 100
        100 /var/lib/dpkg/status
linux-image-4.10.0-26-generic:
  Installed: (none)
  Candidate: (none)
  Version table:

2017-08-03 10:28 GMT-04:00 Manfred Hampl <
<email address hidden>>:

> Your question #655237 on linux in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/linux/+question/655237
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes please provide the output of the following
> commands:
>
> uname -a
> lsb_relase -crid
> apt-cache policy linux-image-extra-4.10.0-26-generic
> linux-image-4.10.0-26-generic
>
> --
> 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/linux/+question/655237
>
> You received this question notification because you asked the question.
>

lsb_release -a; uname -a

What is the output please?

Sebastien LECLERC (basty) said : #5

basty@basty-N24-25JU:~$ lsb_release -a; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
Linux basty-N24-25JU 4.10.0-24-generic #28-Ubuntu SMP Wed Jun 14 08:14:34 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Manfred Hampl (m-hampl) said : #6

What is the output of the command

ls -l /var/cache/apt/archives/linux-image-extra-4.10.0-*

Sebastien LECLERC (basty) said : #7

basty@basty-N24-25JU:~$ ls -l /var/cache/apt/archives/linux-image-extra-4.10.0-*ls: cannot access '/var/cache/apt/archives/linux-image-extra-4.10.0-*': No such file or directory

Best Manfred Hampl (m-hampl) said : #8

ok.

Download the file

https://launchpad.net/ubuntu/+archive/primary/+files/linux-image-extra-4.10.0-26-generic_4.10.0-26.30_amd64.deb

to your Downloads directory and issue the command

sudo dpkg -i Downloads/linux-image-extra-4.10.0-26-generic_4.10.0-26.30_amd64.deb

and finally report the results.

Sebastien LECLERC (basty) said : #9

the page
https://launchpad.net/ubuntu/+archive/primary/+files/linux-image-
extra-4.10.0-26-generic_4.10.0-26.30_amd64.deb
<https://launchpad.net/ubuntu/+archive/primary/+files/linux-image-extra-4.10.0-26-generic_4.10.0-26.30_amd64.deb>
do not exist !???

2017-08-03 12:10 GMT-04:00 Manfred Hampl <
<email address hidden>>:

> Your question #655237 on linux in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/linux/+question/655237
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> ok.
>
> Download the file
>
> https://launchpad.net/ubuntu/+archive/primary/+files/linux-image-
> extra-4.10.0-26-generic_4.10.0-26.30_amd64.deb
>
> to your Downloads directory and issue the command
>
> sudo dpkg -i Downloads/linux-image-
> extra-4.10.0-26-generic_4.10.0-26.30_amd64.deb
>
> and finally report the results.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/linux/+
> question/655237/+confirm?answer_id=7
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/linux/+question/655237
>
> You received this question notification because you asked the question.
>

Manfred Hampl (m-hampl) said : #10

The file does exist.
Please copy the address from your launchpad question document https://answers.launchpad.net/ubuntu/+source/linux/+question/655237 , and not from your e-mail system. Most e-mail system try to limit the line size and break commands and filenames into pieces such that they do no more work.

Sebastien LECLERC (basty) said : #11

i found the way
here is the result :

basty@basty-N24-25JU:~$ sudo dpkg -i Downloads/linux-image-extra-4.10.0-26-generic_4.10.0-26.30_amd64.deb
[sudo] password for basty:
(Reading database ... 348305 files and directories currently installed.)
Preparing to unpack .../linux-image-extra-4.10.0-26-generic_4.10.0-26.30_amd64.deb ...
Unpacking linux-image-extra-4.10.0-26-generic (4.10.0-26.30) over (4.10.0-26.30) ...
dpkg: dependency problems prevent configuration of linux-image-extra-4.10.0-26-generic:
 linux-image-extra-4.10.0-26-generic depends on linux-image-4.10.0-26-generic; however:
  Package linux-image-4.10.0-26-generic is not installed.

dpkg: error processing package linux-image-extra-4.10.0-26-generic (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-extra-4.10.0-26-generic

Manfred Hampl (m-hampl) said : #12

What do you now get for the command

sudo dpkg --purge linux-image-extra-4.10.0-26-generic

Sebastien LECLERC (basty) said : #13

basty@basty-N24-25JU:~$ sudo dpkg --purge linux-image-extra-4.10.0-26-generic
[sudo] password for basty:
(Reading database ... 348304 files and directories currently installed.)
Removing linux-image-extra-4.10.0-26-generic (4.10.0-26.30) ...
depmod: FATAL: could not load /boot/System.map-4.10.0-26-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-26-generic
WARNING: missing /lib/modules/4.10.0-26-generic
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.10.0-26-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_76OZWi/lib/modules/4.10.0-26-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_76OZWi/lib/modules/4.10.0-26-generic/modules.builtin: No such file or directory
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.10.0-24-generic
Found initrd image: /boot/initrd.img-4.10.0-24-generic
Found linux image: /boot/vmlinuz-4.10.0-22-generic
Found initrd image: /boot/initrd.img-4.10.0-22-generic
Found linux image: /boot/vmlinuz-4.10.0-21-generic
Found initrd image: /boot/initrd.img-4.10.0-21-generic
Found linux image: /boot/vmlinuz-4.10.0-20-generic
Found initrd image: /boot/initrd.img-4.10.0-20-generic
Found linux image: /boot/vmlinuz-4.8.0-51-generic
Found initrd image: /boot/initrd.img-4.8.0-51-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Purging configuration files for linux-image-extra-4.10.0-26-generic (4.10.0-26.30) ...

Sebastien LECLERC (basty) said : #14

basty@basty-N24-25JU:~$ sudo dpkg --purge
linux-image-extra-4.10.0-26-generic
[sudo] password for basty:
(Reading database ... 348304 files and directories currently installed.)
Removing linux-image-extra-4.10.0-26-generic (4.10.0-26.30) ...
depmod: FATAL: could not load /boot/System.map-4.10.0-26-generic: No such
file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal
4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-26-generic
WARNING: missing /lib/modules/4.10.0-26-generic
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.10.0-26-generic: No
such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open
/var/tmp/mkinitramfs_76OZWi/lib/modules/4.10.0-26-generic/modules.order: No
such file or directory
depmod: WARNING: could not open
/var/tmp/mkinitramfs_76OZWi/lib/modules/4.10.0-26-generic/modules.builtin:
No such file or directory
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.10.0-26-generic
/boot/vmlinuz-4.10.0-26-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades
4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier
4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub
4.10.0-26-generic /boot/vmlinuz-4.10.0-26-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT
is set is no longer supported.
Found linux image: /boot/vmlinuz-4.10.0-24-generic
Found initrd image: /boot/initrd.img-4.10.0-24-generic
Found linux image: /boot/vmlinuz-4.10.0-22-generic
Found initrd image: /boot/initrd.img-4.10.0-22-generic
Found linux image: /boot/vmlinuz-4.10.0-21-generic
Found initrd image: /boot/initrd.img-4.10.0-21-generic
Found linux image: /boot/vmlinuz-4.10.0-20-generic
Found initrd image: /boot/initrd.img-4.10.0-20-generic
Found linux image: /boot/vmlinuz-4.8.0-51-generic
Found initrd image: /boot/initrd.img-4.8.0-51-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Purging configuration files for linux-image-extra-4.10.0-26-generic
(4.10.0-26.30) ...

2017-08-03 15:53 GMT-04:00 Manfred Hampl <
<email address hidden>>:

> Your question #655237 on linux in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/linux/+question/655237
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What do you now get for the command
>
> sudo dpkg --purge linux-image-extra-4.10.0-26-generic
>
> --
> 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/linux/+question/655237
>
> You received this question notification because you asked the question.
>

Sebastien LECLERC (basty) said : #15

It seems my computer ha no more default....
Warning desappeared
Software Updater start and run updates....
Thanks a lot for the assistance

Sebastien LECLERC (basty) said : #16

Thanks Manfred Hampl, that solved my question.