linux-image-5.15.0-46-generic

Asked by Vladimir

     how to solve a problem installed linux-image-5.15.0-46-generic package post-removal script subprocess returned error exit status 1

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
Manfred Hampl (m-hampl) said :
#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
Vladimir (vibeg) said :
#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-46-generic Linux kernel extra modules for version
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-5.15.0-53-generic Signed kernel image generic

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-5.15.0-46-generic Signed kernel image generic
dpkg --remove:
 linux-image-5.15.0-46-generic Signed kernel image generic
3. sudo dpkg --configure -a
The package linux-image-5.15.0-53-generic (5.15.0-53.59) is configured...
dpkg: package dependencies prevent customization of
linux-modules-5.15.0-46-generic package:
 linux-modules-5.15.0-46-generic depends on linux-image-5.15.0-46-generic |
linux-image-unsigned-5.15.0-46-generic, however:
  Package linux-image-5.15.0-46-generic is not installed.
  Package linux-image-unsigned-5.15.0-46-generic is not installed.

dpkg: error while processing package linux-modules-5.15.0-46-generic
(--configure):
 dependency issues - leave unconfigured
Processing triggers for linux-image-5.15.0-53-generic (5.15.0-53.59) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-53-generic
I: The initramfs will attempt to resume from /dev/sdb7
I: (UUID=c99b5483-6650-418d-879f-5968825dc4bf)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 35: /etc/default/grub: Syntax error: EOF in
backquote substitution
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
dpkg: error while processing package linux-image-5.15.0-53-generic
(--configure):
 installed linux-image-5.15.0-53-generic package post-installation script
subprocess returned error exit status 1
Errors occurred while processing the following packages:
 linux-modules-5.15.0-46-generic
 linux-image-5.15.0-53-generic
 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

Revision history for this message
Manfred Hampl (m-hampl) said :
#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
Vladimir (vibeg) said :
#4

cat -n /etc/default/grub
     1 # If you change this file, run 'update-grub' afterwards to update
     2 # /boot/grub/grub.cfg.
     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_STYLE="hidden"
     8 GRUB_TIMEOUT="10"
     9 GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
    10 GRUB_CMDLINE_LINUX_DEFAULT="nomodeset
    11 GRUB_CMDLINE_LINUX=""
    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="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    17
    18 # Uncomment to disable graphical terminal (grub-pc only)
    19 #GRUB_TERMINAL="console"
    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="640x480"
    25
    26 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter
to Linux
    27 #GRUB_DISABLE_LINUX_UUID="true"
    28
    29 # Uncomment to disable generation of recovery mode menu entries
    30 #GRUB_DISABLE_RECOVERY="true"
    31
    32 # Uncomment to get a beep at grub start
    33 #GRUB_INIT_TUNE="480 440 1"

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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

Revision history for this message
Vladimir (vibeg) said :
#5

cat -n /etc/default/grub
     1 # If you change this file, run 'update-grub' afterwards to update
     2 # /boot/grub/grub.cfg.
     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_STYLE="hidden"
     8 GRUB_TIMEOUT="10"
     9 GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
    10 GRUB_CMDLINE_LINUX_DEFAULT="nomodeset
    11 GRUB_CMDLINE_LINUX=""
    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="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    17
    18 # Uncomment to disable graphical terminal (grub-pc only)
    19 #GRUB_TERMINAL="console"
    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="640x480"
    25
    26 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter
to Linux
    27 #GRUB_DISABLE_LINUX_UUID="true"
    28
    29 # Uncomment to disable generation of recovery mode menu entries
    30 #GRUB_DISABLE_RECOVERY="true"
    31
    32 # Uncomment to get a beep at grub start
    33 #GRUB_INIT_TUNE="480 440 1"

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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

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

    10 GRUB_CMDLINE_LINUX_DEFAULT="nomodeset

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_LINUX_DEFAULT="nomodeset
to
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
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
Vladimir (vibeg) said :
#7

sudo dpkg --configure -a [sudo] vibeg password:
The package linux-image-5.15.0-53-generic (5.15.0-53.59) is configured...
dpkg: package dependencies prevent customization of
linux-modules-5.15.0-46-generic package: linux-modules-5.15.0-46-generic
depends on linux-image-5.15.0-46-generic |
linux-image-unsigned-5.15.0-46-generic, however: Package
linux-image-5.15.0-46-generic is not installed. Package
linux-image-unsigned-5.15.0-46-generic is not installed. dpkg: error while
processing package linux-modules-5.15.0-46-generic (--configure):
dependency issues - leave unconfigured Processing triggers for
linux-image-5.15.0-53-generic (5.15.0-53.59) ...
/etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating
/boot/initrd.img-5.15.0-53-generic I: The initramfs will attempt to resume
from /dev/sdb7 I: (UUID=c99b5483-6650-418d-879f-5968825dc4bf) I: Set the
RESUME variable to override this. /etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub' Sourcing file
`/etc/default/grub.d/init-select.cfg' Generating grub configuration file
... Found linux image: /boot/vmlinuz-5.15.0-53-generic Found initrd image:
/boot/initrd.img-5.15.0-53-generic Found linux image:
/boot/vmlinuz-5.15.0-52-generic Found initrd image:
/boot/initrd.img-5.15.0-52-generic Found memtest86+ image:
/boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin 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 Errors occurred while
processing the following packages: linux-modules-5.15.0-46-generic

вт, 29 нояб. 2022 г. в 21:31, Manfred Hampl <
<email address hidden>>:

> Your question #703966 on linux in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> 10 GRUB_CMDLINE_LINUX_DEFAULT="nomodeset
>
> 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_LINUX_DEFAULT="nomodeset
> to
> GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966/+confirm?answer_id=5
>
> 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/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

Revision history for this message
Vladimir (vibeg) said :
#8

GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" - this is after the fix, there are
quotes

вт, 29 нояб. 2022 г. в 21:31, Manfred Hampl <
<email address hidden>>:

> Your question #703966 on linux in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> 10 GRUB_CMDLINE_LINUX_DEFAULT="nomodeset
>
> 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_LINUX_DEFAULT="nomodeset
> to
> GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966/+confirm?answer_id=5
>
> 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/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

Revision history for this message
Vladimir (vibeg) said :
#9

ubuntu-cleaner shows old kernels left Package linux-image-5.15.0-46-generic
and linux-modules-5.15.0-46-generic

вт, 29 нояб. 2022 г. в 21:31, Manfred Hampl <
<email address hidden>>:

> Your question #703966 on linux in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> 10 GRUB_CMDLINE_LINUX_DEFAULT="nomodeset
>
> 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_LINUX_DEFAULT="nomodeset
> to
> GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966/+confirm?answer_id=5
>
> 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/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

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

This looks good so far, the main problem is solved.
Now issue the commands

sudo dpkg --purge linux-image-5.15.0-46-generic
sudo apt install -f

and report the results.

Revision history for this message
Vladimir (vibeg) said :
#11

*sudo dpkg --purge linux-image-5.15.0-46-generic*
 [sudo] vibeg password:
 dpkg: dependency issues prevent removal of linux-image-5.15.0-46-generic
package:
 linux-modules-5.15.0-46-generic depends on linux-image-5.15.0-46-generic
| linux-image-unsigned-5.15.0-46-generic, however:
   The linux-image-5.15.0-46-generic package will be removed.
   Package linux-image-unsigned-5.15.0-46-generic is not installed.

 dpkg: error while processing package linux-image-5.15.0-46-generic
(--purge):
 dependency issues - not removed
 Errors occurred while processing the following packages:
 linux-image-5.15.0-46-generic
*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-image-unsigned-5.15.0-46-generic linux-modules-5.15.0-46-generic
 Use "sudo apt autoremove" to remove them.
 The following additional packages will be installed:
   linux-image-unsigned-5.15.0-46-generic
 Suggested packages:
   fdutils linux-doc | linux-source-5.15.0 linux-tools
   linux-headers-5.15.0-46-generic linux-modules-extra-5.15.0-46-generic
 The following packages will be REMOVED:
   linux-image-5.15.0-46-generic
 The following NEW packages will be installed:
   linux-image-unsigned-5.15.0-46-generic
 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://archive.ubuntu.com/ubuntu jammy-updates/main amd64
linux-image-unsigned-5.15.0-46-generic amd64 5.15.0-46.49 [11.6 MB]
 Received 11.6 MB in 29s (405
kB/s)
 dpkg: linux-image-5.15.0-46-generic: there are dependency issues, but your
 his direction
 it will still be deleted:
 linux-modules-5.15.0-46-generic depends on linux-image-5.15.0-46-generic
| linu
 x-image-unsigned-5.15.0-46-generic, however:
   The linux-image-5.15.0-46-generic package will be removed.
   Package linux-image-unsigned-5.15.0-46-generic is not installed.

 (Reading database... 276576 files and directories currently installed.)
 Remove linux-image-5.15.0-46-generic (5.15.0-46.49) ...
 /etc/kernel/postrm.d/initramfs-tools:
 update-initramfs: Deleting /boot/initrd.img-5.15.0-46-generic
 /etc/kernel/postrm.d/zz-update-grub:
 Sourcing file `/etc/default/grub'
 Sourcing file `/etc/default/grub.d/init-select.cfg'
 Generating grub configuration file ...
 Found linux image: /boot/vmlinuz-5.15.0-53-generic
 Found initrd image: /boot/initrd.img-5.15.0-53-generic
 Found linux image: /boot/vmlinuz-5.15.0-52-generic
 Found initrd image: /boot/initrd.img-5.15.0-52-generic
 Found memtest86+ image: /boot/memtest86+.elf
 Found memtest86+ image: /boot/memtest86+.bin
 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-unsigned-5.15.0-46-generic.
 (Reading database... 276576 files and directories currently installed.)
 Preparing for unpacking
…/linux-image-unsigned-5.15.0-46-generic_5.15.0-46.49_am
 d64.deb...
 Unpacking linux-image-unsigned-5.15.0-46-generic (5.15.0-46.49) ...
 The package linux-modules-5.15.0-46-generic (5.15.0-46.49) is configured...
 The package linux-image-unsigned-5.15.0-46-generic (5.15.0-46.49) is
configured...
 I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-53-generic
 I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-53-generic
 I: /boot/vmlinuz is now a symlink to vmlinuz-5.15.0-46-generic
 I: /boot/initrd.img is now a symlink to initrd.img-5.15.0-46-generic
 Processing triggers for linux-image-unsigned-5.15.0-46-generic
(5.15.0-46.49
 ) …
 /etc/kernel/postinst.d/initramfs-tools:
 update-initramfs: Generating /boot/initrd.img-5.15.0-46-generic
 I: The initramfs will attempt to resume from /dev/sdb7
 I: (UUID=c99b5483-6650-418d-879f-5968825dc4bf)
 I: Set the RESUME variable to override this.
 /etc/kernel/postinst.d/zz-update-grub:
 Sourcing file `/etc/default/grub'
 Sourcing file `/etc/default/grub.d/init-select.cfg'
 Generating grub configuration file ...
 Found linux image: /boot/vmlinuz-5.15.0-53-generic
 Found initrd image: /boot/initrd.img-5.15.0-53-generic
 Found linux image: /boot/vmlinuz-5.15.0-52-generic
 Found initrd image: /boot/initrd.img-5.15.0-52-generic
 Found linux image: /boot/vmlinuz-5.15.0-46-generic
 Found initrd image: /boot/initrd.img-5.15.0-46-generic
 Found memtest86+ image: /boot/memtest86+.elf
 Found memtest86+ image: /boot/memtest86+.bin
 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> 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-5.15.0-46-generic
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966/+confirm?answer_id=9
>
> 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/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

Revision history for this message
Vladimir (vibeg) said :
#12

I use two operating systems

ср, 30 нояб. 2022 г. в 09:26, Manfred Hampl <
<email address hidden>>:

> Your question #703966 on linux in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> 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-5.15.0-46-generic
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966/+confirm?answer_id=9
>
> 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/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

Revision history for this message
Vladimir (vibeg) said :
#13

ubuntu-cleaner now shows what's left linux-modules-5.15.0-46-generic

ср, 30 нояб. 2022 г. в 09:46, Володимир Бігун <
<email address hidden>>:

> Your question #703966 on linux in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
> >
> > 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-5.15.0-46-generic
> > 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966/+confirm?answer_id=9
> >
> > 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/703966
> >
> > 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
Vladimir (vibeg) said :
#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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
> >
> > 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-5.15.0-46-generic
> > 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966/+confirm?answer_id=9
> >
> > 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/703966
> >
> > 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
Manfred Hampl (m-hampl) said (last edit ):
#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
Vladimir (vibeg) said :
#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://archive.ubuntu.com/ubuntu jammy-updates/main amd64
linux-firmware all 20220329.git681281e4-0ubuntu3.7 [240 MB]
 Received 240 MB in 10min 44s (372
kB/s)
 (Reading the database... there are currently 275269 files and directories
installed.)
 Preparing to unpack
…/linux-firmware_20220329.git681281e4-0ubuntu3.7_all.deb
 …
 Unpacking linux-firmware (20220329.git681281e4-0ubuntu3.7) to replace (2022
 0329.git681281e4-0ubuntu3.6) …
 The linux-firmware package is configured (20220329.git681281e4-0ubuntu3.7)
...
 update-initramfs: Generating /boot/initrd.img-5.15.0-53-generic
 I: The initramfs will attempt to resume from /dev/sdb7
 I: (UUID=c99b5483-6650-418d-879f-5968825dc4bf)
 I: Set the RESUME variable to override this.
 update-initramfs: Generating /boot/initrd.img-5.15.0-52-generic
 I: The initramfs will attempt to resume from /dev/sdb7
 I: (UUID=c99b5483-6650-418d-879f-5968825dc4bf)
 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966/+confirm?answer_id=14
>
> 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/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#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
Vladimir (vibeg) said :
#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://answers.launchpad.net/ubuntu/+source/linux/+question/703966
>
> 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://answers.launchpad.net/ubuntu/+source/linux/+question/703966/+confirm?answer_id=16
>
> 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/703966
>
> You received this question notification because you asked the question.
>

--
С уважением
Владимир Бегун
www.begun.ks.ua

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

This is a different issue. Please open a new question document for it.

Revision history for this message
Vladimir (vibeg) said :
#20

Thanks Manfred Hampl, that solved my question.