Ubuntu 18.04.4 LTS E: The package linux-image-4.15.0-99-generic needs to be reinstalled, but I can't find an archive for it.

Asked by surendra

locus@locus-m:~$ uname -a
Linux locus-m 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:47 UTC 2020 i686 i686 i686 GNU/Linux

locus@locus-m:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

locus@locus-m:~$ sudo apt-get update
Hit:1 http://archive.canonical.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security/universe i386 DEP-11 Metadata [42.1 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 DEP-11 Metadata [2,464 B]
Fetched 133 kB in 2s (60.8 kB/s)
Reading package lists... Done

locus@locus-m:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-4.15.0-99-generic needs to be reinstalled, but I can't find an archive for it.

locus@locus-m:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-4.15.0-99-generic needs to be reinstalled, but I can't find an archive for it.

locus@locus-m:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-modules-extra-4.15.0-45-generic:
 linux-modules-extra-4.15.0-45-generic depends on linux-image-4.15.0-45-generic | linux-image-unsigned-4.15.0-45-generic; however:
  Package linux-image-4.15.0-45-generic is not installed.
  Package linux-image-unsigned-4.15.0-45-generic is not installed.

dpkg: error processing package linux-modules-extra-4.15.0-45-generic (--configure):
 dependency problems - leaving unconfigured
Setting up printer-driver-pnm2ppa (1.13+nondbs-0ubuntu6) ...
Segmentation fault (core dumped)
dpkg: error processing package printer-driver-pnm2ppa (--configure):
 installed printer-driver-pnm2ppa package post-installation script subprocess returned error exit status 139
Errors were encountered while processing:
 linux-modules-extra-4.15.0-45-generic
 printer-driver-pnm2ppa

locus@locus-m:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-4.15.0-99-generic needs to be reinstalled, but I can't find an archive for it.

locus@locus-m:~$ sudo apt-get purge linux-headers-4.15.0-45
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-4.15.0-99-generic needs to be reinstalled, but I can't find an archive for it.

locus@locus-m:~$ dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3 | column -t"}'
iHR linux-image-4.15.0-45-generic 4.15.0-45.48~16.04.1 i386
ii linux-headers-4.15.0-45-generic 4.15.0-45.48~16.04.1 i386
ii linux-headers-4.15.0-45 4.15.0-45.48 all
ii linux-modules-4.15.0-45-generic 4.15.0-45.48 i386
iU linux-modules-extra-4.15.0-45-generic 4.15.0-45.48 i386
ii linux-headers-4.15.0-99-generic 4.15.0-99.100~16.04.1 i386
rHR linux-image-4.15.0-99-generic 4.15.0-99.100~16.04.1 i386
ii linux-headers-4.15.0-99 4.15.0-99.100 all
ii linux-modules-4.15.0-99-generic 4.15.0-99.100 i386
pU linux-modules-extra-4.15.0-99-generic 4.15.0-99.100 i386
ii linux-generic-hwe-16.04 4.15.0.99.106 i386
ii linux-headers-generic-hwe-16.04 4.15.0.99.106 i386
pi linux-image-generic-hwe-16.04 4.15.0.99.106 i386

locus@locus-m:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package linux-image-4.15.0-99-generic needs to be reinstalled, but I can't find an archive for it.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
surendra (surendra-mum) said :
#1

locus@locus-m:~$ sudo dpkg --remove linux-image-4.15.0-99-generic
dpkg: dependency problems prevent removal of linux-image-4.15.0-99-generic:
 linux-image-generic-hwe-16.04 depends on linux-image-4.15.0-99-generic.
 linux-modules-extra-4.15.0-99-generic depends on linux-image-4.15.0-99-generic | linux-image-unsigned-4.15.0-99-generic; however:
  Package linux-image-4.15.0-99-generic is to be removed.
  Package linux-image-unsigned-4.15.0-99-generic is not installed.

dpkg: error processing package linux-image-4.15.0-99-generic (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 linux-image-4.15.0-99-generic

Revision history for this message
surendra (surendra-mum) said :
#2

ocus@locus-m:~$ sudo dpkg --audit
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
 linux-image-4.15.0-45-generic Linux kernel image for version 4.15.0 on 32 bit
 linux-image-4.15.0-99-generic Linux kernel image for version 4.15.0 on 32 bit

The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 linux-modules-extra-4.15.0-45-generic Linux kernel extra modules for version 4
 linux-modules-extra-4.15.0-99-generic Linux kernel extra modules for version 4

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 printer-driver-pnm2ppa printer driver for HP-GDI printers

The following packages are missing the list control file in the
database, they need to be reinstalled:
 build-essential Informational list of build-essential packages
 checkbox-converged testing tool for all Ubuntu devices
 checkbox-gui QML based interface for checkbox (transitional package)
 folks-common library to aggregates people into metacontacts (common fi
 g++ GNU C++ compiler
 g++-5 GNU C++ compiler
 gir1.2-gst-plugins-base-1.0 GObject introspection data for the GStreamer Plugi
 gir1.2-gstreamer-1.0 GObject introspection data for the GStreamer library
 gir1.2-mutter-3.0 GObject introspection data for Mutter
 gir1.2-soup-2.4 GObject introspection data for the libsoup HTTP library
 gir1.2-totem-plparser-1.0:i386 GObject introspection data for the Totem Playlist Pa
 gnome-contacts Contacts manager for GNOME
 grilo-plugins-0.2-base:i386 Framework for discovering and browsing media - Base Plu
 gstreamer1.0-plugins-bad-faad:i386 GStreamer faad plugin from the "bad" set
 gstreamer1.0-plugins-bad-videoparsers:i386 GStreamer videoparsers plugin from the "
 libabw-0.1-1v5:i386 library for reading and writing AbiWord(tm) documents
 libass5:i386 library for SSA/ASS subtitles rendering
 libavcodec-ffmpeg56:i386 FFmpeg library with de/encoders for audio/video codecs -
 libavdevice-ffmpeg56:i386 FFmpeg library for handling input and output devices - ru
 libavfilter-ffmpeg5:i386 FFmpeg library containing media filters - runtime files
 libavformat-ffmpeg56:i386 FFmpeg library with (de)muxers for multimedia containers
 libavresample-ffmpeg2:i386 FFmpeg compatibility library for resampling - runtime fi
 libavutil-ffmpeg54:i386 FFmpeg library with functions for simplifying programming
 libbabeltrace-ctf1:i386 Common Trace Format (CTF) library
 libbluray1:i386 Blu-ray disc playback support library (shared library)
 libcapnp-0.5.3:i386 Cap'n Proto C++ library
 libchromaprint0:i386 audio fingerprint library
 libcmis-0.5-5v5:i386 CMIS protocol client library
 libdbusmenu-qt5:i386 Qt5 implementation of the DBusMenu protocol
 libdfu1:i386 Firmware update daemon library for DFU support
 libdleyna-connector-dbus-1.0-1:i386 DBus connector module for the dLeyna services
 libfolks-eds25:i386 Evolution-data-server backend for libfolks
 libfolks-telepathy25:i386 Telepathy backend for libfolks
 libfolks25:i386 library to aggregates people into metacontacts
 libgjs0e Mozilla-based javascript bindings for the GNOME platform
 libguess1:i386 high-speed character set detection library
 libhardware2 Library to provide access to the Android libhardware HAL
 libhybris-common1 Common library that contains the Android linker and custo
 libiso9660-8:i386 library to work with ISO9660 filesystems
 liblircclient0:i386 infra-red remote control support - client library
 liblivemedia50:i386 multimedia RTSP streaming library
 libllvm6.0:i386 Modular compiler and toolchain technologies, runtime libr
 libmagickcore-6.q16-2:i386 low-level image manipulation library -- quantum depth Q1
 libmagickcore-6.q16-2-extra:i386 low-level image manipulation library - extra codec
 libmagickwand-6.q16-2:i386 image manipulation library
 libmedia1 Library to provide access to the Android Media HAL
 libmetacity-private3a:i386 library for the Metacity window manager
 libmimic0:i386 A video codec for Mimic V2.x content
 libmozjs-24-0v5 Spidermonkey JavaScript engine
 libmutter0g window manager library from the Mutter window manager
 libnss3-1d:i386 Network Security Service libraries - transitional package
 libnss3-nssdb Network Security Security libraries - shared databases
 libopencv-calib3d2.4v5:i386 computer vision Camera Calibration library
 libopencv-contrib2.4v5:i386 computer vision contrib library
 libopencv-core2.4v5:i386 computer vision core library
 libopencv-features2d2.4v5:i386 computer vision Feature Detection and Descriptor Ext
 libopencv-flann2.4v5:i386 computer vision Clustering and Search in Multi-Dimensiona
 libopencv-highgui2.4v5:i386 computer vision High-level GUI and Media I/O library
 libopencv-imgproc2.4v5:i386 computer vision Image Processing library
 libopencv-legacy2.4v5:i386 computer vision legacy library
 libopencv-ml2.4v5:i386 computer vision Machine Learning library
 libopencv-objdetect2.4v5:i386 computer vision Object Detection library
 libopencv-video2.4v5:i386 computer vision Video analysis library
 liboxideqt-qmlplugin:i386 Web browser engine for Qt (QML plugin)
 liboxideqtcore0:i386 Web browser engine for Qt (core library and components)
 liboxideqtquick0:i386 Web browser engine for Qt (QtQuick library)
 libpeas-1.0-0-python3loader Application plugin library
 libpostproc-ffmpeg53:i386 FFmpeg library for post processing - runtime files
 libsane:i386 API library for scanners
 libsodium18:i386 Network communication, cryptography and signaturing libra
 libstdc++-5-dev:i386 GNU Standard C++ Library v3 (development files)
 libswresample-ffmpeg1:i386 FFmpeg library for audio resampling, rematrixing etc. -
 libswscale-ffmpeg3:i386 FFmpeg library for image scaling and various conversions
 libtbb2:i386 parallelism library for C++ - runtime files
 libubuntugestures5:i386 Ubuntu gestures library for Ubuntu UI Toolkit
 libubuntutoolkit5:i386 Ubuntu toolkit common library for Ubuntu UI Toolkit
 libunity-webapps0:i386 Web Apps integration with the Unity desktop
 libva-drm1:i386 Video Acceleration (VA) API for Linux -- DRM runtime
 libva-wayland1:i386 Video Acceleration (VA) API for Linux -- Wayland runtime
 libva-x11-1:i386 Video Acceleration (VA) API for Linux -- X11 runtime
 libva1:i386 Video Acceleration (VA) API for Linux -- runtime
 libvcdinfo0 library to extract information from VideoCD
 libvlc5 multimedia player and streamer library
 libwebpdemux1:i386 Lossy compression of digital photographic images.
 libx264-148:i386 x264 video coding library
 libx265-79:i386 H.265/HEVC video stream encoder (shared library)
 linux-image-4.15.0-45-generic Linux kernel image for version 4.15.0 on 32 bit
 perl-modules-5.22 Core Perl modules
 pulseaudio-module-x11 X11 module for PulseAudio sound server
 python3-cairo Python 3 bindings for the Cairo vector graphics library
 python3-lxml pythonic binding for the libxml2 and libxslt libraries
 qml-module-ubuntu-components:i386 Qt Components for Ubuntu - Components QML plugin
 qml-module-ubuntu-layouts:i386 Qt Components for Ubuntu - Layouts QML plugin
 qml-module-ubuntu-test:i386 Qt Components for Ubuntu - Test QML plugin
 qml-module-ubuntu-web:i386 Ubuntu web QML module
 qtdeclarative5-ubuntu-ui-toolkit-plugin Transitional dummy package for Ubuntu
 remmina-plugin-rdp RDP plugin for remmina remote desktop client
 remmina-plugin-vnc VNC plugin for remmina remote desktop client
 ubuntu-desktop The Ubuntu desktop system
 ubuntu-software Utility for browsing, installing, and removing software
 unity-control-center-faces utilities to configure the GNOME desktop - faces im
 unity-webapps-qml Unity Webapps QML component
 vlc-plugin-notify LibNotify plugin for VLC
 vlc-plugin-samba Samba plugin for VLC
 webapp-container Ubuntu web applications container
 xserver-xorg-input-all-hwe-16.04 X.Org X server -- input driver metapackage
 xserver-xorg-input-evdev-hwe-16.04 X.Org X server -- evdev input driver
 xserver-xorg-input-synaptics-hwe-16.04 Synaptics TouchPad driver for X.Org ser
 xserver-xorg-input-wacom-hwe-16.04 X.Org X server -- Wacom input driver
 xserver-xorg-legacy-hwe-16.04 setuid root Xorg server wrapper
 xserver-xorg-video-amdgpu-hwe-16.04 X.Org X server -- AMDGPU display driver
 xserver-xorg-video-qxl-hwe-16.04 X.Org X server -- QXL display driver
 xserver-xorg-video-vesa-hwe-16.04 X.Org X server -- VESA display driver

The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
 appmenu-qt5 application menu for Qt5
 build-essential Informational list of build-essential packages
 checkbox-converged testing tool for all Ubuntu devices
 checkbox-gui QML based interface for checkbox (transitional package)
 folks-common library to aggregates people into metacontacts (common fi
 g++ GNU C++ compiler
 g++-5 GNU C++ compiler
 gir1.2-gst-plugins-base-1.0 GObject introspection data for the GStreamer Plugi
 gir1.2-gstreamer-1.0 GObject introspection data for the GStreamer library
 gir1.2-mutter-3.0 GObject introspection data for Mutter
 gir1.2-soup-2.4 GObject introspection data for the libsoup HTTP library
 gir1.2-totem-plparser-1.0:i386 GObject introspection data for the Totem Playlist Pa
 gnome-contacts Contacts manager for GNOME
 gnome-software Software Center for GNOME
 grilo-plugins-0.2-base:i386 Framework for discovering and browsing media - Base Plu
 gstreamer1.0-plugins-bad-faad:i386 GStreamer faad plugin from the "bad" set
 gstreamer1.0-plugins-bad-videoparsers:i386 GStreamer videoparsers plugin from the "
 kerneloops-daemon kernel oops tracker
 libabw-0.1-1v5:i386 library for reading and writing AbiWord(tm) documents
 libass5:i386 library for SSA/ASS subtitles rendering
 libavcodec-ffmpeg56:i386 FFmpeg library with de/encoders for audio/video codecs -
 libavdevice-ffmpeg56:i386 FFmpeg library for handling input and output devices - ru
 libavfilter-ffmpeg5:i386 FFmpeg library containing media filters - runtime files
 libavformat-ffmpeg56:i386 FFmpeg library with (de)muxers for multimedia containers
 libavresample-ffmpeg2:i386 FFmpeg compatibility library for resampling - runtime fi
 libavutil-ffmpeg54:i386 FFmpeg library with functions for simplifying programming
 libbabeltrace-ctf1:i386 Common Trace Format (CTF) library
 libbluray1:i386 Blu-ray disc playback support library (shared library)
 libcapnp-0.5.3:i386 Cap'n Proto C++ library
 libchromaprint0:i386 audio fingerprint library
 libcmis-0.5-5v5:i386 CMIS protocol client library
 libdbusmenu-qt5:i386 Qt5 implementation of the DBusMenu protocol
 libdfu1:i386 Firmware update daemon library for DFU support
 libdirectfb-1.2-9:i386 direct frame buffer graphics - shared libraries
 libdleyna-connector-dbus-1.0-1:i386 DBus connector module for the dLeyna services
 libdleyna-core-1.0-3:i386 Utility functions for higher level dLeyna components
 libdouble-conversion1v5:i386 routines to convert IEEE floats to and from strings
 libfolks-eds25:i386 Evolution-data-server backend for libfolks
 libfolks-telepathy25:i386 Telepathy backend for libfolks
 libfolks25:i386 library to aggregates people into metacontacts
 libgjs0e Mozilla-based javascript bindings for the GNOME platform
 libguess1:i386 high-speed character set detection library
 libhardware2 Library to provide access to the Android libhardware HAL
 libhybris Allows to run bionic-based HW adaptations in glibc system
 libhybris-common1 Common library that contains the Android linker and custo
 libiso9660-8:i386 library to work with ISO9660 filesystems
 liblircclient0:i386 infra-red remote control support - client library
 liblivemedia50:i386 multimedia RTSP streaming library
 libllvm6.0:i386 Modular compiler and toolchain technologies, runtime libr
 libmagickcore-6.q16-2:i386 low-level image manipulation library -- quantum depth Q1
 libmagickcore-6.q16-2-extra:i386 low-level image manipulation library - extra codec
 libmagickwand-6.q16-2:i386 image manipulation library
 libmedia1 Library to provide access to the Android Media HAL
 libmetacity-private3a:i386 library for the Metacity window manager
 libmimic0:i386 A video codec for Mimic V2.x content
 libmozjs-24-0v5 Spidermonkey JavaScript engine
 libmutter0g window manager library from the Mutter window manager
 libnss3-1d:i386 Network Security Service libraries - transitional package
 libnss3-nssdb Network Security Security libraries - shared databases
 libopencv-calib3d2.4v5:i386 computer vision Camera Calibration library
 libopencv-contrib2.4v5:i386 computer vision contrib library
 libopencv-core2.4v5:i386 computer vision core library
 libopencv-features2d2.4v5:i386 computer vision Feature Detection and Descriptor Ext
 libopencv-flann2.4v5:i386 computer vision Clustering and Search in Multi-Dimensiona
 libopencv-highgui2.4v5:i386 computer vision High-level GUI and Media I/O library
 libopencv-imgproc2.4v5:i386 computer vision Image Processing library
 libopencv-legacy2.4v5:i386 computer vision legacy library
 libopencv-ml2.4v5:i386 computer vision Machine Learning library
 libopencv-objdetect2.4v5:i386 computer vision Object Detection library
 libopencv-video2.4v5:i386 computer vision Video analysis library
 libopenjpeg5:i386 JPEG 2000 image compression/decompression library - runti
 liboxideqt-qmlplugin:i386 Web browser engine for Qt (QML plugin)
 liboxideqtcore0:i386 Web browser engine for Qt (core library and components)
 liboxideqtquick0:i386 Web browser engine for Qt (QtQuick library)
 libpeas-1.0-0-python3loader Application plugin library
 libperl5.22:i386 shared Perl library
 libpostproc-ffmpeg53:i386 FFmpeg library for post processing - runtime files
 librubberband2v5:i386 audio time-stretching and pitch-shifting library
 libsane:i386 API library for scanners
 libschroedinger-1.0-0:i386 library for encoding/decoding of Dirac video streams
 libsidplay2v5 SID (MOS 6581) emulation library
 libsodium18:i386 Network communication, cryptography and signaturing libra
 libstdc++-5-dev:i386 GNU Standard C++ Library v3 (development files)
 libswresample-ffmpeg1:i386 FFmpeg library for audio resampling, rematrixing etc. -
 libswscale-ffmpeg3:i386 FFmpeg library for image scaling and various conversions
 libtbb2:i386 parallelism library for C++ - runtime files
 libubuntugestures5:i386 Ubuntu gestures library for Ubuntu UI Toolkit
 libubuntutoolkit5:i386 Ubuntu toolkit common library for Ubuntu UI Toolkit
 libunity-webapps0:i386 Web Apps integration with the Unity desktop
 libva-drm1:i386 Video Acceleration (VA) API for Linux -- DRM runtime
 libva-wayland1:i386 Video Acceleration (VA) API for Linux -- Wayland runtime
 libva-x11-1:i386 Video Acceleration (VA) API for Linux -- X11 runtime
 libva1:i386 Video Acceleration (VA) API for Linux -- runtime
 libvcdinfo0 library to extract information from VideoCD
 libvlc5 multimedia player and streamer library
 libvlccore8 base library for VLC and its modules
 libwebpdemux1:i386 Lossy compression of digital photographic images.
 libwildmidi1:i386 software MIDI player library
 libx264-148:i386 x264 video coding library
 libx265-79:i386 H.265/HEVC video stream encoder (shared library)
 linux-image-4.15.0-45-generic Linux kernel image for version 4.15.0 on 32 bit
 perl-modules-5.22 Core Perl modules
 pulseaudio-module-x11 X11 module for PulseAudio sound server
 python3-aptdaemon.pkcompat PackageKit compatibilty for AptDaemon
 python3-cairo Python 3 bindings for the Cairo vector graphics library
 python3-lxml pythonic binding for the libxml2 and libxslt libraries
 qml-module-ubuntu-components:i386 Qt Components for Ubuntu - Components QML plugin
 qml-module-ubuntu-layouts:i386 Qt Components for Ubuntu - Layouts QML plugin
 qml-module-ubuntu-test:i386 Qt Components for Ubuntu - Test QML plugin
 qml-module-ubuntu-web:i386 Ubuntu web QML module
 qtdeclarative5-ubuntu-ui-toolkit-plugin Transitional dummy package for Ubuntu
 remmina-plugin-rdp RDP plugin for remmina remote desktop client
 remmina-plugin-vnc VNC plugin for remmina remote desktop client
 ubuntu-desktop The Ubuntu desktop system
 ubuntu-software Utility for browsing, installing, and removing software
 unity-control-center-faces utilities to configure the GNOME desktop - faces im
 unity-webapps-common Unity WebApp integration scripts
 unity-webapps-qml Unity Webapps QML component
 unity-webapps-service Service for Web Apps integration with the Unity desktop
 upstart event-based init daemon - essential binaries
 vlc-nox multimedia player and streamer (without X support)
 vlc-plugin-notify LibNotify plugin for VLC
 vlc-plugin-samba Samba plugin for VLC
 webapp-container Ubuntu web applications container
 webbrowser-app Ubuntu web browser
 xserver-xorg-input-all-hwe-16.04 X.Org X server -- input driver metapackage
 xserver-xorg-input-evdev-hwe-16.04 X.Org X server -- evdev input driver
 xserver-xorg-input-synaptics-hwe-16.04 Synaptics TouchPad driver for X.Org ser
 xserver-xorg-input-wacom-hwe-16.04 X.Org X server -- Wacom input driver
 xserver-xorg-legacy-hwe-16.04 setuid root Xorg server wrapper
 xserver-xorg-video-amdgpu-hwe-16.04 X.Org X server -- AMDGPU display driver
 xserver-xorg-video-qxl-hwe-16.04 X.Org X server -- QXL display driver
 xserver-xorg-video-vesa-hwe-16.04 X.Org X server -- VESA display driver

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What is the output of:

uname -a; dpkg -l | grep linux-image

Thanks

Revision history for this message
surendra (surendra-mum) said :
#4

root@ubuntu:/# uname -a
Linux ubuntu 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:19 UTC 2019 i686 i686 i686 GNU/Linux

root@ubuntu:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

root@ubuntu:/# dpkg --list | grep linux-image
pHR linux-image-4.15.0-45-generic 4.15.0-45.48~16.04.1 i386 Linux kernel image for version 4.15.0 on 32 bit x86 SMP
rHR linux-image-4.15.0-99-generic 4.15.0-99.100~16.04.1 i386 Linux kernel image for version 4.15.0 on 32 bit x86 SMP
ri linux-image-generic-hwe-16.04 4.15.0.99.106 i386 Generic Linux kernel image

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

Try the command

sudo apt install --reinstall linux-image-4.15.0-99-generic

and report the results

Revision history for this message
surendra (surendra-mum) said :
#6

Tried this command long back Manfred & for whole day was looking at solution to restore the broken install which was interpreted due to frequent dis-connection of internet. Anyway i had re installed 16.04.6 everything again from live usb & not upgraded to 18.04.4.

Revision history for this message
surendra (surendra-mum) said :
#7

Thanks guys for being at back end support & providing solutions to every query.

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

If the problem has been resolved, then please set the status of this question document to "solved".

Revision history for this message
surendra (surendra-mum) said :
#9

Manfred just upgraded to 18.04.4 & while re booting i am getting "Please enter passphare for disk ----- crypto swap". It won't login and unable to enter passphare that show on boot screen. stuck again.

Revision history for this message
surendra (surendra-mum) said :
#10

 Is this a bug as after login it ask for pass phrase to show "32" letter decrypt. How can i resolve this from live usb.

Revision history for this message
surendra (surendra-mum) said :
#11

ubuntu@ubuntu:/$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 1024M 0 rom
sdg 8:96 1 29.3G 0 disk
└─sdg1 8:97 1 29.3G 0 part /cdrom
loop0 7:0 0 1.5G 1 loop /rofs
sda 8:0 0 931.5G 0 disk
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 3.8G 0 part [SWAP]
├─sda3 8:3 0 814.6G 0 part /media/ubuntu/122EE02E2CA73AE0
├─sda1 8:1 0 75G 0 part /media/ubuntu/C4008467008461F2
└─sda6 8:6 0 38.2G 0 part /mnt

ubuntu@ubuntu:/$ blkid
/dev/sda1: UUID="C4008467008461F2" TYPE="ntfs" PARTUUID="8e118e11-01"
/dev/sda3: UUID="122EE02E2CA73AE0" TYPE="ntfs" PARTUUID="8e118e11-03"
/dev/sda6: UUID="8108851f-3b94-43a7-b866-16a4ec05bf4a" TYPE="ext4" PARTUUID="8e118e11-06"
/dev/sdg1: LABEL="UUI" UUID="A0B5-FABB" TYPE="vfat" PARTUUID="d7973863-01

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

Try disabling the encrypted swap partition as described in https://askubuntu.com/questions/1032187/wont-boot-after-upgrade-18-04-encrypted-swap

Revision history for this message
surendra (surendra-mum) said :
#13

Did the above disabling & now it won't show the login but goes on with boot screen of Ubuntu. Tried to rescue through grub menu but when the screen appears than everything is locked -- keyboard, mouse, display manger as it run a process behind to lock this. Stuck with no option to see this work. Booted Live usb, went to root & checked every thing as it worked ok.

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

What exactly happens when you try booting from the hard disk?

Revision history for this message
surendra (surendra-mum) said :
#15

root@ubuntu:/# uname -a
Linux ubuntu 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:19 UTC 2019 i686 i686 i686 GNU/Linux

root@ubuntu:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

root@ubuntu:/# apt-get update
Hit:1 http://archive.canonical.com/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done

root@ubuntu:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@ubuntu:/# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@ubuntu:/# sudo dpkg --configure -a
root@ubuntu:/# sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:/# sudo dpkg --audit
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
 thermald Thermal monitoring and controlling daemon

root@ubuntu:/# sudo apt-get install thermald
Reading package lists... Done
Building dependency tree
Reading state information... Done
thermald is already the newest version (1.7.0-5ubuntu5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@ubuntu:/# dpkg --list | grep linux-image
ii linux-image-4.15.0-101-generic 4.15.0-101.102 i386 Linux kernel image for version 4.15.0 on 32 bit x86 SMP
ii linux-image-4.15.0-99-generic 4.15.0-99.100 i386 Linux kernel image for version 4.15.0 on 32 bit x86 SMP
ii linux-image-generic-hwe-16.04 4.15.0.101.108 i386 Generic Linux kernel image

root@ubuntu:/# dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3 | column -t"}'
ii linux-headers-4.15.0-101 4.15.0-101.102 all
ii linux-headers-4.15.0-101-generic 4.15.0-101.102 i386
ii linux-image-4.15.0-101-generic 4.15.0-101.102 i386
ii linux-modules-4.15.0-101-generic 4.15.0-101.102 i386
ii linux-modules-extra-4.15.0-101-generic 4.15.0-101.102 i386
ii linux-generic-hwe-16.04 4.15.0.101.108 i386
ii linux-headers-generic-hwe-16.04 4.15.0.101.108 i386
ii linux-image-generic-hwe-16.04 4.15.0.101.108 i386
ii linux-headers-4.15.0-99 4.15.0-99.100 all
ii linux-headers-4.15.0-99-generic 4.15.0-99.100 i386
ii linux-image-4.15.0-99-generic 4.15.0-99.100 i386
ii linux-modules-4.15.0-99-generic 4.15.0-99.100 i386
ii linux-modules-extra-4.15.0-99-generic 4.15.0-99.100 i386

Revision history for this message
surendra (surendra-mum) said :
#16

it stuck & don't go to login screen --- display manager, keyboard locked,

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

What exactly happens when you try booting from the hard disk?

Please describe from the beginning:
Is it immediately stuck, or do you get the grub menu and the Ubuntu logo with the dots before?
How do you know that the keyboard is locked?
Can you use recovery mode from the grub menu?
Can you switch to a virtual terminal with ctrl-alt-F3/4/5...

Revision history for this message
surendra (surendra-mum) said :
#18

Get grub menu & try to boot. Keyboard don't know how it locks but behind boot process it show display manager, keyboard process which get it locked. Don't know how.

Revision history for this message
surendra (surendra-mum) said :
#19

Ya i told you from grub recovery mode too it locks keyboard & all other things. won't able to move cursor to clean, dpkg repair, fsck or all other options. I haven't tried that option of virtual terminal with ctrl-alt-F3/4/5...

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

I am sorry, but I cannot understand your description.

Revision history for this message
surendra (surendra-mum) said :
#21

Grub menu appears with options to boot windows or Ubuntu. Normal boot start with no login screen appears but stuck in process. Here keyboard locks as no way to further.

Grub menu with boot options appears to go in recovery mode. Here in process it locks keyboard as on screen it show all process 1 of 4 where it locks every thing. As the display come to all options of recovery menu no keyboard function.

So everything stuck & only option to use Live Ubuntu cd.

Revision history for this message
surendra (surendra-mum) said :
#22

Had searched related issue & after many changes i was able to get the "login" screen but problem persist as login screen freeze, keyboard, mouse not working. Alt+Ctrl+F1 to F6 key too not working. searched related issue & tried many option to install xorg, other packages which is already installed in system. swap reformatted & Installed new grub menu. But stuck on login screen freeze where keyboard, mouse don't work.

Revision history for this message
Launchpad Janitor (janitor) said :
#23

This question was expired because it remained in the 'Open' state without activity for the last 15 days.