linux-image-5.15.0-46-generic
how to solve a problem installed linux-image-
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu linux Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please provide more information (at least Ubuntu release and full error message texts).
What output do you receive for the following commands (to be executed in a terminal window):
uname -a
lsb_release -crid
sudo dpkg --audit
sudo dpkg --configure -a
df -h
Revision history for this message
|
#2 |
1. uname -a
Linux vibeg-MS-7A36 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55
UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
2. sudo dpkg --audit
[sudo] vibeg password:
The following packages have been unpacked but not configured yet.
To make them work, they must be configured using the command
dpkg --configure or by selecting "Configure" from the dselect program menu:
linux-modules-
5.15.0
The following packages are only partially configured. This is probably
related to
with problems that arose during the first attempt to configure. Should
configure again with dpkg --configure <package>
or the "Customize" item of the dselect program menu:
linux-image-
The following packages are only partially installed. This is due to problems
encountered during installation. You can probably complete the installation
by repeating
her. Packages can be removed using the dselect program or the command
dpkg --remove:
linux-image-
dpkg --remove:
linux-
3. sudo dpkg --configure -a
The package linux-image-
dpkg: package dependencies prevent customization of
linux-modules-
linux-
linux-image-
Package linux-image-
Package linux-image-
dpkg: error while processing package linux-modules-
(--configure):
dependency issues - leave unconfigured
Processing triggers for linux-image-
/etc/kernel/
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/sdb7
I: (UUID=c99b5483-
I: Set the RESUME variable to override this.
/etc/kernel/
Sourcing file `/etc/default/grub'
/usr/sbin/
backquote substitution
run-parts: /etc/kernel/
dpkg: error while processing package linux-image-
(--configure):
installed linux-image-
subprocess returned error exit status 1
Errors occurred while processing the following packages:
linux-
linux-
4. df -h
File.system Size Used Ext Used % Mounted In
tmpfs 363M 11M 352M 4% /run
/dev/sdb5 43G 40G 1.5G 97% /
tmpfs 1.8G 27M 1.8G 2% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 363M 172K 363M 1% /run/user/1000
вт, 29 нояб. 2022 г. в 16:31, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please provide more information (at least Ubuntu release and full error
> message texts).
>
> What output do you receive for the following commands (to be executed in
> a terminal window):
>
> uname -a
> lsb_release -crid
> sudo dpkg --audit
> sudo dpkg --configure -a
> df -h
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#3 |
"/etc/default/grub: Syntax error: EOF in backquote substitution"
Apparently you made an error when you edited the grub configuration file.
What is the output of the command
cat -n /etc/default/grub
Revision history for this message
|
#4 |
cat -n /etc/default/grub
1 # If you change this file, run 'update-grub' afterwards to update
2 # /boot/grub/
3 # For full documentation of the options in this file, see:
4 # info -f grub -n 'Simple configuration'
5
6 GRUB_DEFAULT="0"
7 GRUB_TIMEOUT_
8 GRUB_TIMEOUT="10"
9 GRUB_DISTRIBUTO
10 GRUB_CMDLINE_
11 GRUB_CMDLINE_
12
13 # Uncomment to enable BadRAM filtering, modify to suit your needs
14 # This works with Linux (no patch required) and with any kernel that
obtains
15 # the memory map information from GRUB (GNU Mach, kernel of FreeBSD
...)
16 #GRUB_BADRAM=
17
18 # Uncomment to disable graphical terminal (grub-pc only)
19 #GRUB_TERMINAL=
20
21 # The resolution used on graphical terminal
22 # note that you can use only modes which your graphic card supports
via VBE
23 # you can see them in real GRUB with the command `vbeinfo'
24 #GRUB_GFXMODE=
25
26 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter
to Linux
27 #GRUB_DISABLE_
28
29 # Uncomment to disable generation of recovery mode menu entries
30 #GRUB_DISABLE_
31
32 # Uncomment to get a beep at grub start
33 #GRUB_INIT_
in addition, I did not touch the hornbeam, I just deleted the old kernels
through the application ubuntu-ccleaner
вт, 29 нояб. 2022 г. в 18:50, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> "/etc/default/grub: Syntax error: EOF in backquote substitution"
>
> Apparently you made an error when you edited the grub configuration
> file.
>
> What is the output of the command
>
> cat -n /etc/default/grub
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#5 |
cat -n /etc/default/grub
1 # If you change this file, run 'update-grub' afterwards to update
2 # /boot/grub/
3 # For full documentation of the options in this file, see:
4 # info -f grub -n 'Simple configuration'
5
6 GRUB_DEFAULT="0"
7 GRUB_TIMEOUT_
8 GRUB_TIMEOUT="10"
9 GRUB_DISTRIBUTO
10 GRUB_CMDLINE_
11 GRUB_CMDLINE_
12
13 # Uncomment to enable BadRAM filtering, modify to suit your needs
14 # This works with Linux (no patch required) and with any kernel that
obtains
15 # the memory map information from GRUB (GNU Mach, kernel of FreeBSD
...)
16 #GRUB_BADRAM=
17
18 # Uncomment to disable graphical terminal (grub-pc only)
19 #GRUB_TERMINAL=
20
21 # The resolution used on graphical terminal
22 # note that you can use only modes which your graphic card supports
via VBE
23 # you can see them in real GRUB with the command `vbeinfo'
24 #GRUB_GFXMODE=
25
26 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter
to Linux
27 #GRUB_DISABLE_
28
29 # Uncomment to disable generation of recovery mode menu entries
30 #GRUB_DISABLE_
31
32 # Uncomment to get a beep at grub start
33 #GRUB_INIT_
in addition, I did not touch the hornbeam, I just deleted the old kernels
through the application ubuntu-ccleaner
вт, 29 нояб. 2022 г. в 18:50, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> "/etc/default/grub: Syntax error: EOF in backquote substitution"
>
> Apparently you made an error when you edited the grub configuration
> file.
>
> What is the output of the command
>
> cat -n /etc/default/grub
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#6 |
10 GRUB_CMDLINE_
At the end of line number 10 the closing quote character is missing.
Open a terminal window and issue the command
sudo gedit /etc/default/grub
In the editor window that opens change line 10 from
GRUB_CMDLINE_
to
GRUB_CMDLINE_
by adding a quote character at the end of the line.
Save the file and close the editor.
Finally execute the command
sudo dpkg --configure -a
and report the results.
Revision history for this message
|
#7 |
sudo dpkg --configure -a [sudo] vibeg password:
The package linux-image-
dpkg: package dependencies prevent customization of
linux-modules-
depends on linux-image-
linux-image-
linux-image-
linux-image-
processing package linux-modules-
dependency issues - leave unconfigured Processing triggers for
linux-image-
/etc/kernel/
/boot/initrd.
from /dev/sdb7 I: (UUID=c99b5483-
RESUME variable to override this. /etc/kernel/
Sourcing file `/etc/default/grub' Sourcing file
`/etc/default/
... Found linux image: /boot/vmlinuz-
/boot/initrd.
/boot/vmlinuz-
/boot/initrd.
/boot/memtest86
os-prober will be executed to detect other bootable partitions. Its output
will be used to detect bootable binaries on them and create new boot
entries. Found Windows 10 on /dev/sdb1 done Errors occurred while
processing the following packages: linux-modules-
вт, 29 нояб. 2022 г. в 21:31, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> 10 GRUB_CMDLINE_
>
> At the end of line number 10 the closing quote character is missing.
>
> Open a terminal window and issue the command
>
> sudo gedit /etc/default/grub
>
> In the editor window that opens change line 10 from
> GRUB_CMDLINE_
> to
> GRUB_CMDLINE_
> by adding a quote character at the end of the line.
> Save the file and close the editor.
>
> Finally execute the command
>
> sudo dpkg --configure -a
>
> and report the results.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#8 |
GRUB_CMDLINE_
quotes
вт, 29 нояб. 2022 г. в 21:31, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> 10 GRUB_CMDLINE_
>
> At the end of line number 10 the closing quote character is missing.
>
> Open a terminal window and issue the command
>
> sudo gedit /etc/default/grub
>
> In the editor window that opens change line 10 from
> GRUB_CMDLINE_
> to
> GRUB_CMDLINE_
> by adding a quote character at the end of the line.
> Save the file and close the editor.
>
> Finally execute the command
>
> sudo dpkg --configure -a
>
> and report the results.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#9 |
ubuntu-cleaner shows old kernels left Package linux-image-
and linux-modules-
вт, 29 нояб. 2022 г. в 21:31, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> 10 GRUB_CMDLINE_
>
> At the end of line number 10 the closing quote character is missing.
>
> Open a terminal window and issue the command
>
> sudo gedit /etc/default/grub
>
> In the editor window that opens change line 10 from
> GRUB_CMDLINE_
> to
> GRUB_CMDLINE_
> by adding a quote character at the end of the line.
> Save the file and close the editor.
>
> Finally execute the command
>
> sudo dpkg --configure -a
>
> and report the results.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#10 |
This looks good so far, the main problem is solved.
Now issue the commands
sudo dpkg --purge linux-image-
sudo apt install -f
and report the results.
Revision history for this message
|
#11 |
*sudo dpkg --purge linux-image-
[sudo] vibeg password:
dpkg: dependency issues prevent removal of linux-image-
package:
linux-
| linux-image-
The linux-image-
Package linux-image-
dpkg: error while processing package linux-image-
(--purge):
dependency issues - not removed
Errors occurred while processing the following packages:
linux-
*sudo apt install -f*
Reading Package Lists... Done
Building the dependency tree… Done
Reading Status Information… Done
Fixing Dependencies... Done
The following packages were installed automatically and are no longer
required:
linux-
Use "sudo apt autoremove" to remove them.
The following additional packages will be installed:
linux-
Suggested packages:
fdutils linux-doc | linux-source-5.15.0 linux-tools
linux-
The following packages will be REMOVED:
linux-
The following NEW packages will be installed:
linux-
0 packages updated, 1 new packages installed, 1 packages marked for
removal, and 0 packages not updated.
Installed or removed not up to the end of 2 packages.
You need to download 11.6 MB archives.
After this operation, the amount of occupied disk space will increase by
323 kB.
Do you want to continue? [Y/N]
Gender:1 http://
linux-image-
Received 11.6 MB in 29s (405
kB/s)
dpkg: linux-image-
his direction
it will still be deleted:
linux-
| linu
x-image-
The linux-image-
Package linux-image-
(Reading database... 276576 files and directories currently installed.)
Remove linux-image-
/etc/kernel/
update-initramfs: Deleting /boot/initrd.
/etc/kernel/
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found memtest86+ image: /boot/memtest86
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new
boot
entries.
Found Windows 10 on /dev/sdb1
done
Selecting a previously unselected package
linux-image-
(Reading database... 276576 files and directories currently installed.)
Preparing for unpacking
…/linux-
d64.deb...
Unpacking linux-image-
The package linux-modules-
The package linux-image-
configured...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-
I: /boot/initrd.
I: /boot/vmlinuz is now a symlink to vmlinuz-
I: /boot/initrd.img is now a symlink to initrd.
Processing triggers for linux-image-
(5.15.0-46.49
) …
/etc/kernel/
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/sdb7
I: (UUID=c99b5483-
I: Set the RESUME variable to override this.
/etc/kernel/
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found memtest86+ image: /boot/memtest86
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new
boot
entries.
Found Windows 10 on /dev/sdb1
done
ср, 30 нояб. 2022 г. в 09:26, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> This looks good so far, the main problem is solved.
> Now issue the commands
>
> sudo dpkg --purge linux-image-
> sudo apt install -f
>
> and report the results.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#12 |
I use two operating systems
ср, 30 нояб. 2022 г. в 09:26, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> This looks good so far, the main problem is solved.
> Now issue the commands
>
> sudo dpkg --purge linux-image-
> sudo apt install -f
>
> and report the results.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#13 |
ubuntu-cleaner now shows what's left linux-modules-
ср, 30 нояб. 2022 г. в 09:46, Володимир Бігун <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> You gave more information on the question:
> I use two operating systems
>
> ср, 30 нояб. 2022 г. в 09:26, Manfred Hampl <
> <email address hidden>>:
>
> > Your question #703966 on linux in Ubuntu changed:
> > https:/
> >
> > Status: Open => Answered
> >
> > Manfred Hampl proposed the following answer:
> > This looks good so far, the main problem is solved.
> > Now issue the commands
> >
> > sudo dpkg --purge linux-image-
> > sudo apt install -f
> >
> > and report the results.
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> >
> https:/
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https:/
> >
> > You received this question notification because you asked the question.
> >
>
>
> --
> С уважением
> Владимир Бегун
> www.begun.ks.ua
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#14 |
grub opened and started working, this is already a plus, thanks
ср, 30 нояб. 2022 г. в 09:46, Володимир Бігун <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> You gave more information on the question:
> I use two operating systems
>
> ср, 30 нояб. 2022 г. в 09:26, Manfred Hampl <
> <email address hidden>>:
>
> > Your question #703966 on linux in Ubuntu changed:
> > https:/
> >
> > Status: Open => Answered
> >
> > Manfred Hampl proposed the following answer:
> > This looks good so far, the main problem is solved.
> > Now issue the commands
> >
> > sudo dpkg --purge linux-image-
> > sudo apt install -f
> >
> > and report the results.
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> >
> https:/
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https:/
> >
> > You received this question notification because you asked the question.
> >
>
>
> --
> С уважением
> Владимир Бегун
> www.begun.ks.ua
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#15 |
The output in comment #11 does not show any error any more.
For completeness' sake now run the following commands and copy/paste the output as done before:
sudo apt update
sudo apt full-upgrade
sudo apt --purge autoremove
I do not expect any error, but let's verify that.
Revision history for this message
|
#16 |
*sudo apt full-upgrade*
Reading Package Lists... Done
Building the dependency tree… Done
Reading Status Information… Done
Calculating Updates… Done
#
# News about significant security updates, features and services will
# appear here to raise awareness and perhaps tease /r/Linux ;)
# Use 'pro config set apt_news=false' to hide this and future APT news.
#
The following packages will be updated:
linux firmware
1 packages updated, 0 new packages installed, 0 packages marked for
removal, and 0 packages not updated.
You need to download 240 MB archives.
After this operation, the amount of occupied disk space will increase by
8.080 kB.
Do you want to continue? [Y/N]
Gender:1 http://
linux-firmware all 20220329.
Received 240 MB in 10min 44s (372
kB/s)
(Reading the database... there are currently 275269 files and directories
installed.)
Preparing to unpack
…/linux-
…
Unpacking linux-firmware (20220329.
0329.git681281
The linux-firmware package is configured (20220329.
...
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/sdb7
I: (UUID=c99b5483-
I: Set the RESUME variable to override this.
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/sdb7
I: (UUID=c99b5483-
I: Set the RESUME variable to override this.
*sudo apt --purge autoremove*
Reading Package Lists... Done
Building the dependency tree… Done
Reading Status Information… Done
0 packages updated, 0 new packages installed, 0 packages marked for
removal, and 0 packages not updated.
Probably it turned out, I removed the old packages before that. Synaptic
shows no errors under Kernels and modules, ubuntu-cleaner Cool!Your system
is clean!
I express my gratitude to you for your help and patience, cool!
ср, 30 нояб. 2022 г. в 10:41, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> The output in comment #11 does not show any error any more.
>
> For completeness' sake now run the following commands and copy/paste the
> output aqs done before:
>
> sudo apt update
> sudo apt full-upgrade
> sudo apt --purge autoremove
>
> I do not expect any error, but let's verify that.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#17 |
Everything seems correct again.
If you do not have further questions in that context, I suggest that you set the status of this question to "solved".
Revision history for this message
|
#18 |
There is still a small problem in starting the second Ubuntu operating
system:
When you reboot, the bootloader opens and when you click on Ubuntu, a lot
of entries appear and then a flashing screen and normally, as it was, I
can’t log in. shows more Linux kernel image ...53 . I use F12 then
everything opens, I went into the bootloader, put ubuntu under Windows, but
I can’t open it normally, what should I do?
ср, 30 нояб. 2022 г. в 12:11, Manfred Hampl <
<email address hidden>>:
> Your question #703966 on linux in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Everything seems correct again.
> If you do not have further questions in that context, I suggest that you
> set the status of this question to "solved".
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
>
--
С уважением
Владимир Бегун
www.begun.ks.ua
Revision history for this message
|
#19 |
This is a different issue. Please open a new question document for it.
Revision history for this message
|
#20 |
Thanks Manfred Hampl, that solved my question.