[SOLVED] " No original module was found for this module on this kernel. - Use the dkms install command "
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yes, linux seems to be a minority of computer users...
I mostly use my HP laptop with firefox as my browser. Is that what you mean? If not, please clarify further.
Hoping you will get a brainstorm message letting you know a back door, wormhole sort of "fix" that would fix the issues I am having and eliminate the need for a tedious drawn out fix.
Btw, I like your message
The only way to do it if apt continues to fail is to manually edit the database and remove the files, there is no magic fix.
Hopefully I answered your question about how I get my network connection.
In looking over the posts, I ran across this comment of yours, which was a question:
"By the way what is the result of the apt-cache policy ndiswrapper as this is what concerned you in the original posting I do think."
I never did run that. Should I have run it ?
Might it be worthwhile for me to post the entire long scan that I only posted 2 pages for?cCommand :
When I look at that, for instance I saw more than once
Code:
Warning: No support for locale: en_US.utf8
This was also in earlier posts I had, but no one told me how to fix it...How do I fix that ?
This looks like it may be important
Code:
modinfo: ERROR: could not get modinfo from 'crc32': No such file or directory
Warning: No support for locale: en_US.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-101-generic /boot/vml
inuz-4.4.0-101-generic
run-parts: executing /etc/kernel/postinst.d/xx-update-initrd-links 4.4.0-101-gen
eric /boot/vmlinuz-4.4.0-101-generic
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-90-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-90-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-4.4.0-101-generic
I: /boot/initrd.img is now a symlink to initrd.img-4.4.0-101-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-101-generic /bo
ot/vmlinuz-4.4.0-101-generic
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-90-generic
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-4.15.0-142-generic (dele
ted)) leaked on lvs invocation. Parent PID 70928: /bin/sh
Adding boot menu entry for UEFI Firmware Settings
done
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
you may need to re-run your boot loader[grub]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
you may need to re-run your boot loader[grub]
Removing linux-image-extra-4.4.0-112-generic (4.4.0-112.135) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-112-generic /
boot/vmlinuz-4.4.0-112-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-112-generic /boot/vmlinuz
-4.4.0-112-generic
* dkms: running auto installation service for kernel 4.4.0-112-generic
Error! echo
Your kernel headers for kernel 4.4.0-112-generic cannot be found at
/lib/modules/4.4.0-112-generic/build or /lib/modules/4.4.0-112-generic/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Anything of interest that could be of help in the above parts I posted of that command ? It would take me awhile, but if it could give you more clues on this problem, I would be glad to post the entire results.
I have other updates in my Update Manager which I am holding off on until this is resolved...
What do you think? If none of the above is of help and you do not feel the need for me to post the entire scan, what is the first command I use to one by one remove extraneous files?
Hopefully I answered your question about how I get my network connection.
In looking over the posts, I ran across this comment of yours, which was a question:
"By the way what is the result of the apt-cache policy ndiswrapper as this is what concerned you in the original posting I do think."
I never did run that. Should I have run it ?
Might it be worthwhile for me to post the entire long scan that I only posted 2 pages for?cCommand :
When I look at that, for instance I saw more than once
Code:
Warning: No support for locale: en_US.utf8
This was also in earlier posts I had, but no one told me how to fix it...How do I fix that ?
This looks like it may be important
Code:
modinfo: ERROR: could not get modinfo from 'crc32': No such file or directory
Warning: No support for locale: en_US.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-101-generic /boot/vml
inuz-4.4.0-101-generic
run-parts: executing /etc/kernel/postinst.d/xx-update-initrd-links 4.4.0-101-gen
eric /boot/vmlinuz-4.4.0-101-generic
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-90-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-90-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-4.4.0-101-generic
I: /boot/initrd.img is now a symlink to initrd.img-4.4.0-101-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-101-generic /bo
ot/vmlinuz-4.4.0-101-generic
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-90-generic
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-4.15.0-142-generic (dele
ted)) leaked on lvs invocation. Parent PID 70928: /bin/sh
Adding boot menu entry for UEFI Firmware Settings
done
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
you may need to re-run your boot loader[grub]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
you may need to re-run your boot loader[grub]
Removing linux-image-extra-4.4.0-112-generic (4.4.0-112.135) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-112-generic /
boot/vmlinuz-4.4.0-112-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-112-generic /boot/vmlinuz
-4.4.0-112-generic
* dkms: running auto installation service for kernel 4.4.0-112-generic
Error! echo
Your kernel headers for kernel 4.4.0-112-generic cannot be found at
/lib/modules/4.4.0-112-generic/build or /lib/modules/4.4.0-112-generic/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Anything of interest that could be of help in the above parts I posted of that command ? It would take me awhile, but if it could give you more clues on this problem, I would be glad to post the entire results.
I have other updates in my Update Manager which I am holding off on until this is resolved...
What do you think? If none of the above is of help and you do not feel the need for me to post the entire scan, what is the first command I use to one by one remove extraneous files?
Maggie
The lvs is a bug they are too lazy to fix according to quick google search that came up with this.
For the locale problem sudo dpkg-reconfigure locales and choose the en_US.utf8 from the list to have it generated, keeping your default probably one of the uk variants.
Another search gives me the below on the crc32 it appears to be of no concern just due to the series 4 kernel being installed I think.
For the all removal command you show it is not needed to post the whole of it only the part at the bottom if it tells you it will fail or has error. If it completes then we are fine. And if it has completed then it means that those series 4 kernel should be gone. A sudo dpkg -l | grep linux-image should tell if any are left on the system. Give me the output of that command so I can see if we are indeed done with it, then it maybe necessary to run the sudo update-grub command as sugested by the output of your last code box. The "Removing symbolic link initrd.img
you may need to re-run your boot loader[grub]" lines.
I had not mentioned it b4 but when I write a reply, then select "go advanced", I sometomes get a message about too much time has elapsed, use back arrow. That removes what I had written and keeps happening. The fix has been to log out then in again. This time it would not let me log out ! Said "Bad request. Your browser sent a request that this server did not understand.Size of a request header field exceeds server limit. cookie /n "
Searched, and found it may be corrupted cookies and to clear cached web content. I also cleared cookies since that would log me out.
That worked. What can I do to stop the time limit issue on this forum ?
So, I read your links. The locale issue/ I already had the only en_US. utf-8 option selected
Why then am I getting that error ? Any fix for it ?
I searched and found this article with some fixes. Your trained eye I trust better than me guessing which may be a solution... https://serverfault.com/questions/30...debian-squeeze
That is good to know you only need to see the end part of a command to see if thare are any errors or anything fails. I had not given that part to you initially. The 2 first pages I sent were tthe start of the long results.
Running the all command again now.
Code:
Package 'linux-image-4.15.0-142-generic' is not installed, so not removed
Package 'linux-image-4.4.0-101-generic' is not installed, so not removed
Package 'linux-image-4.4.0-112-generic' is not installed, so not removed
Package 'linux-image-4.4.0-116-generic' is not installed, so not removed
Package 'linux-image-4.4.0-122-generic' is not installed, so not removed
Package 'linux-image-4.4.0-131-generic' is not installed, so not removed
Package 'linux-image-4.4.0-134-generic' is not installed, so not removed
Package 'linux-image-4.4.0-135-generic' is not installed, so not removed
Package 'linux-image-4.4.0-137-generic' is not installed, so not removed
Package 'linux-image-4.4.0-138-generic' is not installed, so not removed
Package 'linux-image-4.4.0-139-generic' is not installed, so not removed
Package 'linux-image-4.4.0-142-generic' is not installed, so not removed
Package 'linux-image-4.4.0-145-generic' is not installed, so not removed
Package 'linux-image-4.4.0-146-generic' is not installed, so not removed
Package 'linux-image-4.4.0-148-generic' is not installed, so not removed
Package 'linux-image-4.4.0-150-generic' is not installed, so not removed
Package 'linux-image-4.4.0-151-generic' is not installed, so not removed
Package 'linux-image-4.4.0-154-generic' is not installed, so not removed
Package 'linux-image-4.4.0-159-generic' is not installed, so not removed
Package 'linux-image-4.4.0-161-generic' is not installed, so not removed
Package 'linux-image-4.4.0-164-generic' is not installed, so not removed
Package 'linux-image-4.4.0-165-generic' is not installed, so not removed
Package 'linux-image-4.4.0-166-generic' is not installed, so not removed
Package 'linux-image-4.4.0-169-generic' is not installed, so not removed
Package 'linux-image-4.4.0-170-generic' is not installed, so not removed
Package 'linux-image-4.4.0-171-generic' is not installed, so not removed
Package 'linux-image-4.4.0-173-generic' is not installed, so not removed
Package 'linux-image-4.4.0-174-generic' is not installed, so not removed
Package 'linux-image-4.4.0-176-generic' is not installed, so not removed
Package 'linux-image-4.4.0-177-generic' is not installed, so not removed
Package 'linux-image-4.4.0-178-generic' is not installed, so not removed
Package 'linux-image-4.4.0-179-generic' is not installed, so not removed
Package 'linux-image-4.4.0-185-generic' is not installed, so not removed
Package 'linux-image-4.4.0-186-generic' is not installed, so not removed
Package 'linux-image-4.4.0-187-generic' is not installed, so not removed
Package 'linux-image-4.4.0-189-generic' is not installed, so not removed
Package 'linux-image-4.4.0-190-generic' is not installed, so not removed
Package 'linux-image-4.4.0-193-generic' is not installed, so not removed
Package 'linux-image-4.4.0-194-generic' is not installed, so not removed
Package 'linux-image-4.4.0-197-generic' is not installed, so not removed
Package 'linux-image-4.4.0-198-generic' is not installed, so not removed
Package 'linux-image-4.4.0-200-generic' is not installed, so not removed
Package 'linux-image-4.4.0-201-generic' is not installed, so not removed
Package 'linux-image-4.4.0-203-generic' is not installed, so not removed
Package 'linux-image-4.4.0-204-generic' is not installed, so not removed
Package 'linux-image-4.4.0-206-generic' is not installed, so not removed
Package 'linux-image-4.4.0-208-generic' is not installed, so not removed
Package 'linux-image-4.4.0-209-generic' is not installed, so not removed
Package 'linux-image-4.4.0-210-generic' is not installed, so not removed
Package 'linux-image-4.4.0-53-generic' is not installed, so not removed
Package 'linux-image-4.4.0-81-generic' is not installed, so not removed
Package 'linux-image-4.4.0-87-generic' is not installed, so not removed
Package 'linux-image-4.4.0-89-generic' is not installed, so not removed
Package 'linux-image-4.4.0-92-generic' is not installed, so not removed
Package 'linux-modules-4.15.0-142-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-145-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-146-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-148-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-150-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-151-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-154-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-159-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-161-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-164-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-165-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-166-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-169-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-170-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-171-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-173-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-174-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-176-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-177-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-178-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-179-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-185-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-186-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-187-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-189-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-190-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-193-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-194-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-197-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-198-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-200-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-201-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-203-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-204-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-206-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-208-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-209-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-210-generic' is not installed, so not removed
Package 'linux-modules-extra-4.15.0-142-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-145-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-146-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-148-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-150-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-151-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-154-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-159-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-161-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-164-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-165-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-166-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-169-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-170-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-171-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-173-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-174-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-176-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-177-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-178-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-179-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-185-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-186-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-187-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-189-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-190-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-193-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-194-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-197-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-198-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-200-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-201-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-203-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-204-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-206-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-208-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-209-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-210-generic' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
maggie@linux ~ $
Then I ran the command you said you want the results from.
Code:
maggie@linux ~ $ sudo dpkg -l | grep linux-image
[sudo] password for maggie:
rc linux-image-4.15.0-142-generic 4.15.0-142.146 amd64 Signed kernel image generic
rc linux-image-4.4.0-101-generic 4.4.0-101.124 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-112-generic 4.4.0-112.135 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-116-generic 4.4.0-116.140 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-122-generic 4.4.0-122.146 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-131-generic 4.4.0-131.157 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-134-generic 4.4.0-134.160 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-135-generic 4.4.0-135.161 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-137-generic 4.4.0-137.163 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-138-generic 4.4.0-138.164 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-139-generic 4.4.0-139.165 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-142-generic 4.4.0-142.168 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-145-generic 4.4.0-145.171 amd64 Signed kernel image generic
rc linux-image-4.4.0-146-generic 4.4.0-146.172 amd64 Signed kernel image generic
rc linux-image-4.4.0-148-generic 4.4.0-148.174 amd64 Signed kernel image generic
rc linux-image-4.4.0-150-generic 4.4.0-150.176 amd64 Signed kernel image generic
rc linux-image-4.4.0-151-generic 4.4.0-151.178 amd64 Signed kernel image generic
rc linux-image-4.4.0-154-generic 4.4.0-154.181 amd64 Signed kernel image generic
rc linux-image-4.4.0-159-generic 4.4.0-159.187 amd64 Signed kernel image generic
rc linux-image-4.4.0-161-generic 4.4.0-161.189 amd64 Signed kernel image generic
rc linux-image-4.4.0-164-generic 4.4.0-164.192 amd64 Signed kernel image generic
rc linux-image-4.4.0-165-generic 4.4.0-165.193 amd64 Signed kernel image generic
rc linux-image-4.4.0-166-generic 4.4.0-166.195 amd64 Signed kernel image generic
rc linux-image-4.4.0-169-generic 4.4.0-169.198 amd64 Signed kernel image generic
rc linux-image-4.4.0-170-generic 4.4.0-170.199 amd64 Signed kernel image generic
rc linux-image-4.4.0-171-generic 4.4.0-171.200 amd64 Signed kernel image generic
rc linux-image-4.4.0-173-generic 4.4.0-173.203 amd64 Signed kernel image generic
rc linux-image-4.4.0-174-generic 4.4.0-174.204 amd64 Signed kernel image generic
rc linux-image-4.4.0-176-generic 4.4.0-176.206 amd64 Signed kernel image generic
rc linux-image-4.4.0-177-generic 4.4.0-177.207 amd64 Signed kernel image generic
rc linux-image-4.4.0-178-generic 4.4.0-178.208 amd64 Signed kernel image generic
rc linux-image-4.4.0-179-generic 4.4.0-179.209 amd64 Signed kernel image generic
rc linux-image-4.4.0-185-generic 4.4.0-185.215 amd64 Signed kernel image generic
rc linux-image-4.4.0-186-generic 4.4.0-186.216 amd64 Signed kernel image generic
rc linux-image-4.4.0-187-generic 4.4.0-187.217 amd64 Signed kernel image generic
rc linux-image-4.4.0-189-generic 4.4.0-189.219 amd64 Signed kernel image generic
rc linux-image-4.4.0-190-generic 4.4.0-190.220 amd64 Signed kernel image generic
rc linux-image-4.4.0-193-generic 4.4.0-193.224 amd64 Signed kernel image generic
rc linux-image-4.4.0-194-generic 4.4.0-194.226 amd64 Signed kernel image generic
rc linux-image-4.4.0-197-generic 4.4.0-197.229 amd64 Signed kernel image generic
rc linux-image-4.4.0-198-generic 4.4.0-198.230 amd64 Signed kernel image generic
rc linux-image-4.4.0-200-generic 4.4.0-200.232 amd64 Signed kernel image generic
rc linux-image-4.4.0-201-generic 4.4.0-201.233 amd64 Signed kernel image generic
rc linux-image-4.4.0-203-generic 4.4.0-203.235 amd64 Signed kernel image generic
rc linux-image-4.4.0-204-generic 4.4.0-204.236 amd64 Signed kernel image generic
rc linux-image-4.4.0-206-generic 4.4.0-206.238 amd64 Signed kernel image generic
rc linux-image-4.4.0-208-generic 4.4.0-208.240 amd64 Signed kernel image generic
rc linux-image-4.4.0-209-generic 4.4.0-209.241 amd64 Signed kernel image generic
rc linux-image-4.4.0-210-generic 4.4.0-210.242 amd64 Signed kernel image generic
rc linux-image-4.4.0-53-generic 4.4.0-53.74 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-81-generic 4.4.0-81.104 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-87-generic 4.4.0-87.110 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-89-generic 4.4.0-89.112 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-92-generic 4.4.0-92.115 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-5.0.0-32-generic 5.0.0-32.34~18.04.2 amd64 Signed kernel image generic
rc linux-image-5.4.0-81-generic 5.4.0-81.91 amd64 Signed kernel image generic
rc linux-image-5.4.0-84-generic 5.4.0-84.94 amd64 Signed kernel image generic
rc linux-image-5.4.0-86-generic 5.4.0-86.97 amd64 Signed kernel image generic
rc linux-image-5.4.0-88-generic 5.4.0-88.99 amd64 Signed kernel image generic
ii linux-image-5.4.0-89-generic 5.4.0-89.100 amd64 Signed kernel image generic
ii linux-image-5.4.0-90-generic 5.4.0-90.101 amd64 Signed kernel image generic
rc linux-image-extra-4.4.0-101-generic 4.4.0-101.124 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-112-generic 4.4.0-112.135 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-116-generic 4.4.0-116.140 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-122-generic 4.4.0-122.146 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-131-generic 4.4.0-131.157 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-134-generic 4.4.0-134.160 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-135-generic 4.4.0-135.161 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-137-generic 4.4.0-137.163 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-138-generic 4.4.0-138.164 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-139-generic 4.4.0-139.165 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-142-generic 4.4.0-142.168 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-53-generic 4.4.0-53.74 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-81-generic 4.4.0-81.104 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-87-generic 4.4.0-87.110 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-89-generic 4.4.0-89.112 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-92-generic 4.4.0-92.115 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-generic 5.4.0.90.94 amd64 Generic Linux kernel image
maggie@linux ~ $
I had not mentioned it b4 but when I write a reply, then select "go advanced", I sometomes get a message about too much time has elapsed, use back arrow. That removes what I had written and keeps happening. The fix has been to log out then in again. This time it would not let me log out ! Said "Bad request. Your browser sent a request that this server did not understand.Size of a request header field exceeds server limit. cookie /n "
Searched, and found it may be corrupted cookies and to clear cached web content. I also cleared cookies since that would log me out.
That worked. What can I do to stop the time limit issue on this forum ?
So, I read your links. The locale issue/ I already had the only en_US. utf-8 option selected
Why then am I getting that error ? Any fix for it ?
I searched and found this article with some fixes. Your trained eye I trust better than me guessing which may be a solution... https://serverfault.com/questions/30...debian-squeeze
That is good to know you only need to see the end part of a command to see if thare are any errors or anything fails. I had not given that part to you initially. The 2 first pages I sent were tthe start of the long results.
Running the all command again now.
Code:
Package 'linux-image-4.15.0-142-generic' is not installed, so not removed
Package 'linux-image-4.4.0-101-generic' is not installed, so not removed
Package 'linux-image-4.4.0-112-generic' is not installed, so not removed
Package 'linux-image-4.4.0-116-generic' is not installed, so not removed
Package 'linux-image-4.4.0-122-generic' is not installed, so not removed
Package 'linux-image-4.4.0-131-generic' is not installed, so not removed
Package 'linux-image-4.4.0-134-generic' is not installed, so not removed
Package 'linux-image-4.4.0-135-generic' is not installed, so not removed
Package 'linux-image-4.4.0-137-generic' is not installed, so not removed
Package 'linux-image-4.4.0-138-generic' is not installed, so not removed
Package 'linux-image-4.4.0-139-generic' is not installed, so not removed
Package 'linux-image-4.4.0-142-generic' is not installed, so not removed
Package 'linux-image-4.4.0-145-generic' is not installed, so not removed
Package 'linux-image-4.4.0-146-generic' is not installed, so not removed
Package 'linux-image-4.4.0-148-generic' is not installed, so not removed
Package 'linux-image-4.4.0-150-generic' is not installed, so not removed
Package 'linux-image-4.4.0-151-generic' is not installed, so not removed
Package 'linux-image-4.4.0-154-generic' is not installed, so not removed
Package 'linux-image-4.4.0-159-generic' is not installed, so not removed
Package 'linux-image-4.4.0-161-generic' is not installed, so not removed
Package 'linux-image-4.4.0-164-generic' is not installed, so not removed
Package 'linux-image-4.4.0-165-generic' is not installed, so not removed
Package 'linux-image-4.4.0-166-generic' is not installed, so not removed
Package 'linux-image-4.4.0-169-generic' is not installed, so not removed
Package 'linux-image-4.4.0-170-generic' is not installed, so not removed
Package 'linux-image-4.4.0-171-generic' is not installed, so not removed
Package 'linux-image-4.4.0-173-generic' is not installed, so not removed
Package 'linux-image-4.4.0-174-generic' is not installed, so not removed
Package 'linux-image-4.4.0-176-generic' is not installed, so not removed
Package 'linux-image-4.4.0-177-generic' is not installed, so not removed
Package 'linux-image-4.4.0-178-generic' is not installed, so not removed
Package 'linux-image-4.4.0-179-generic' is not installed, so not removed
Package 'linux-image-4.4.0-185-generic' is not installed, so not removed
Package 'linux-image-4.4.0-186-generic' is not installed, so not removed
Package 'linux-image-4.4.0-187-generic' is not installed, so not removed
Package 'linux-image-4.4.0-189-generic' is not installed, so not removed
Package 'linux-image-4.4.0-190-generic' is not installed, so not removed
Package 'linux-image-4.4.0-193-generic' is not installed, so not removed
Package 'linux-image-4.4.0-194-generic' is not installed, so not removed
Package 'linux-image-4.4.0-197-generic' is not installed, so not removed
Package 'linux-image-4.4.0-198-generic' is not installed, so not removed
Package 'linux-image-4.4.0-200-generic' is not installed, so not removed
Package 'linux-image-4.4.0-201-generic' is not installed, so not removed
Package 'linux-image-4.4.0-203-generic' is not installed, so not removed
Package 'linux-image-4.4.0-204-generic' is not installed, so not removed
Package 'linux-image-4.4.0-206-generic' is not installed, so not removed
Package 'linux-image-4.4.0-208-generic' is not installed, so not removed
Package 'linux-image-4.4.0-209-generic' is not installed, so not removed
Package 'linux-image-4.4.0-210-generic' is not installed, so not removed
Package 'linux-image-4.4.0-53-generic' is not installed, so not removed
Package 'linux-image-4.4.0-81-generic' is not installed, so not removed
Package 'linux-image-4.4.0-87-generic' is not installed, so not removed
Package 'linux-image-4.4.0-89-generic' is not installed, so not removed
Package 'linux-image-4.4.0-92-generic' is not installed, so not removed
Package 'linux-modules-4.15.0-142-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-145-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-146-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-148-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-150-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-151-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-154-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-159-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-161-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-164-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-165-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-166-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-169-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-170-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-171-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-173-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-174-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-176-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-177-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-178-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-179-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-185-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-186-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-187-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-189-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-190-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-193-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-194-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-197-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-198-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-200-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-201-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-203-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-204-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-206-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-208-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-209-generic' is not installed, so not removed
Package 'linux-modules-4.4.0-210-generic' is not installed, so not removed
Package 'linux-modules-extra-4.15.0-142-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-145-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-146-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-148-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-150-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-151-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-154-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-159-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-161-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-164-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-165-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-166-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-169-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-170-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-171-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-173-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-174-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-176-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-177-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-178-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-179-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-185-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-186-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-187-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-189-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-190-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-193-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-194-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-197-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-198-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-200-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-201-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-203-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-204-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-206-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-208-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-209-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-210-generic' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
maggie@linux ~ $
Then I ran the command you said you want the results from.
Code:
maggie@linux ~ $ sudo dpkg -l | grep linux-image
[sudo] password for maggie:
rc linux-image-4.15.0-142-generic 4.15.0-142.146 amd64 Signed kernel image generic
rc linux-image-4.4.0-101-generic 4.4.0-101.124 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-112-generic 4.4.0-112.135 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-116-generic 4.4.0-116.140 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-122-generic 4.4.0-122.146 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-131-generic 4.4.0-131.157 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-134-generic 4.4.0-134.160 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-135-generic 4.4.0-135.161 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-137-generic 4.4.0-137.163 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-138-generic 4.4.0-138.164 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-139-generic 4.4.0-139.165 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-142-generic 4.4.0-142.168 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-145-generic 4.4.0-145.171 amd64 Signed kernel image generic
rc linux-image-4.4.0-146-generic 4.4.0-146.172 amd64 Signed kernel image generic
rc linux-image-4.4.0-148-generic 4.4.0-148.174 amd64 Signed kernel image generic
rc linux-image-4.4.0-150-generic 4.4.0-150.176 amd64 Signed kernel image generic
rc linux-image-4.4.0-151-generic 4.4.0-151.178 amd64 Signed kernel image generic
rc linux-image-4.4.0-154-generic 4.4.0-154.181 amd64 Signed kernel image generic
rc linux-image-4.4.0-159-generic 4.4.0-159.187 amd64 Signed kernel image generic
rc linux-image-4.4.0-161-generic 4.4.0-161.189 amd64 Signed kernel image generic
rc linux-image-4.4.0-164-generic 4.4.0-164.192 amd64 Signed kernel image generic
rc linux-image-4.4.0-165-generic 4.4.0-165.193 amd64 Signed kernel image generic
rc linux-image-4.4.0-166-generic 4.4.0-166.195 amd64 Signed kernel image generic
rc linux-image-4.4.0-169-generic 4.4.0-169.198 amd64 Signed kernel image generic
rc linux-image-4.4.0-170-generic 4.4.0-170.199 amd64 Signed kernel image generic
rc linux-image-4.4.0-171-generic 4.4.0-171.200 amd64 Signed kernel image generic
rc linux-image-4.4.0-173-generic 4.4.0-173.203 amd64 Signed kernel image generic
rc linux-image-4.4.0-174-generic 4.4.0-174.204 amd64 Signed kernel image generic
rc linux-image-4.4.0-176-generic 4.4.0-176.206 amd64 Signed kernel image generic
rc linux-image-4.4.0-177-generic 4.4.0-177.207 amd64 Signed kernel image generic
rc linux-image-4.4.0-178-generic 4.4.0-178.208 amd64 Signed kernel image generic
rc linux-image-4.4.0-179-generic 4.4.0-179.209 amd64 Signed kernel image generic
rc linux-image-4.4.0-185-generic 4.4.0-185.215 amd64 Signed kernel image generic
rc linux-image-4.4.0-186-generic 4.4.0-186.216 amd64 Signed kernel image generic
rc linux-image-4.4.0-187-generic 4.4.0-187.217 amd64 Signed kernel image generic
rc linux-image-4.4.0-189-generic 4.4.0-189.219 amd64 Signed kernel image generic
rc linux-image-4.4.0-190-generic 4.4.0-190.220 amd64 Signed kernel image generic
rc linux-image-4.4.0-193-generic 4.4.0-193.224 amd64 Signed kernel image generic
rc linux-image-4.4.0-194-generic 4.4.0-194.226 amd64 Signed kernel image generic
rc linux-image-4.4.0-197-generic 4.4.0-197.229 amd64 Signed kernel image generic
rc linux-image-4.4.0-198-generic 4.4.0-198.230 amd64 Signed kernel image generic
rc linux-image-4.4.0-200-generic 4.4.0-200.232 amd64 Signed kernel image generic
rc linux-image-4.4.0-201-generic 4.4.0-201.233 amd64 Signed kernel image generic
rc linux-image-4.4.0-203-generic 4.4.0-203.235 amd64 Signed kernel image generic
rc linux-image-4.4.0-204-generic 4.4.0-204.236 amd64 Signed kernel image generic
rc linux-image-4.4.0-206-generic 4.4.0-206.238 amd64 Signed kernel image generic
rc linux-image-4.4.0-208-generic 4.4.0-208.240 amd64 Signed kernel image generic
rc linux-image-4.4.0-209-generic 4.4.0-209.241 amd64 Signed kernel image generic
rc linux-image-4.4.0-210-generic 4.4.0-210.242 amd64 Signed kernel image generic
rc linux-image-4.4.0-53-generic 4.4.0-53.74 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-81-generic 4.4.0-81.104 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-87-generic 4.4.0-87.110 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-89-generic 4.4.0-89.112 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-92-generic 4.4.0-92.115 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-5.0.0-32-generic 5.0.0-32.34~18.04.2 amd64 Signed kernel image generic
rc linux-image-5.4.0-81-generic 5.4.0-81.91 amd64 Signed kernel image generic
rc linux-image-5.4.0-84-generic 5.4.0-84.94 amd64 Signed kernel image generic
rc linux-image-5.4.0-86-generic 5.4.0-86.97 amd64 Signed kernel image generic
rc linux-image-5.4.0-88-generic 5.4.0-88.99 amd64 Signed kernel image generic
ii linux-image-5.4.0-89-generic 5.4.0-89.100 amd64 Signed kernel image generic
ii linux-image-5.4.0-90-generic 5.4.0-90.101 amd64 Signed kernel image generic
rc linux-image-extra-4.4.0-101-generic 4.4.0-101.124 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-112-generic 4.4.0-112.135 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-116-generic 4.4.0-116.140 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-122-generic 4.4.0-122.146 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-131-generic 4.4.0-131.157 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-134-generic 4.4.0-134.160 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-135-generic 4.4.0-135.161 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-137-generic 4.4.0-137.163 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-138-generic 4.4.0-138.164 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-139-generic 4.4.0-139.165 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-142-generic 4.4.0-142.168 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-53-generic 4.4.0-53.74 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-81-generic 4.4.0-81.104 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-87-generic 4.4.0-87.110 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-89-generic 4.4.0-89.112 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-92-generic 4.4.0-92.115 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-generic 5.4.0.90.94 amd64 Generic Linux kernel image
maggie@linux ~ $
Maggie
Use the quote button on the bottom of the posting then the go advanced is not needed there are a preview and post the reply buttons to use for text typed in that reply box. It appears you have succeeded in removing all them series 4 kernels and only the series 5 remain the three of them. The utf8 error you could use the solution in that posting to put the two lines in your /home/user_name/.bashrc so it would always be set but it is not a real error that should cause problems. With the listing of the linux-image the rc you see means removed but configured, the ii means it is installed properly. You should hopefully be able to install software updates now without the near sixty kernels needing to be managed by the post install process of any module or package that does that. You have 27 such updates available now apt -s upgrade would simulate the install and what it will do, removing the -s will actually do it once you answer with a y.
Edit: Oh some of the time I will select all the text and copy before hitting a preview or back, this saves time not have to re-enter when that damn clear everything in the posting junk in the forum software hits.
I just looked at the original command $ sudo apt remove linux-headers-4.* linux-headers-4.*-generic linux-image-4.*-generic linux-modules-4.*-generic linux-modules-extra-4.*-generic I did on this problem that I had just sent you the first 2 pages of.
Here is the ending part
Do I now need to use any of these you mentioned b4 ?
"then it maybe necessary to run the sudo update-grub command as sugested by the output of your last code box. The "Removing symbolic link initrd.img
you may need to re-run your boot loader[grub]" lines."
If so, I would need the actual command for them...
Was it a glich in linux that created the excess kernels?
What is the command that will show me the kernels I now have ?
"You have 27 such updates available now apt -s upgrade would simulate the install and what it will do, removing the -s will actually do it once you answer with a y."
I am used to using sudo apt upgrade. I thought sudo at the start was better than not using it. Something to do with abministrative rights. Did I misunderstand that and apt upgrade or update are just fine to use ?
This what "apt -s upgrade" produced
Code:
maggie@linux ~ $ apt -s upgrade
apt
Usage: apt command [options]
apt help command [options]
Commands:
add-repository - Add entries to apt sources.list
autoclean - Erase old downloaded archive files
autoremove - Remove automatically all unused packages
build - Build binary or source packages from sources
build-dep - Configure build-dependencies for source packages
changelog - View a package's changelog
check - Verify that there are no broken dependencies
clean - Erase downloaded archive files
contains - List packages containing a file
content - List files contained in a package
deb - Install a .deb package
depends - Show raw dependency information for a package
dist-upgrade - Upgrade the system by removing/installing/upgrading packages
download - Download the .deb file for a package
edit-sources - Edit /etc/apt/sources.list with your preferred text editor
dselect-upgrade - Follow dselect selections
full-upgrade - Same as 'dist-upgrade'
held - List all held packages
help - Show help for a command
hold - Hold a package
install - Install/upgrade packages
list - List packages based on package names
policy - Show policy settings
purge - Remove packages and their configuration files
recommends - List missing recommended packages for a particular package
rdepends - Show reverse dependency information for a package
reinstall - Download and (possibly) reinstall a currently installed package
remove - Remove packages
search - Search for a package by name and/or expression
show - Display detailed information about a package
showhold - Same as 'held'
showsrc - Display all the source package records that match the given package name
source - Download source archives
sources - Same as 'edit-sources'
unhold - Unhold a package
update - Download lists of new/upgradable packages
upgrade - Perform a safe upgrade
version - Show the installed version of a package
maggie@linux ~ $
Shouldn't it show simulation of updates ?
Curious how you already know I have 27 updates available ?
I just looked at the original command $ sudo apt remove linux-headers-4.* linux-headers-4.*-generic linux-image-4.*-generic linux-modules-4.*-generic linux-modules-extra-4.*-generic I did on this problem that I had just sent you the first 2 pages of.
Here is the ending part
Do I now need to use any of these you mentioned b4 ?
"then it maybe necessary to run the sudo update-grub command as sugested by the output of your last code box. The "Removing symbolic link initrd.img
you may need to re-run your boot loader[grub]" lines."
If so, I would need the actual command for them...
Was it a glich in linux that created the excess kernels?
What is the command that will show me the kernels I now have ?
"You have 27 such updates available now apt -s upgrade would simulate the install and what it will do, removing the -s will actually do it once you answer with a y."
I am used to using sudo apt upgrade. I thought sudo at the start was better than not using it. Something to do with abministrative rights. Did I misunderstand that and apt upgrade or update are just fine to use ?
This what "apt -s upgrade" produced
Code:
maggie@linux ~ $ apt -s upgrade
apt
Usage: apt command [options]
apt help command [options]
Commands:
add-repository - Add entries to apt sources.list
autoclean - Erase old downloaded archive files
autoremove - Remove automatically all unused packages
build - Build binary or source packages from sources
build-dep - Configure build-dependencies for source packages
changelog - View a package's changelog
check - Verify that there are no broken dependencies
clean - Erase downloaded archive files
contains - List packages containing a file
content - List files contained in a package
deb - Install a .deb package
depends - Show raw dependency information for a package
dist-upgrade - Upgrade the system by removing/installing/upgrading packages
download - Download the .deb file for a package
edit-sources - Edit /etc/apt/sources.list with your preferred text editor
dselect-upgrade - Follow dselect selections
full-upgrade - Same as 'dist-upgrade'
held - List all held packages
help - Show help for a command
hold - Hold a package
install - Install/upgrade packages
list - List packages based on package names
policy - Show policy settings
purge - Remove packages and their configuration files
recommends - List missing recommended packages for a particular package
rdepends - Show reverse dependency information for a package
reinstall - Download and (possibly) reinstall a currently installed package
remove - Remove packages
search - Search for a package by name and/or expression
show - Display detailed information about a package
showhold - Same as 'held'
showsrc - Display all the source package records that match the given package name
source - Download source archives
sources - Same as 'edit-sources'
unhold - Unhold a package
update - Download lists of new/upgradable packages
upgrade - Perform a safe upgrade
version - Show the installed version of a package
maggie@linux ~ $
Shouldn't it show simulation of updates ?
Curious how you already know I have 27 updates available ?
So this is actually fixed !?!?
Maggie
Sorry forgot about the sudo and it being needed as you do not have root enabled. Those commands need to be run with root privileges or as root, without that they are useless and nothing happens.
Quote:
Originally Posted by magster
Package 'linux-modules-extra-4.4.0-209-generic' is not installed, so not removed
Package 'linux-modules-extra-4.4.0-210-generic' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
maggie@linux ~ $
It told you in your previous post that you had them available, the 27 not upgraded. part. That means running the upgrade command will download and install them 27 packages. No it is not defect really the excess mess is due to the busy work them people do justifying their jobs. There is no way in hell a kernel needs to be updated over 200 times with a new version. Let alone having the system blindly install them all and not remove ones that are not needed anymore. It is bad design on the part of the people making the distribution something they should actually spend some time on to justify that paycheck. Now there is the idea that apt will tell you that there were packages installed that are no longer required and running the sudo apt auto-remove will remove them but it does not say the idiots who designed the system have allowed these massive amounts of kernels to be left laying around remove them. The part where you ask had it removed the kernels, no it removed the kernel modules packages a support package for the kernels installed. If a kernel removed the name would be linux-image-???? you would see it removing. The output in the previous post showed the kernels had already been removed before running that command again.
Then there are the other 3 support packages in that line that should have been removed in all that output. It was installing the kernel and four support packages for each one. The sudo update-grub would not hurt to make certain it has removed the excess entries for all the removed kernel. A ls -l /boot/* looking to see if the excess series 4 kernel files have been removed like the initrd the system.map and one other I think I am forgetting. For each kernel that was installed there would be a version of those if not removed already by the package removal. To see the kernels installed now reuse the dpkg -l |grep linux-image | grep ii That will show the three install of the 5 series like it showed all before with filtering the output again by adding the | grep ii for only the installed to the command I already showed you.
Code:
root@bullseye-raspi:~# dpkg -l |grep linux-image | grep ii
ii linux-image-5.10.0-8-arm64 5.10.46-5 arm64 Linux 5.10 for 64-bit ARMv8 machines (signed)
ii linux-image-5.10.0-9-arm64 5.10.70-1 arm64 Linux 5.10 for 64-bit ARMv8 machines (signed)
ii linux-image-arm64 5.10.70-1 arm64 Linux for 64-bit ARMv8 machines (meta-package)
Now I see that there could be four with a meta package there, it just is a place holder that installs the latest kernel issued without having to actively do it yourself it is done automatically each time new kernel is issued. And as I read it one last time before posting it hits me.
The vmlinuz is the one I was forgetting the file actually responsible along with the initrd (initial root device) for booting the system. System.map no clue what that does never had to check into it by any problems caused by something being messed up due to it.
Edit: To be clear the meta package is the linux-image-arm64 on my install a generic package that does nothing but depend on the latest kernel issued and installs it for you.
maggie@linux ~ $ sudo update-grub
[sudo] password for maggie:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-90-generic
Found initrd image: /boot/initrd.img-5.4.0-90-generic
Found linux image: /boot/vmlinuz-5.4.0-89-generic
Found initrd image: /boot/initrd.img-5.4.0-89-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Adding boot menu entry for UEFI Firmware Settings
done
maggie@linux ~ $
Here is dpkg -l |grep linux-image | grep ii results
Code:
maggie@linux ~ $ dpkg -l |grep linux-image | grep ii
ii linux-image-5.0.0-32-generic 5.0.0-32.34~18.04.2 amd64 Signed kernel image generic
ii linux-image-5.4.0-89-generic 5.4.0-89.100 amd64 Signed kernel image generic
ii linux-image-5.4.0-90-generic 5.4.0-90.101 amd64 Signed kernel image generic
ii linux-image-generic 5.4.0.90.94 amd64 Generic Linux kernel image
maggie@linux ~ $
I could not tell if you want me to do any other commands like ls -l /boot/* ? Or if the other things you mention were to describe what the terms mean...
What about "The "Removing symbolic link initrd.img
you may need to re-run your boot loader[grub]" lines."
What is the command for this if it should be used?
Please let me know if there are any other commands that I should use before I do the sudo update /upgrades
maggie@linux ~ $ sudo update-grub
[sudo] password for maggie:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-90-generic
Found initrd image: /boot/initrd.img-5.4.0-90-generic
Found linux image: /boot/vmlinuz-5.4.0-89-generic
Found initrd image: /boot/initrd.img-5.4.0-89-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Adding boot menu entry for UEFI Firmware Settings
done
maggie@linux ~ $
Here is dpkg -l |grep linux-image | grep ii results
Code:
maggie@linux ~ $ dpkg -l |grep linux-image | grep ii
ii linux-image-5.0.0-32-generic 5.0.0-32.34~18.04.2 amd64 Signed kernel image generic
ii linux-image-5.4.0-89-generic 5.4.0-89.100 amd64 Signed kernel image generic
ii linux-image-5.4.0-90-generic 5.4.0-90.101 amd64 Signed kernel image generic
ii linux-image-generic 5.4.0.90.94 amd64 Generic Linux kernel image
maggie@linux ~ $
I could not tell if you want me to do any other commands like ls -l /boot/* ? Or if the other things you mention were to describe what the terms mean...
What about "The "Removing symbolic link initrd.img
you may need to re-run your boot loader[grub]" lines."
What is the command for this if it should be used?
Please let me know if there are any other commands that I should use before I do the sudo update /upgrades
Thanks.
Maggie
Nothing left to do on that kernel junk that was present it has all been done. You could look into the boot but all them files should be gone as nothing of them files showed up in the output of the update-grub. This was the command to fix that symbolic link error/warning. As I suspected you have the four kernels related packages installed with the linux-image-generic being the meta package that keeps the latest kernel installed, every time you see a new kernel installed the first thing you should do is reboot so you will be using the new kernel. If it boots fine and it most likely will then use the sudo apt autoremove to have the old one(s) removed, I see I made typo in that command earlier. In fact you may as well run that command now before doing anything else removing any leftover packages that may still be there and are no longer required.
maggie@linux ~ $ sudo apt autoremove
[sudo] password for maggie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
maggie@linux ~ $
For future reference, related to " every time you see a new kernel installed the first thing you should do is reboot so you will be using the new kernel. If it boots fine " What is my tip off that a new kernel has been installed?
Say I do the Update Manager method, what do I look for there to see a new kernel is about to be installed?
Vs
I do the sudo update method, what do I look for there to know a new kernel has been installed?
By reboot, is restart okay ? Or do I need to shut computer down?
"If it boots fine"
How do I tell if it boots fine ? What are clues it did Not boot fine?
maggie@linux ~ $ sudo apt autoremove
[sudo] password for maggie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
maggie@linux ~ $
For future reference, related to " every time you see a new kernel installed the first thing you should do is reboot so you will be using the new kernel. If it boots fine " What is my tip off that a new kernel has been installed?
Say I do the Update Manager method, what do I look for there to see a new kernel is about to be installed?
Vs
I do the sudo update method, what do I look for there to know a new kernel has been installed?
By reboot, is restart okay ? Or do I need to shut computer down?
"If it boots fine"
How do I tell if it boots fine ? What are clues it did Not boot fine?
Newbie questions
Maggie
The clue to new kernel installed will be the installing linux-image-???? and related packages in the output of the upgrade command. The clues to it not working fine are a failure to boot, devices not working as they should and anything else out of the ordinary. A reboot is a restart. I would think they do the same stupid thing as ubuntu and not give you a grub menu to make the choice of which kernel you want to boot with. If so then edit the file (sudo nano /etc/default/grub) for its settings and change the line to GRUB_TIMEOUT_STYLE=menu and I think it is named right below it to GRUB_TIMEOUT=5 from the 0 to give it a five second delay before it boots the default kernel. Running the sudo update-grub after making the change to have the changes take effect on the next boot. When wanting to boot the last kernel you need to go into the options I think it is called or advanced options possibly and it will list your choices there. The highest number will be the one just installed the one below it the last one that worked correctly, you would choose that one boot it and remove the problem kernel. Oh you have 31 updates waiting for you now time to upgrade.
Thanks much Stephen ! That last part about "not give you a grub menu to make the choice of which kernel you want to boot with. "
went over my head . That gives me even more questions I could ask. But I won't.
My brain has enough new info on linux to absorb from this whole process !
This problem has been solved ,thanks to you.
I am very grateful for your patience and help getting my computer cleaned up. Yes, time for update and upgrades for sure.
Onward and upward !
Thanks much Stephen ! That last part about "not give you a grub menu to make the choice of which kernel you want to boot with. "
went over my head . That gives me even more questions I could ask. But I won't.
My brain has enough new info on linux to absorb from this whole process !
This problem has been solved ,thanks to you.
I am very grateful for your patience and help getting my computer cleaned up. Yes, time for update and upgrades for sure.
Onward and upward !
Maggie
You are welcome. Do you see a text based menu that says Grub when you start the machine or does it just boot to Linux showing you nothing? If nothing then the menu is disabled if you see the screen then Grub is enabled for showing a menu.
I do not see anything named grub when I start my laptop. Is that important that I have grub enabled ?
Just did update and upgrade. It did not ask me to remove old files as it sometimes does on the terminal /
I immediately restarted my laptop.
After upgrades, should I just each time run a command to remove files that are no longer needed?
Update Manager says I am now up to date now.
If so, would the command be sudo apt autoremove ?
Thanks
Maggie
P.S. If it is okay with you, I will add you as a contact on this forum to reach out to you if a future post of mine does not get answered or I do not understand the answer someone gives me . I have another person who was very helpful, as you have been, send me a friend request for that same purpose, after I asked him if there was a way to contact him again.
In looking over these upgrades that I saved, I see this:
Setting up mintinstall (8.0.9) ... Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": K
ey file contains line ?several times a second. After a while, finds a new image
to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, gr
oup, or comment
Listing '/usr/lib/linuxmint/mintinstall'...
Is that a problem ? Sounds bad !
Or this:
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK. Weak crypto is allowed
Server role: ROLE_STANDALONE
You have said the end part is most important. Here is the very end:
Done
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for libglib2.0-0:i386 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for systemd (245.4-4ubuntu3.13) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
maggie@linux ~ $
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.